Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 600b345c4ddd8b04ee0467be32d13d66a65c3080..1e1bf1a389739de87538a78481a50a6e13010b54 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -40,6 +40,8 @@ public: |
GrGLSLGeneration glslGeneration() const { return fGLContext.glslGeneration(); } |
const GrGLCaps& glCaps() const { return *fGLContext.caps(); } |
+ virtual void discard(GrRenderTarget*) SK_OVERRIDE; |
+ |
// Used by GrGLProgram and GrGLTexGenProgramEffects to configure OpenGL state. |
void bindTexture(int unitIdx, const GrTextureParams& params, GrGLTexture* texture); |
void setProjectionMatrix(const SkMatrix& matrix, |