aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-05-25 19:28:22 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-25 20:03:07 +0000
commit1c214313248a4b5a69af14539608c54fb67c2bf8 (patch)
treefaf812c90879556ed195f2556be389b10d5bda40 /include
parent33fa454b1645610f5d69f635e35831e4344a9eb0 (diff)
Revert "Clear atlas textures at creation in Chrome"
This reverts commit 8785df15fe5a57651597d138d3c5aea0ffe3f661. Reason for revert: Chrome bug Bug: chromium:726226 Original change's description: > Clear atlas textures at creation in Chrome > > Bug: chromium:656320 > Change-Id: Ia65274aa733f199be188579821e745920493aefc > Reviewed-on: https://skia-review.googlesource.com/17824 > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> > TBR=bsalomon@google.com,robertphillips@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:656320 Change-Id: Ibc4dd7f184866b58481f2dc7e7e88da9169e7adc Reviewed-on: https://skia-review.googlesource.com/17988 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrCaps.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index e6034c52af..4dc776734e 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -176,8 +176,6 @@ public:
/** True in environments that will issue errors if memory uploaded to buffers
is not initialized (even if not read by draw calls). */
bool mustClearUploadedBufferData() const { return fMustClearUploadedBufferData; }
- /** True when there is a performance cost to using an atlas that has not been cleared. */
- bool mustClearAtlases() const { return fMustClearAtlases; }
bool wireframeMode() const { return fWireframeMode; }
@@ -221,7 +219,6 @@ protected:
bool fPreferClientSideDynamicBuffers : 1;
bool fFullClearIsFree : 1;
bool fMustClearUploadedBufferData : 1;
- bool fMustClearAtlases : 1;
// Driver workaround
bool fUseDrawInsteadOfClear : 1;