Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: gpu/command_buffer/common/gl_mock.h

Issue 6677105: Redirect Skia/Ganesh GL calls to Mesa during the layout tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add GL mock functions. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/gfx/gl/gl_interface.h ('k') | skia/skia.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gl_mock.h
===================================================================
--- gpu/command_buffer/common/gl_mock.h (revision 78688)
+++ gpu/command_buffer/common/gl_mock.h (working copy)
@@ -260,6 +260,8 @@
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 @@
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));
« no previous file with comments | « app/gfx/gl/gl_interface.h ('k') | skia/skia.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698