• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Auto-generated with: android/scripts/gen-entries.py --mode=translator_passthrough stream-servers/OpenGLESDispatch/gles32_only.entries --output=stream-servers/glestranslator/GLES_V2/GLESv32Imp.cpp
2 // This file is best left unedited.
3 // Try to make changes through gen_translator in gen-entries.py,
4 // and/or parcel out custom functionality in separate code.
glDebugMessageControl(GLenum source,GLenum type,GLenum severity,GLsizei count,const GLuint * ids,GLboolean enabled)5 GL_APICALL void GL_APIENTRY glDebugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled) {
6     GET_CTX_V2();
7     SET_ERROR_IF_DISPATCHER_NOT_SUPPORT(glDebugMessageControl);
8     ctx->dispatcher().glDebugMessageControl(source, type, severity, count, ids, enabled);
9 }
10 
glDebugMessageInsert(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar * buf)11 GL_APICALL void GL_APIENTRY glDebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* buf) {
12     GET_CTX_V2();
13     SET_ERROR_IF_DISPATCHER_NOT_SUPPORT(glDebugMessageInsert);
14     ctx->dispatcher().glDebugMessageInsert(source, type, id, severity, length, buf);
15 }
16 
glDebugMessageCallback(GLDEBUGPROC callback,const void * userParam)17 GL_APICALL void GL_APIENTRY glDebugMessageCallback(GLDEBUGPROC callback, const void* userParam) {
18     GET_CTX_V2();
19     SET_ERROR_IF_DISPATCHER_NOT_SUPPORT(glDebugMessageCallback);
20     ctx->dispatcher().glDebugMessageCallback(callback, userParam);
21 }
22 
glGetDebugMessageLog(GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog)23 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLog(GLuint count, GLsizei bufSize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, GLchar* messageLog) {
24     GET_CTX_V2_RET(0);
25     RET_AND_SET_ERROR_IF_DISPATCHER_NOT_SUPPORT(glGetDebugMessageLog, 0);
26     GLuint glGetDebugMessageLogRET = ctx->dispatcher().glGetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog);
27     return glGetDebugMessageLogRET;
28 }
29 
glPushDebugGroup(GLenum source,GLuint id,GLsizei length,const GLchar * message)30 GL_APICALL void GL_APIENTRY glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar* message) {
31     GET_CTX_V2();
32     SET_ERROR_IF_DISPATCHER_NOT_SUPPORT(glPushDebugGroup);
33     ctx->dispatcher().glPushDebugGroup(source, id, length, message);
34 }
35 
glPopDebugGroup()36 GL_APICALL void GL_APIENTRY glPopDebugGroup() {
37     GET_CTX_V2();
38     SET_ERROR_IF_DISPATCHER_NOT_SUPPORT(glPopDebugGroup);
39     ctx->dispatcher().glPopDebugGroup();
40 }
41