Index: ui/gfx/gl/gl_bindings_skia_in_process.cc |
=================================================================== |
--- ui/gfx/gl/gl_bindings_skia_in_process.cc (revision 95237) |
+++ ui/gfx/gl/gl_bindings_skia_in_process.cc (working copy) |
@@ -164,6 +164,14 @@ |
glDrawArrays(mode, first, count); |
} |
+GLvoid StubGLDrawBuffer(GLenum mode) { |
+ glDrawBuffer(mode); |
+} |
+ |
+GLvoid StubGLDrawBuffers(GLsizei n, const GLenum* bufs) { |
+ glDrawBuffersARB(n, bufs); |
+} |
+ |
GLvoid StubGLDrawElements(GLenum mode, GLsizei count, GLenum type, |
const void* indices) { |
glDrawElements(mode, count, type, indices); |
@@ -280,6 +288,10 @@ |
glPixelStorei(pname, param); |
} |
+GLvoid StubGLReadBuffer(GLenum src) { |
+ glReadBuffer(src); |
+} |
+ |
GLvoid StubGLReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, |
GLenum format, GLenum type, void* pixels) { |
glReadPixels(x, y, width, height, format, type, pixels); |
@@ -519,6 +531,8 @@ |
NULL, // glDisableClientState |
StubGLDisableVertexAttribArray, |
StubGLDrawArrays, |
+ StubGLDrawBuffer, |
+ StubGLDrawBuffers, |
StubGLDrawElements, |
StubGLEnable, |
NULL, // glEnableClientState |
@@ -542,6 +556,7 @@ |
NULL, // glMatrixMode |
StubGLPixelStorei, |
NULL, // glPointSize |
+ StubGLReadBuffer, |
StubGLReadPixels, |
StubGLScissor, |
NULL, // glShadeModel |