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

Unified Diff: ui/gl/gl_mock_autogen_gl.h

Issue 2801783002: Revert of Update robust read pixels to output number of columns and rows written. (Closed)
Patch Set: Created 3 years, 8 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 | « ui/gl/gl_mock.h ('k') | ui/gl/gl_stub_autogen_gl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_mock_autogen_gl.h
diff --git a/ui/gl/gl_mock_autogen_gl.h b/ui/gl/gl_mock_autogen_gl.h
index 60d1d2ee77682d25de4b9ddaa63f86b5467c90c3..82525d6660523d68b54adb9a5fc26767e794f854 100644
--- a/ui/gl/gl_mock_autogen_gl.h
+++ b/ui/gl/gl_mock_autogen_gl.h
@@ -865,8 +865,16 @@
MOCK_METHOD2(PushGroupMarkerEXT, void(GLsizei length, const char* marker));
MOCK_METHOD2(QueryCounter, void(GLuint id, GLenum target));
MOCK_METHOD1(ReadBuffer, void(GLenum src));
-// TODO(zmo): crbug.com/456340
-// glReadnPixelsRobustANGLE cannot be mocked because it has 11 args.
+MOCK_METHOD9(ReadnPixelsRobustANGLE,
+ void(GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLsizei bufSize,
+ GLsizei* length,
+ void* data));
MOCK_METHOD7(ReadPixels,
void(GLint x,
GLint y,
@@ -875,8 +883,16 @@
GLenum format,
GLenum type,
void* pixels));
-// TODO(zmo): crbug.com/456340
-// glReadPixelsRobustANGLE cannot be mocked because it has 11 args.
+MOCK_METHOD9(ReadPixelsRobustANGLE,
+ void(GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLsizei bufSize,
+ GLsizei* length,
+ void* pixels));
MOCK_METHOD0(ReleaseShaderCompiler, void());
MOCK_METHOD4(
RenderbufferStorageEXT,
« no previous file with comments | « ui/gl/gl_mock.h ('k') | ui/gl/gl_stub_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698