From 2416c5697575c682f30c542ebef908892b09cdae Mon Sep 17 00:00:00 2001 From: "apatrick@chromium.org" Date: Wed, 26 Jan 2011 19:39:20 +0000 Subject: Exposed GL_NV_fence bindings to GPU process. TEST=try, call GL_NV_fence functions BUG=none Review URL: http://codereview.chromium.org/6313013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72667 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/command_buffer/common/gl_mock.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gpu/command_buffer') diff --git a/gpu/command_buffer/common/gl_mock.h b/gpu/command_buffer/common/gl_mock.h index 20f990c..7519fc2 100644 --- a/gpu/command_buffer/common/gl_mock.h +++ b/gpu/command_buffer/common/gl_mock.h @@ -408,6 +408,20 @@ class MockGLInterface : public GLInterface { MOCK_METHOD4(GetMaxValueInBufferCHROMIUM, GLuint( GLuint buffer_id, GLsizei count, GLenum type, GLuint offset)); + + MOCK_METHOD2(GenFencesNV, void(GLsizei n, GLuint *fences)); + + MOCK_METHOD2(DeleteFencesNV, void(GLsizei n, const GLuint *fences)); + + MOCK_METHOD2(SetFenceNV, void(GLuint fence, GLenum condition)); + + MOCK_METHOD1(TestFenceNV, GLboolean(GLuint fence)); + + MOCK_METHOD1(FinishFenceNV, void(GLuint fence)); + + MOCK_METHOD1(IsFenceNV, GLboolean(GLuint fence)); + + MOCK_METHOD3(GetFenceivNV, void(GLuint fence, GLenum pname, GLint *params)); }; } // namespace gfx -- cgit v1.1