aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
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/gl
parent088302756bde25083d6712b18dcd24644d4dcdbb (diff)
Add stencil buffer create tracking to GPU stats.
Diffstat (limited to 'src/gpu/gl')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 9c0f772f41..a952c4f768 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -1172,7 +1172,7 @@ bool GrGLGpu::createStencilBufferForRenderTarget(GrRenderTarget* rt, int width,
created = (GR_GL_NO_ERROR == check_alloc_error(rt->desc(), this->glInterface()));
}
if (created) {
-
+ fStats.incStencilBufferCreates();
// After sized formats we attempt an unsized format and take
// whatever sizes GL gives us. In that case we query for the size.
GrGLStencilBuffer::Format format = sFmt;