Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 5b29b9e8b5d28b58b21f62c74a00cf68facf1c0b..bca347dbea6edf206e0a30b53def318c554cc13d 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -1063,6 +1063,7 @@ void GrDrawTargetCaps::reset() { |
fGpuTracingSupport = false; |
fCompressedTexSubImageSupport = false; |
fOversizedStencilSupport = false; |
+ fTextureBarrierSupport = false; |
fUseDrawInsteadOfClear = false; |
@@ -1093,6 +1094,7 @@ GrDrawTargetCaps& GrDrawTargetCaps::operator=(const GrDrawTargetCaps& other) { |
fGpuTracingSupport = other.fGpuTracingSupport; |
fCompressedTexSubImageSupport = other.fCompressedTexSubImageSupport; |
fOversizedStencilSupport = other.fOversizedStencilSupport; |
+ fTextureBarrierSupport = other.fTextureBarrierSupport; |
fUseDrawInsteadOfClear = other.fUseDrawInsteadOfClear; |
@@ -1175,6 +1177,7 @@ SkString GrDrawTargetCaps::dump() const { |
r.appendf("Gpu Tracing Support : %s\n", gNY[fGpuTracingSupport]); |
r.appendf("Compressed Update Support : %s\n", gNY[fCompressedTexSubImageSupport]); |
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("Max Texture Size : %d\n", fMaxTextureSize); |