Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index c4011e73142116d6156ccaca204468aa9f856efd..dac7443d17123535c5e4fd9595c6b3f5fd38d53e 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -199,17 +199,6 @@ GrGLProgram* GrGpuGL::ProgramCache::getProgram(const GrGLProgramDesc& desc, |
//////////////////////////////////////////////////////////////////////////////// |
-void GrGpuGL::abandonResources(){ |
- INHERITED::abandonResources(); |
- fProgramCache->abandon(); |
- fHWProgramID = 0; |
- if (this->glCaps().pathRenderingSupport()) { |
- this->glPathRendering()->abandonGpuResources(); |
- } |
-} |
- |
-//////////////////////////////////////////////////////////////////////////////// |
- |
#define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) |
bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstCopy) { |