Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index f548af5f6aabd4cecd853f1c6af289287e478b46..db3487d43874d2d2f40f55e9876cc5d8b8a5c14e 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -26,6 +26,8 @@ |
#define PROGRAM_CACHE_STATS |
#endif |
+class GrGLNameAllocator; |
+ |
class GrGpuGL : public GrGpu { |
public: |
GrGpuGL(const GrGLContext& ctx, GrContext* context); |
@@ -106,6 +108,9 @@ public: |
void notifyTextureDelete(GrGLTexture* texture); |
void notifyRenderTargetDelete(GrRenderTarget* renderTarget); |
+ GrGLuint createGLPathObject(); |
+ void deleteGLPathObject(GrGLuint); |
+ |
protected: |
virtual bool onCopySurface(GrSurface* dst, |
GrSurface* src, |
@@ -459,6 +464,8 @@ private: |
// from our loop that tries stencil formats and calls check fb status. |
int fLastSuccessfulStencilFmtIdx; |
+ SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator; |
+ |
typedef GrGpu INHERITED; |
}; |