diff options
Diffstat (limited to 'gpu/command_buffer/common/gl_mock.h')
-rw-r--r-- | gpu/command_buffer/common/gl_mock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gl_mock.h b/gpu/command_buffer/common/gl_mock.h index 7519fc2..fc20541 100644 --- a/gpu/command_buffer/common/gl_mock.h +++ b/gpu/command_buffer/common/gl_mock.h @@ -260,6 +260,8 @@ class MockGLInterface : public GLInterface { MOCK_METHOD1(LinkProgram, void(GLuint program)); + MOCK_METHOD2(MapBuffer, void*(GLenum target, GLenum access)); + MOCK_METHOD2(PixelStorei, void(GLenum pname, GLint param)); MOCK_METHOD2(PolygonOffset, void(GLfloat factor, GLfloat units)); @@ -376,6 +378,8 @@ class MockGLInterface : public GLInterface { GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)); + MOCK_METHOD1(UnmapBuffer, GLboolean(GLenum target)); + MOCK_METHOD1(UseProgram, void(GLuint program)); MOCK_METHOD1(ValidateProgram, void(GLuint program)); |