diff options
author | 2017-05-31 09:55:04 -0400 | |
---|---|---|
committer | 2017-05-31 14:38:43 +0000 | |
commit | 0cc507d22566bb7e28e5fe21e4b3fc7b682d86a2 (patch) | |
tree | 460ac21731d404377053dbe4755530b49f170d64 /include | |
parent | 59a8b9c12e4b6152f9a5807bd3fd45664de35048 (diff) |
Expand partial render target write pixels workaround.
The workaround is extended in the following ways:
1) It now applies to any texture whose base level has *ever* been attached to a FBO.
2) It applies to Adreno 5xx in addition to Adreno 4xx
3) It applies in the atlas upload code path.
This workaround (and a similar one) are narrowed to GLCaps rather than Caps.
Bug: skia:
Change-Id: Id600e9739bb97bf6766075ea2a987fd2039e53e5
Reviewed-on: https://skia-review.googlesource.com/18150
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrCaps.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h index 4dc776734e..2c780dc51f 100644 --- a/include/gpu/GrCaps.h +++ b/include/gpu/GrCaps.h @@ -53,13 +53,6 @@ public: bool preferClientSideDynamicBuffers() const { return fPreferClientSideDynamicBuffers; } bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; } - bool useDrawInsteadOfPartialRenderTargetWrite() const { - return fUseDrawInsteadOfPartialRenderTargetWrite; - } - - bool useDrawInsteadOfAllRenderTargetWrites() const { - return fUseDrawInsteadOfAllRenderTargetWrites; - } bool preferVRAMUseOverFlushes() const { return fPreferVRAMUseOverFlushes; } @@ -222,8 +215,6 @@ protected: // Driver workaround bool fUseDrawInsteadOfClear : 1; - bool fUseDrawInsteadOfPartialRenderTargetWrite : 1; - bool fUseDrawInsteadOfAllRenderTargetWrites : 1; bool fAvoidInstancedDrawsToFPTargets : 1; bool fAvoidStencilBuffers : 1; |