Chromium Code Reviews| Index: include/gpu/GrContext.h |
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
| index ced251b204a32d4298ec895c373aef0987b84673..b6093c6273171e66ff6afa2d3d1d826b9ec7b128 100644 |
| --- a/include/gpu/GrContext.h |
| +++ b/include/gpu/GrContext.h |
| @@ -824,6 +824,7 @@ public: |
| GrFontCache* getFontCache() { return fFontCache; } |
| GrDrawTarget* getTextTarget(); |
| const GrIndexBuffer* getQuadIndexBuffer() const; |
| + uint64_t getFlushCount() const { return fFlushCount; } |
|
bsalomon
2013/08/13 21:18:28
I think this guy needs some documentation even tho
|
| /** |
| * Stencil buffers add themselves to the cache using addStencilBuffer. findStencilBuffer is |
| @@ -883,6 +884,8 @@ private: |
| SkTDArray<CleanUpData> fCleanUpData; |
| int fMaxTextureSizeOverride; |
| + |
| + uint64_t fFlushCount; |
| GrContext(); // init must be called after the constructor. |
| bool init(GrBackend, GrBackendContext); |