diff options
author | bsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 00:01:26 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 00:01:26 +0000 |
commit | 29159812a0ce0f0f0126c96f0adbaf37559f75dd (patch) | |
tree | 12d36e8cee1e17c2eefdd00c6f0f040b12879a3c /gpu/skia_bindings | |
parent | 173ef47781226b8ab8d0ed035478a3cc135f6ad7 (diff) | |
download | chromium_src-29159812a0ce0f0f0126c96f0adbaf37559f75dd.zip chromium_src-29159812a0ce0f0f0126c96f0adbaf37559f75dd.tar.gz chromium_src-29159812a0ce0f0f0126c96f0adbaf37559f75dd.tar.bz2 |
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
Diffstat (limited to 'gpu/skia_bindings')
-rw-r--r-- | gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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; |