Index: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
index decc23498c1d8680793392813a5e8907de9b21e5..553831d6eff6b3369a56942c6ed7fffeb9147113 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); |