diff options
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index 9ceb706db8..54fe471c88 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -327,6 +327,8 @@ public: return kDrawPath_DrawType == type || kDrawPaths_DrawType == type; } + GrContext::GPUStats* gpuStats() { return &fGPUStats; } + protected: DrawType PrimTypeToDrawType(GrPrimitiveType type) { switch (type) { @@ -364,6 +366,8 @@ protected: GrClipMaskManager fClipMaskManager; + GrContext::GPUStats fGPUStats; + struct GeometryPoolState { const GrVertexBuffer* fPoolVertexBuffer; int fPoolStartVertex; |