summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 19:39:20 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 19:39:20 +0000
commit2416c5697575c682f30c542ebef908892b09cdae (patch)
treea184f16832aecdde32a631d012456173988fbc02 /gpu
parent37fcf26645d37eb47f7b7d08cca28fb43279f092 (diff)
downloadchromium_src-2416c5697575c682f30c542ebef908892b09cdae.zip
chromium_src-2416c5697575c682f30c542ebef908892b09cdae.tar.gz
chromium_src-2416c5697575c682f30c542ebef908892b09cdae.tar.bz2
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
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/common/gl_mock.h14
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