Index: src/gpu/GrCaps.cpp |
diff --git a/src/gpu/GrCaps.cpp b/src/gpu/GrCaps.cpp |
index b7e43d6a114eb873df201c0a8bbf16f39cd10db2..e40057686c52323b76ba36a759ff4539c78370a5 100644 |
--- a/src/gpu/GrCaps.cpp |
+++ b/src/gpu/GrCaps.cpp |
@@ -114,6 +114,8 @@ GrCaps::GrCaps(const GrContextOptions& options) { |
fDrawPathMasksToCompressedTextureSupport = options.fDrawPathToCompressedTexture; |
fGeometryBufferMapThreshold = options.fGeometryBufferMapThreshold; |
fUseDrawInsteadOfPartialRenderTargetWrite = options.fUseDrawInsteadOfPartialRenderTargetWrite; |
+ |
+ fPreferVRAMUseOverFlushes = true; |
bsalomon
2015/08/21 15:41:31
Hmm... our other workarounds are worded the other
robertphillips
2015/08/21 15:47:15
I did it that way at first and found it a bit conf
|
} |
void GrCaps::applyOptionsOverrides(const GrContextOptions& options) { |
@@ -161,6 +163,8 @@ SkString GrCaps::dump() const { |
r.appendf("Draw Instead of Clear [workaround] : %s\n", gNY[fUseDrawInsteadOfClear]); |
r.appendf("Draw Instead of TexSubImage [workaround] : %s\n", |
gNY[fUseDrawInsteadOfPartialRenderTargetWrite]); |
+ r.appendf("Prefer VRAM Use over flushes [workaround] : %s\n", gNY[fPreferVRAMUseOverFlushes]); |
+ |
if (this->advancedBlendEquationSupport()) { |
r.appendf("Advanced Blend Equation Blacklist : 0x%x\n", fAdvBlendEqBlacklist); |
} |