diff options
Diffstat (limited to 'src/gpu/gl/iOS')
-rw-r--r-- | src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp index decc23498c..553831d6ef 100644 --- a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp +++ b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp @@ -150,6 +150,18 @@ const GrGLInterface* GrGLCreateNativeInterface() { functions->fPopGroupMarker = glPopGroupMarkerEXT; #endif +#if GL_ES_VERSION_3_0 || GL_ARB_invalidate_subdata + functions->fInvalidateFramebuffer = glInvalidateFramebuffer; + functions->fInvalidateSubFramebuffer = glInvalidateSubFramebuffer; +#endif + +#if GL_ARB_invalidate_subdata + functions->fInvalidateBufferData = glInvalidateBufferData; + functions->fInvalidateBufferSubData = glInvalidateBufferSubData; + functions->fInvalidateTexImage = glInvalidateTexImage; + functions->fInvalidateTexSubImage = glInvalidateTexSubImage; +#endif + interface->fStandard = kGLES_GrGLStandard; interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetIntegerv); |