diff options
Diffstat (limited to 'src/gpu/gl/unix')
-rw-r--r-- | src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp b/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp index e46309b448..93807637fb 100644 --- a/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp +++ b/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp @@ -278,6 +278,15 @@ const GrGLInterface* GrGLCreateNativeInterface() { GR_GL_GET_PROC_SUFFIX(PopGroupMarker, 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); |