Index: src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
diff --git a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
index 9cde81ce63fe97dddd464f0e3f45dfefb1d47227..fd8be26fe969161043dd397cf6d3fb69a6a39378 100644 |
--- a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
+++ b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
@@ -224,6 +224,15 @@ const GrGLInterface* GrGLCreateMesaInterface() { |
GR_GL_GET_PROC_SUFFIX(PushGroupMarker, EXT); |
} |
+ if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) { |
+ GR_GL_GET_PROC(InvalidateBufferData); |
+ GR_GL_GET_PROC(InvalidateBufferSubData); |
+ GR_GL_GET_PROC(InvalidateFramebuffer); |
+ GR_GL_GET_PROC(InvalidateSubFramebuffer); |
+ GR_GL_GET_PROC(InvalidateTexImage); |
+ GR_GL_GET_PROC(InvalidateTexSubImage); |
+ } |
+ |
interface->fStandard = kGL_GrGLStandard; |
interface->fExtensions.swap(&extensions); |