diff options
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/common/gl_mock.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 |