| Index: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp
|
| diff --git a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp
|
| index 3a6e07a64b76e875afc7e616262ef491b242cb3d..04898d111098a8e46ec2811f2300726a3dc38f9a 100644
|
| --- a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp
|
| +++ b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp
|
| @@ -242,6 +242,15 @@ const GrGLInterface* GrGLCreateNativeInterface() {
|
| GET_PROC_SUFFIX(PopGroupMarker, EXT);
|
| }
|
|
|
| + if (ver >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) {
|
| + GET_PROC(InvalidateBufferData);
|
| + GET_PROC(InvalidateBufferSubData);
|
| + GET_PROC(InvalidateFramebuffer);
|
| + GET_PROC(InvalidateSubFramebuffer);
|
| + GET_PROC(InvalidateTexImage);
|
| + GET_PROC(InvalidateTexSubImage);
|
| + }
|
| +
|
| interface->fExtensions.swap(&extensions);
|
| return interface;
|
| }
|
|
|