Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 9ceb706db876bb0f743a894dd56a519d444a2faa..54fe471c88c2fceccbed9013337333277d8a4e72 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; |