Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / gpu / skia_bindings / gl_bindings_skia_cmd_buffer.cc
index 9803816..2894cf7 100644 (file)
@@ -51,6 +51,7 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() {
   functions->fDepthMask = glDepthMask;
   functions->fDisable = glDisable;
   functions->fDisableVertexAttribArray = glDisableVertexAttribArray;
+  functions->fDiscardFramebuffer = glDiscardFramebufferEXT;
   functions->fDrawArrays = glDrawArrays;
   functions->fDrawElements = glDrawElements;
   functions->fEnable = glEnable;
@@ -73,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;
@@ -109,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;