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

Unified Diff: ui/gl/gl_mock_autogen_gl.h

Issue 2472703003: Load the GL_KHR_debug entry points and log messages they produce. (Closed)
Patch Set: Update window system string Created 4 years, 1 month 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_enums_implementation_autogen.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 74bf64ec4bde0306d6c8890ecc77e32468e38506..231b0192146b1ac0ebdd0e21c10c4bebecd90c0c 100644
--- a/ui/gl/gl_mock_autogen_gl.h
+++ b/ui/gl/gl_mock_autogen_gl.h
@@ -213,6 +213,22 @@ MOCK_METHOD2(CoverStrokePathNV, void(GLuint name, GLenum coverMode));
MOCK_METHOD0(CreateProgram, GLuint());
MOCK_METHOD1(CreateShader, GLuint(GLenum type));
MOCK_METHOD1(CullFace, void(GLenum mode));
+MOCK_METHOD2(DebugMessageCallback,
+ void(GLDEBUGPROC callback, const void* userParam));
+MOCK_METHOD6(DebugMessageControl,
+ void(GLenum source,
+ GLenum type,
+ GLenum severity,
+ GLsizei count,
+ const GLuint* ids,
+ GLboolean enabled));
+MOCK_METHOD6(DebugMessageInsert,
+ void(GLenum source,
+ GLenum type,
+ GLuint id,
+ GLenum severity,
+ GLsizei length,
+ const char* buf));
MOCK_METHOD2(DeleteBuffersARB, void(GLsizei n, const GLuint* buffers));
MOCK_METHOD2(DeleteFencesAPPLE, void(GLsizei n, const GLuint* fences));
MOCK_METHOD2(DeleteFencesNV, void(GLsizei n, const GLuint* fences));
@@ -394,6 +410,15 @@ MOCK_METHOD5(GetBufferPointervRobustANGLE,
GLsizei bufSize,
GLsizei* length,
void** params));
+MOCK_METHOD8(GetDebugMessageLog,
+ void(GLuint count,
+ GLsizei bufSize,
+ GLenum* sources,
+ GLenum* types,
+ GLuint* ids,
+ GLenum* severities,
+ GLsizei* lengths,
+ char* messageLog));
MOCK_METHOD0(GetError, GLenum());
MOCK_METHOD3(GetFenceivNV, void(GLuint fence, GLenum pname, GLint* params));
MOCK_METHOD2(GetFloatv, void(GLenum pname, GLfloat* params));
@@ -477,6 +502,15 @@ MOCK_METHOD5(GetnUniformuivRobustANGLE,
GLsizei bufSize,
GLsizei* length,
GLuint* params));
+MOCK_METHOD5(GetObjectLabel,
+ void(GLenum identifier,
+ GLuint name,
+ GLsizei bufSize,
+ GLsizei* length,
+ char* label));
+MOCK_METHOD4(GetObjectPtrLabel,
+ void(void* ptr, GLsizei bufSize, GLsizei* length, char* label));
+MOCK_METHOD2(GetPointerv, void(GLenum pname, void** params));
MOCK_METHOD4(
GetPointervRobustANGLERobustANGLE,
void(GLenum pname, GLsizei bufSize, GLsizei* length, void** params));
@@ -787,6 +821,11 @@ MOCK_METHOD4(MapBufferRange,
MOCK_METHOD2(MatrixLoadfEXT, void(GLenum matrixMode, const GLfloat* m));
MOCK_METHOD1(MatrixLoadIdentityEXT, void(GLenum matrixMode));
MOCK_METHOD1(MemoryBarrierEXT, void(GLbitfield barriers));
+MOCK_METHOD4(
+ ObjectLabel,
+ void(GLenum identifier, GLuint name, GLsizei length, const char* label));
+MOCK_METHOD3(ObjectPtrLabel,
+ void(void* ptr, GLsizei length, const char* label));
MOCK_METHOD6(PathCommandsNV,
void(GLuint path,
GLsizei numCommands,
@@ -801,6 +840,7 @@ MOCK_METHOD0(PauseTransformFeedback, void());
MOCK_METHOD2(PixelStorei, void(GLenum pname, GLint param));
MOCK_METHOD2(PointParameteri, void(GLenum pname, GLint param));
MOCK_METHOD2(PolygonOffset, void(GLfloat factor, GLfloat units));
+MOCK_METHOD0(PopDebugGroup, void());
MOCK_METHOD0(PopGroupMarkerEXT, void());
MOCK_METHOD1(PrimitiveRestartIndex, void(GLuint index));
MOCK_METHOD4(ProgramBinary,
@@ -816,6 +856,9 @@ MOCK_METHOD5(ProgramPathFragmentInputGenNV,
GLenum genMode,
GLint components,
const GLfloat* coeffs));
+MOCK_METHOD4(
+ PushDebugGroup,
+ void(GLenum source, GLuint id, GLsizei length, const char* message));
MOCK_METHOD2(PushGroupMarkerEXT, void(GLsizei length, const char* marker));
MOCK_METHOD2(QueryCounter, void(GLuint id, GLenum target));
MOCK_METHOD1(ReadBuffer, void(GLenum src));
« no previous file with comments | « ui/gl/gl_enums_implementation_autogen.h ('k') | ui/gl/gl_stub_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698