| Index: src/gpu/gl/GrGLGpu.h
|
| diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
|
| index 9cce41c76da178efcbc836f8a0c23cc41914c9e1..a49ad77c58d0e17dbd24c13080cd8b236fa7d51f 100644
|
| --- a/src/gpu/gl/GrGLGpu.h
|
| +++ b/src/gpu/gl/GrGLGpu.h
|
| @@ -28,6 +28,8 @@ class GrPipeline;
|
| class GrNonInstancedMesh;
|
| class GrSwizzle;
|
|
|
| +namespace gr_instanced { class GLInstancedRendering; }
|
| +
|
| #ifdef SK_DEBUG
|
| #define PROGRAM_CACHE_STATS
|
| #endif
|
| @@ -54,6 +56,8 @@ public:
|
| return static_cast<GrGLPathRendering*>(pathRendering());
|
| }
|
|
|
| + gr_instanced::InstancedRendering* createInstancedRenderingIfSupported() override;
|
| +
|
| void discard(GrRenderTarget*) override;
|
|
|
| // Used by GrGLProgram to configure OpenGL state.
|
| @@ -590,6 +594,7 @@ private:
|
|
|
| typedef GrGpu INHERITED;
|
| friend class GrGLPathRendering; // For accessing setTextureUnit.
|
| + friend class gr_instanced::GLInstancedRendering; // For accessing flushGLState.
|
| };
|
|
|
| #endif
|
|
|