Index: src/gpu/gl/GrGLAssembleInterface.cpp |
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp |
index 3f66c0388a5f73fd057072a92e2f2a4b57007ac1..17667162a08b82ce2980ad5ba020386cd9843b50 100644 |
--- a/src/gpu/gl/GrGLAssembleInterface.cpp |
+++ b/src/gpu/gl/GrGLAssembleInterface.cpp |
@@ -617,11 +617,21 @@ const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get) { |
GET_PROC(FramebufferRenderbuffer); |
GET_PROC(FramebufferTexture2D); |
- if (version >= GR_GL_VER(3,0)) { |
+ if (extensions.has("GL_CHROMIUM_framebuffer_multisample")) { |
+ GET_PROC_SUFFIX(RenderbufferStorageMultisample, CHROMIUM); |
+ GET_PROC_SUFFIX(BlitFramebuffer, CHROMIUM); |
+ } else if (version >= GR_GL_VER(3,0)) { |
GET_PROC(RenderbufferStorageMultisample); |
GET_PROC(BlitFramebuffer); |
} |
+ if (extensions.has("GL_CHROMIUM_map_sub")) { |
+ GET_PROC_SUFFIX(MapBufferSubData, CHROMIUM); |
+ GET_PROC_SUFFIX(MapTexSubImage2D, CHROMIUM); |
+ GET_PROC_SUFFIX(UnmapBufferSubData, CHROMIUM); |
+ GET_PROC_SUFFIX(UnmapTexSubImage2D, CHROMIUM); |
+ } |
+ |
if (extensions.has("GL_EXT_multisampled_render_to_texture")) { |
GET_PROC_SUFFIX(FramebufferTexture2DMultisample, EXT); |
functions->fRenderbufferStorageMultisampleES2EXT = (GrGLRenderbufferStorageMultisampleProc) get(ctx, "glRenderbufferStorageMultisampleEXT"); |