Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index eb8991519dfdc11b608898a5ab335aea0d969fbe..cde0d0884355088f2679f46bf06fdc3495bb5a15 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -1017,6 +1017,7 @@ void GrDrawTargetCaps::reset() { |
fReuseScratchTextures = true; |
fGpuTracingSupport = false; |
fCompressedTexSubImageSupport = false; |
+ f3DTexImageSupport = false; |
fMapBufferFlags = kNone_MapFlags; |
@@ -1043,6 +1044,7 @@ GrDrawTargetCaps& GrDrawTargetCaps::operator=(const GrDrawTargetCaps& other) { |
fReuseScratchTextures = other.fReuseScratchTextures; |
fGpuTracingSupport = other.fGpuTracingSupport; |
fCompressedTexSubImageSupport = other.fCompressedTexSubImageSupport; |
+ f3DTexImageSupport = other.f3DTexImageSupport; |
fMapBufferFlags = other.fMapBufferFlags; |
@@ -1093,6 +1095,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); |