Index: src/gpu/GrCaps.cpp |
diff --git a/src/gpu/GrCaps.cpp b/src/gpu/GrCaps.cpp |
index ba4e10430dfffa977dd1535e084bde99bc2b2f3c..f2e88b01c47d754c89e894fcf62b4580048eae16 100644 |
--- a/src/gpu/GrCaps.cpp |
+++ b/src/gpu/GrCaps.cpp |
@@ -109,6 +109,7 @@ GrCaps::GrCaps(const GrContextOptions& options) { |
fSupressPrints = options.fSuppressPrints; |
fDrawPathMasksToCompressedTextureSupport = options.fDrawPathToCompressedTexture; |
fGeometryBufferMapThreshold = options.fGeometryBufferMapThreshold; |
+ fUseDrawInsteadOfPartialRenderTargetWrite = options.fUseDrawInsteadOfPartialRenderTargetWrite; |
} |
void GrCaps::applyOptionsOverrides(const GrContextOptions& options) { |
@@ -150,6 +151,8 @@ SkString GrCaps::dump() const { |
r.appendf("Oversized Stencil Support : %s\n", gNY[fOversizedStencilSupport]); |
r.appendf("Texture Barrier Support : %s\n", gNY[fTextureBarrierSupport]); |
r.appendf("Draw Instead of Clear [workaround] : %s\n", gNY[fUseDrawInsteadOfClear]); |
+ r.appendf("Draw Instead of TexSubImage [workaround] : %s\n", |
+ gNY[fUseDrawInsteadOfPartialRenderTargetWrite]); |
if (this->advancedBlendEquationSupport()) { |
r.appendf("Advanced Blend Equation Blacklist : 0x%x\n", fAdvBlendEqBlacklist); |
} |