diff options
author | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 02:09:29 +0000 |
---|---|---|
committer | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-19 02:09:29 +0000 |
commit | 1e4dc692612b67c9b79325861539df8d2de526c7 (patch) | |
tree | c4fbac236c0060d65804b1b8bdd3847bbd1a228a /gpu | |
parent | db8dc22b1f97dbff5aabdaec3b84f823bc456958 (diff) | |
download | chromium_src-1e4dc692612b67c9b79325861539df8d2de526c7.zip chromium_src-1e4dc692612b67c9b79325861539df8d2de526c7.tar.gz chromium_src-1e4dc692612b67c9b79325861539df8d2de526c7.tar.bz2 |
Addition of GL-redirecting mechanism for the Skia/GPU back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon
Review URL: http://codereview.chromium.org/6677105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-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)); |