From a9e795eab5f59a52d96b8fdc39351452835f5eb9 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Tue, 23 May 2017 19:02:57 +0000 Subject: Revert "Add a flag to GrSurfaceFlags that requires the texture to be cleared upon creation. " This reverts commit 45e5068a6d10f4e4fd4658824310f8871f02ccf7. Reason for revert: :'( Original change's description: > Add a flag to GrSurfaceFlags that requires the texture to be cleared upon creation. > > Bug: chromium:656320 > > Change-Id: I940bfa24540516ab83a2ed52f761b96eb6ad19f1 > Reviewed-on: https://skia-review.googlesource.com/17391 > Reviewed-by: Greg Daniel > Commit-Queue: Brian Salomon > TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Bug: chromium:656320 Change-Id: I8a4f71537e45f3c4cf37b10b2dc8ee38fe6959ba Reviewed-on: https://skia-review.googlesource.com/17765 Reviewed-by: Brian Salomon Commit-Queue: Brian Salomon --- src/gpu/gl/GrGLCaps.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gpu/gl/GrGLCaps.h') diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index b7273a08b1..3059ea7149 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -360,9 +360,6 @@ public: // Certain Intel GPUs on Mac fail to clear if the glClearColor is made up of only 1s and 0s. bool clearToBoundaryValuesIsBroken() const { return fClearToBoundaryValuesIsBroken; } - /// glClearTex(Sub)Image support - bool clearTextureSupport() const { return fClearTextureSupport; } - // Adreno/MSAA drops a draw on the imagefiltersbase GM if the base vertex param to // glDrawArrays is nonzero. // https://bugs.chromium.org/p/skia/issues/detail?id=6650 @@ -440,7 +437,6 @@ private: bool fSRGBDecodeDisableSupport : 1; bool fSRGBDecodeDisableAffectsMipmaps : 1; bool fClearToBoundaryValuesIsBroken : 1; - bool fClearTextureSupport : 1; bool fDrawArraysBaseVertexIsBroken : 1; uint32_t fBlitFramebufferFlags; -- cgit v1.2.3