Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 3f1d1c806dc0a3fc50e11dbe0942cd4823704c66..d536822fb87570fcfe497750b5002bc537ee5e9c 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -1018,6 +1018,7 @@ void GrDrawTargetCaps::reset() { |
fReuseScratchTextures = true; |
fGpuTracingSupport = false; |
fCompressedTexSubImageSupport = false; |
+ f3DTexImageSupport = false; |
fMapBufferFlags = kNone_MapFlags; |
@@ -1044,6 +1045,7 @@ GrDrawTargetCaps& GrDrawTargetCaps::operator=(const GrDrawTargetCaps& other) { |
fReuseScratchTextures = other.fReuseScratchTextures; |
fGpuTracingSupport = other.fGpuTracingSupport; |
fCompressedTexSubImageSupport = other.fCompressedTexSubImageSupport; |
+ f3DTexImageSupport = other.f3DTexImageSupport; |
fMapBufferFlags = other.fMapBufferFlags; |
@@ -1094,6 +1096,7 @@ SkString GrDrawTargetCaps::dump() const { |
r.appendf("Reuse Scratch Textures : %s\n", gNY[fReuseScratchTextures]); |
r.appendf("Gpu Tracing Support : %s\n", gNY[fGpuTracingSupport]); |
r.appendf("Compressed Update Support : %s\n", gNY[fCompressedTexSubImageSupport]); |
+ r.appendf("3D Texture Support : %s\n", gNY[f3DTexImageSupport]); |
r.appendf("Max Texture Size : %d\n", fMaxTextureSize); |
r.appendf("Max Render Target Size : %d\n", fMaxRenderTargetSize); |
r.appendf("Max Sample Count : %d\n", fMaxSampleCount); |