From 29159812a0ce0f0f0126c96f0adbaf37559f75dd Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 17 Apr 2014 00:01:26 +0000 Subject: Wire GL_CHROMIUM_map_sub functions up to Skia. BUG=skia:2402 Review URL: https://codereview.chromium.org/231993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264358 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gpu/skia_bindings') diff --git a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc index b8079d1..2894cf7 100644 --- a/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc +++ b/gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc @@ -74,6 +74,8 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() { functions->fInsertEventMarker = glInsertEventMarkerEXT; functions->fLineWidth = glLineWidth; functions->fLinkProgram = glLinkProgram; + functions->fMapBufferSubData = glMapBufferSubDataCHROMIUM; + functions->fMapTexSubImage2D = glMapTexSubImage2DCHROMIUM; functions->fPixelStorei = glPixelStorei; functions->fPopGroupMarker = glPopGroupMarkerEXT; functions->fPushGroupMarker = glPushGroupMarkerEXT; @@ -110,6 +112,8 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() { functions->fUniformMatrix2fv = glUniformMatrix2fv; functions->fUniformMatrix3fv = glUniformMatrix3fv; functions->fUniformMatrix4fv = glUniformMatrix4fv; + functions->fUnmapBufferSubData = glUnmapBufferSubDataCHROMIUM; + functions->fUnmapTexSubImage2D = glUnmapTexSubImage2DCHROMIUM; functions->fUseProgram = glUseProgram; functions->fVertexAttrib4fv = glVertexAttrib4fv; functions->fVertexAttribPointer = glVertexAttribPointer; -- cgit v1.1