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

Unified Diff: app/gfx/gl/gl_interface.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_bindings_skia.cc ('k') | gpu/command_buffer/common/gl_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/gl/gl_interface.h
===================================================================
--- app/gfx/gl/gl_interface.h (revision 78688)
+++ app/gfx/gl/gl_interface.h (working copy)
@@ -261,6 +261,8 @@
virtual GLboolean IsTexture(GLuint texture) = 0;
+ virtual void* MapBuffer(GLenum target, GLenum access) = 0;
+
virtual void LineWidth(GLfloat width) = 0;
virtual void LinkProgram(GLuint program) = 0;
@@ -377,6 +379,8 @@
GLint location, GLsizei count, GLboolean transpose,
const GLfloat* value) = 0;
+ virtual GLboolean UnmapBuffer(GLenum target) = 0;
+
virtual void UseProgram(GLuint program) = 0;
virtual void ValidateProgram(GLuint program) = 0;
« no previous file with comments | « app/gfx/gl/gl_bindings_skia.cc ('k') | gpu/command_buffer/common/gl_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698