commit | d9c10cff782e61067fcb242e7372a6db388cf71e | [log] [tgz] |
---|---|---|
author | android-autoroll <android-autoroll@skia-corp.google.com.iam.gserviceaccount.com> | Tue Jul 21 16:38:46 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jul 23 23:03:47 2020 +0000 |
tree | f9435bcfb1061d8007a803d8a017cacc05a2b152 | |
parent | 87b5d7f42b657d8e05d5f7aaa60f1594f23c153d [diff] |
[RESTRICT AUTOMERGE]: Stop discarding stencil buffers on tilers Bug: b/160958008 Test: SystemWebViewShell.apk - Tap 3 dot menu - Tap "Animation test" - Check "Rounded corner" checkbox Roll Skia from b43313646796 to 411090f66974 (1 revision) https://skia.googlesource.com/skia.git/+log/b43313646796..411090f66974 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://skia-autoroll.corp.goog/r/android-next-autoroll Please CC scroggo@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md Change-Id: I64fe28313866b775b2ecf78b111b3fab7623a99b (cherry picked from commit 66302698226902c6dcaf8cb00d7f0ce72a6d0a5a)
diff --git a/src/gpu/GrCaps.h b/src/gpu/GrCaps.h index d98890d..9d7a0c1 100644 --- a/src/gpu/GrCaps.h +++ b/src/gpu/GrCaps.h
@@ -74,9 +74,14 @@ // Should we discard stencil values after a render pass? (Tilers get better performance if we // always load stencil buffers with a "clear" op, and then discard the content when finished.) bool discardStencilValuesAfterRenderPass() const { +#if defined(SK_BUILD_FOR_ANDROID) + // b/160958008 + return false; +#else // This method is actually just a duplicate of preferFullscreenClears(), with a descriptive // name for the sake of readability. return this->preferFullscreenClears(); +#endif } bool preferVRAMUseOverFlushes() const { return fPreferVRAMUseOverFlushes; }