From 9e5fc72d638af5740b0b12a0ec12cf1f561f6a4d Mon Sep 17 00:00:00 2001 From: bsalomon Date: Mon, 23 Feb 2015 10:01:36 -0800 Subject: Add stencil buffer create tracking to GPU stats. Review URL: https://codereview.chromium.org/949953002 --- src/gpu/gl/GrGLGpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/gl') 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; -- cgit v1.2.3