Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 5eac42028eaa86441b54a85571c825846f7cf851..a136496ef5fe5836e5ccf7aa921c4837d11a8b91 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -3347,6 +3347,10 @@ void GrGLGpu::deleteTestingOnlyBackendTexture(GrBackendObject id, bool abandonTe |
#endif |
} |
+void GrGLGpu::resetShaderCacheForTesting() const { |
+ fProgramCache->abandon(); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
GrGLAttribArrayState* GrGLGpu::HWGeometryState::bindArrayAndBuffersToDraw( |
GrGLGpu* gpu, |