Chromium Code Reviews| Index: src/gpu/GrGpu.h |
| diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
| index 48bb0d6400dd9a52c22ac14fc2302930a45b1027..102e2764c916f8674dd520151add183ff6118de9 100644 |
| --- a/src/gpu/GrGpu.h |
| +++ b/src/gpu/GrGpu.h |
| @@ -340,6 +340,10 @@ public: |
| return kDrawPath_DrawType == type || kDrawPaths_DrawType == type; |
| } |
| +#if GR_GPU_STATS |
| + virtual const GrContext::GPUStats& gpuStats() const = 0; |
|
bsalomon
2014/09/17 18:50:16
Why does this have to be virtual?
|
| +#endif |
| + |
| protected: |
| DrawType PrimTypeToDrawType(GrPrimitiveType type) { |
| switch (type) { |