aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-02-23 10:01:36 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-23 10:01:36 -0800
commit9e5fc72d638af5740b0b12a0ec12cf1f561f6a4d (patch)
tree0be9d80d9a75f6280d4cf1d527b02f82e0a8bdde /src/gpu/GrTest.cpp
parent088302756bde25083d6712b18dcd24644d4dcdbb (diff)
Add stencil buffer create tracking to GPU stats.
Diffstat (limited to 'src/gpu/GrTest.cpp')
-rw-r--r--src/gpu/GrTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
index 9ddc97d834..d5fb532d1c 100644
--- a/src/gpu/GrTest.cpp
+++ b/src/gpu/GrTest.cpp
@@ -72,6 +72,7 @@ void GrGpu::Stats::dump(SkString* out) {
out->appendf("Shader Compilations: %d\n", fShaderCompilations);
out->appendf("Textures Created: %d\n", fTextureCreates);
out->appendf("Texture Uploads: %d\n", fTextureUploads);
+ out->appendf("Stencil Buffer Creates: %d\n", fStencilBufferCreates);
}
#endif