Chromium Code Reviews| Index: include/gpu/GrContext.h |
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
| index 5b25fe4697c80e22176f6daba5220ddd512bd0af..87669252fd066468b955ccda81fda52743986c03 100644 |
| --- a/include/gpu/GrContext.h |
| +++ b/include/gpu/GrContext.h |
| @@ -877,6 +877,8 @@ private: |
| GrIndexBufferAllocPool* fDrawBufferIBAllocPool; |
| GrInOrderDrawBuffer* fDrawBuffer; |
|
robertphillips
2013/10/04 15:28:12
// This is a marker that the various draw calls ca
|
| + bool fFlushToReduceCacheSize; |
| + |
| GrAARectRenderer* fAARectRenderer; |
| GrOvalRenderer* fOvalRenderer; |
| @@ -899,9 +901,10 @@ private: |
| void setupDrawBuffer(); |
| class AutoRestoreEffects; |
| + class AutoCheckFlush; |
| /// Sets the paint and returns the target to draw into. The paint can be NULL in which case the |
| /// draw state is left unmodified. |
| - GrDrawTarget* prepareToDraw(const GrPaint*, BufferedDraw, AutoRestoreEffects*); |
| + GrDrawTarget* prepareToDraw(const GrPaint*, BufferedDraw, AutoRestoreEffects*, AutoCheckFlush*); |
| void internalDrawPath(GrDrawTarget* target, bool useAA, const SkPath& path, |
| const SkStrokeRec& stroke); |