aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrCaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrCaps.h')
-rw-r--r--include/gpu/GrCaps.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 54969c5933..c5789fc0dc 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -133,6 +133,9 @@ public:
bool textureBarrierSupport() const { return fTextureBarrierSupport; }
bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; }
+ bool useDrawInsteadOfPartialTextureWrite() const {
+ return fUseDrawInsteadOfPartialTextureWrite;
+ }
/**
* Indicates the capabilities of the fixed function blend unit.
@@ -220,18 +223,19 @@ protected:
SkAutoTUnref<GrShaderCaps> fShaderCaps;
- bool fNPOTTextureTileSupport : 1;
- bool fMipMapSupport : 1;
- bool fTwoSidedStencilSupport : 1;
- bool fStencilWrapOpsSupport : 1;
- bool fDiscardRenderTargetSupport : 1;
- bool fReuseScratchTextures : 1;
- bool fGpuTracingSupport : 1;
- bool fCompressedTexSubImageSupport : 1;
- bool fOversizedStencilSupport : 1;
- bool fTextureBarrierSupport : 1;
+ bool fNPOTTextureTileSupport : 1;
+ bool fMipMapSupport : 1;
+ bool fTwoSidedStencilSupport : 1;
+ bool fStencilWrapOpsSupport : 1;
+ bool fDiscardRenderTargetSupport : 1;
+ bool fReuseScratchTextures : 1;
+ bool fGpuTracingSupport : 1;
+ bool fCompressedTexSubImageSupport : 1;
+ bool fOversizedStencilSupport : 1;
+ bool fTextureBarrierSupport : 1;
// Driver workaround
- bool fUseDrawInsteadOfClear : 1;
+ bool fUseDrawInsteadOfClear : 1;
+ bool fUseDrawInsteadOfPartialTextureWrite : 1;
BlendEquationSupport fBlendEquationSupport;
uint32_t fAdvBlendEqBlacklist;