diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-07-23 23:04:32 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-07-23 23:04:32 +0000 |
commit | bfe565db8273c20dea06ce7be1a8e994560d7f47 (patch) | |
tree | f9435bcfb1061d8007a803d8a017cacc05a2b152 | |
parent | 87b5d7f42b657d8e05d5f7aaa60f1594f23c153d (diff) | |
parent | d9c10cff782e61067fcb242e7372a6db388cf71e (diff) | |
download | skia-bfe565db8273c20dea06ce7be1a8e994560d7f47.tar.gz |
Merge cherrypicks of [12222001, 12222002, 12222003, 12221903, 12221710, 12221711, 12221712, 12221713, 12221714, 12221715, 12221922] into rvc-releaseandroid-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r1android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r5android-11.0.0_r4android-11.0.0_r3android-11.0.0_r25android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android11-tests-releaseandroid11-s1-releaseandroid11-release
Change-Id: Ib15f5ad051662581ac49d8d38fe4cffa68c5d6f0
-rw-r--r-- | src/gpu/GrCaps.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/GrCaps.h b/src/gpu/GrCaps.h index d98890df17..9d7a0c13a3 100644 --- a/src/gpu/GrCaps.h +++ b/src/gpu/GrCaps.h @@ -74,9 +74,14 @@ public: // 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; } |