Index: src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
diff --git a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
index adc90a4bed550244b2728f895bba889ce2dcdce8..9a237825e986f1576d9fbedb94c8f8bffb6cdbc0 100644 |
--- a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
+++ b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
@@ -305,6 +305,15 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
WGL_SET_PROC_SUFFIX(PopGroupMarker, EXT); |
} |
+ if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) { |
+ WGL_SET_PROC(InvalidateBufferData); |
+ WGL_SET_PROC(InvalidateBufferSubData); |
+ WGL_SET_PROC(InvalidateFramebuffer); |
+ WGL_SET_PROC(InvalidateSubFramebuffer); |
+ WGL_SET_PROC(InvalidateTexImage); |
+ WGL_SET_PROC(InvalidateTexSubImage); |
+ } |
+ |
interface->fStandard = kGL_GrGLStandard; |
interface->fExtensions.swap(&extensions); |