Index: include/gpu/GrContext.h |
=================================================================== |
--- include/gpu/GrContext.h (revision 14037) |
+++ include/gpu/GrContext.h (working copy) |
@@ -28,6 +28,7 @@ |
class GrIndexBuffer; |
class GrIndexBufferAllocPool; |
class GrInOrderDrawBuffer; |
+class GrLayerCache; |
class GrOvalRenderer; |
class GrPath; |
class GrPathRenderer; |
@@ -860,6 +861,7 @@ |
GrGpu* getGpu() { return fGpu; } |
const GrGpu* getGpu() const { return fGpu; } |
GrFontCache* getFontCache() { return fFontCache; } |
+ GrLayerCache* getLayerCache() { return fLayerCache.get(); } |
GrDrawTarget* getTextTarget(); |
const GrIndexBuffer* getQuadIndexBuffer() const; |
@@ -907,6 +909,7 @@ |
GrResourceCache* fTextureCache; |
GrFontCache* fFontCache; |
+ SkAutoTDelete<GrLayerCache> fLayerCache; |
GrPathRendererChain* fPathRendererChain; |
GrSoftwarePathRenderer* fSoftwarePathRenderer; |