summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorvmiura@chromium.org <vmiura@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-30 00:07:18 +0000
committervmiura@chromium.org <vmiura@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-30 00:07:18 +0000
commit6ee592a8809f650e2b4b01f7d7336899f34daf5b (patch)
tree369d6755c936e5a3a6f4c3a3d51bab57559027f3 /gpu
parentf22e4584788e38f3b4b8b03981ac308f83cb3fc0 (diff)
downloadchromium_src-6ee592a8809f650e2b4b01f7d7336899f34daf5b.zip
chromium_src-6ee592a8809f650e2b4b01f7d7336899f34daf5b.tar.gz
chromium_src-6ee592a8809f650e2b4b01f7d7336899f34daf5b.tar.bz2
Update GPU command buffer auto formatting.
Looks like clang-format rules changed. Updating to latest output of: ./gpu/command_buffer/build_gles2_cmd_buffer.py BUG= Review URL: https://codereview.chromium.org/247283005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/client_context_state_impl_autogen.h3
-rw-r--r--gpu/command_buffer/client/gles2_c_lib_autogen.h1202
-rw-r--r--gpu/command_buffer/client/gles2_implementation_autogen.h25
-rw-r--r--gpu/command_buffer/client/gles2_implementation_unittest_autogen.h24
-rw-r--r--gpu/command_buffer/client/gles2_interface_stub_autogen.h25
-rw-r--r--gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h597
-rw-r--r--gpu/command_buffer/client/gles2_trace_implementation_autogen.h25
-rw-r--r--gpu/command_buffer/common/gles2_cmd_format_test_autogen.h406
-rw-r--r--gpu/command_buffer/common/gles2_cmd_ids_autogen.h466
-rw-r--r--gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h3314
-rw-r--r--gpu/command_buffer/service/context_state_impl_autogen.h3
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder_autogen.h28
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h100
-rw-r--r--gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h208
14 files changed, 4454 insertions, 1972 deletions
diff --git a/gpu/command_buffer/client/client_context_state_impl_autogen.h b/gpu/command_buffer/client/client_context_state_impl_autogen.h
index 8396e61..cff14f7 100644
--- a/gpu/command_buffer/client/client_context_state_impl_autogen.h
+++ b/gpu/command_buffer/client/client_context_state_impl_autogen.h
@@ -21,7 +21,8 @@ ClientContextState::EnableFlags::EnableFlags()
sample_alpha_to_coverage(false),
sample_coverage(false),
scissor_test(false),
- stencil_test(false) {}
+ stencil_test(false) {
+}
bool ClientContextState::SetCapabilityState(GLenum cap,
bool enabled,
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 25c7ab4..52582f6 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -69,7 +69,9 @@ void GLES2BufferSubData(GLenum target,
GLenum GLES2CheckFramebufferStatus(GLenum target) {
return gles2::GetGLContext()->CheckFramebufferStatus(target);
}
-void GLES2Clear(GLbitfield mask) { gles2::GetGLContext()->Clear(mask); }
+void GLES2Clear(GLbitfield mask) {
+ gles2::GetGLContext()->Clear(mask);
+}
void GLES2ClearColor(GLclampf red,
GLclampf green,
GLclampf blue,
@@ -79,7 +81,9 @@ void GLES2ClearColor(GLclampf red,
void GLES2ClearDepthf(GLclampf depth) {
gles2::GetGLContext()->ClearDepthf(depth);
}
-void GLES2ClearStencil(GLint s) { gles2::GetGLContext()->ClearStencil(s); }
+void GLES2ClearStencil(GLint s) {
+ gles2::GetGLContext()->ClearStencil(s);
+}
void GLES2ColorMask(GLboolean red,
GLboolean green,
GLboolean blue,
@@ -134,11 +138,15 @@ void GLES2CopyTexSubImage2D(GLenum target,
gles2::GetGLContext()->CopyTexSubImage2D(
target, level, xoffset, yoffset, x, y, width, height);
}
-GLuint GLES2CreateProgram() { return gles2::GetGLContext()->CreateProgram(); }
+GLuint GLES2CreateProgram() {
+ return gles2::GetGLContext()->CreateProgram();
+}
GLuint GLES2CreateShader(GLenum type) {
return gles2::GetGLContext()->CreateShader(type);
}
-void GLES2CullFace(GLenum mode) { gles2::GetGLContext()->CullFace(mode); }
+void GLES2CullFace(GLenum mode) {
+ gles2::GetGLContext()->CullFace(mode);
+}
void GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) {
gles2::GetGLContext()->DeleteBuffers(n, buffers);
}
@@ -157,15 +165,21 @@ void GLES2DeleteShader(GLuint shader) {
void GLES2DeleteTextures(GLsizei n, const GLuint* textures) {
gles2::GetGLContext()->DeleteTextures(n, textures);
}
-void GLES2DepthFunc(GLenum func) { gles2::GetGLContext()->DepthFunc(func); }
-void GLES2DepthMask(GLboolean flag) { gles2::GetGLContext()->DepthMask(flag); }
+void GLES2DepthFunc(GLenum func) {
+ gles2::GetGLContext()->DepthFunc(func);
+}
+void GLES2DepthMask(GLboolean flag) {
+ gles2::GetGLContext()->DepthMask(flag);
+}
void GLES2DepthRangef(GLclampf zNear, GLclampf zFar) {
gles2::GetGLContext()->DepthRangef(zNear, zFar);
}
void GLES2DetachShader(GLuint program, GLuint shader) {
gles2::GetGLContext()->DetachShader(program, shader);
}
-void GLES2Disable(GLenum cap) { gles2::GetGLContext()->Disable(cap); }
+void GLES2Disable(GLenum cap) {
+ gles2::GetGLContext()->Disable(cap);
+}
void GLES2DisableVertexAttribArray(GLuint index) {
gles2::GetGLContext()->DisableVertexAttribArray(index);
}
@@ -178,12 +192,18 @@ void GLES2DrawElements(GLenum mode,
const void* indices) {
gles2::GetGLContext()->DrawElements(mode, count, type, indices);
}
-void GLES2Enable(GLenum cap) { gles2::GetGLContext()->Enable(cap); }
+void GLES2Enable(GLenum cap) {
+ gles2::GetGLContext()->Enable(cap);
+}
void GLES2EnableVertexAttribArray(GLuint index) {
gles2::GetGLContext()->EnableVertexAttribArray(index);
}
-void GLES2Finish() { gles2::GetGLContext()->Finish(); }
-void GLES2Flush() { gles2::GetGLContext()->Flush(); }
+void GLES2Finish() {
+ gles2::GetGLContext()->Finish();
+}
+void GLES2Flush() {
+ gles2::GetGLContext()->Flush();
+}
void GLES2FramebufferRenderbuffer(GLenum target,
GLenum attachment,
GLenum renderbuffertarget,
@@ -199,7 +219,9 @@ void GLES2FramebufferTexture2D(GLenum target,
gles2::GetGLContext()->FramebufferTexture2D(
target, attachment, textarget, texture, level);
}
-void GLES2FrontFace(GLenum mode) { gles2::GetGLContext()->FrontFace(mode); }
+void GLES2FrontFace(GLenum mode) {
+ gles2::GetGLContext()->FrontFace(mode);
+}
void GLES2GenBuffers(GLsizei n, GLuint* buffers) {
gles2::GetGLContext()->GenBuffers(n, buffers);
}
@@ -250,7 +272,9 @@ void GLES2GetBooleanv(GLenum pname, GLboolean* params) {
void GLES2GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) {
gles2::GetGLContext()->GetBufferParameteriv(target, pname, params);
}
-GLenum GLES2GetError() { return gles2::GetGLContext()->GetError(); }
+GLenum GLES2GetError() {
+ return gles2::GetGLContext()->GetError();
+}
void GLES2GetFloatv(GLenum pname, GLfloat* params) {
gles2::GetGLContext()->GetFloatv(pname, params);
}
@@ -351,7 +375,9 @@ GLboolean GLES2IsShader(GLuint shader) {
GLboolean GLES2IsTexture(GLuint texture) {
return gles2::GetGLContext()->IsTexture(texture);
}
-void GLES2LineWidth(GLfloat width) { gles2::GetGLContext()->LineWidth(width); }
+void GLES2LineWidth(GLfloat width) {
+ gles2::GetGLContext()->LineWidth(width);
+}
void GLES2LinkProgram(GLuint program) {
gles2::GetGLContext()->LinkProgram(program);
}
@@ -414,7 +440,9 @@ void GLES2StencilFuncSeparate(GLenum face,
GLuint mask) {
gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask);
}
-void GLES2StencilMask(GLuint mask) { gles2::GetGLContext()->StencilMask(mask); }
+void GLES2StencilMask(GLuint mask) {
+ gles2::GetGLContext()->StencilMask(mask);
+}
void GLES2StencilMaskSeparate(GLenum face, GLuint mask) {
gles2::GetGLContext()->StencilMaskSeparate(face, mask);
}
@@ -659,7 +687,9 @@ void GLES2InsertEventMarkerEXT(GLsizei length, const GLchar* marker) {
void GLES2PushGroupMarkerEXT(GLsizei length, const GLchar* marker) {
gles2::GetGLContext()->PushGroupMarkerEXT(length, marker);
}
-void GLES2PopGroupMarkerEXT() { gles2::GetGLContext()->PopGroupMarkerEXT(); }
+void GLES2PopGroupMarkerEXT() {
+ gles2::GetGLContext()->PopGroupMarkerEXT();
+}
void GLES2GenVertexArraysOES(GLsizei n, GLuint* arrays) {
gles2::GetGLContext()->GenVertexArraysOES(n, arrays);
}
@@ -672,7 +702,9 @@ GLboolean GLES2IsVertexArrayOES(GLuint array) {
void GLES2BindVertexArrayOES(GLuint array) {
gles2::GetGLContext()->BindVertexArrayOES(array);
}
-void GLES2SwapBuffers() { gles2::GetGLContext()->SwapBuffers(); }
+void GLES2SwapBuffers() {
+ gles2::GetGLContext()->SwapBuffers();
+}
GLuint GLES2GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
GLsizei count,
GLenum type,
@@ -846,7 +878,9 @@ void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) {
void GLES2TraceBeginCHROMIUM(const char* name) {
gles2::GetGLContext()->TraceBeginCHROMIUM(name);
}
-void GLES2TraceEndCHROMIUM() { gles2::GetGLContext()->TraceEndCHROMIUM(); }
+void GLES2TraceEndCHROMIUM() {
+ gles2::GetGLContext()->TraceEndCHROMIUM();
+}
void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target,
GLint level,
GLint xoffset,
@@ -931,378 +965,778 @@ void GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
namespace gles2 {
extern const NameToFunc g_gles2_function_table[] = {
- {"glActiveTexture",
- reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), },
- {"glAttachShader",
- reinterpret_cast<GLES2FunctionPointer>(glAttachShader), },
- {"glBindAttribLocation",
- reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), },
- {"glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer), },
- {"glBindFramebuffer",
- reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer), },
- {"glBindRenderbuffer",
- reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer), },
- {"glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture), },
- {"glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor), },
- {"glBlendEquation",
- reinterpret_cast<GLES2FunctionPointer>(glBlendEquation), },
- {"glBlendEquationSeparate",
- reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate), },
- {"glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc), },
- {"glBlendFuncSeparate",
- reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate), },
- {"glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData), },
- {"glBufferSubData",
- reinterpret_cast<GLES2FunctionPointer>(glBufferSubData), },
- {"glCheckFramebufferStatus",
- reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus), },
- {"glClear", reinterpret_cast<GLES2FunctionPointer>(glClear), },
- {"glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor), },
- {"glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf), },
- {"glClearStencil",
- reinterpret_cast<GLES2FunctionPointer>(glClearStencil), },
- {"glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask), },
- {"glCompileShader",
- reinterpret_cast<GLES2FunctionPointer>(glCompileShader), },
- {"glCompressedTexImage2D",
- reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), },
- {"glCompressedTexSubImage2D",
- reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), },
- {"glCopyTexImage2D",
- reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), },
- {"glCopyTexSubImage2D",
- reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), },
- {"glCreateProgram",
- reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), },
- {"glCreateShader",
- reinterpret_cast<GLES2FunctionPointer>(glCreateShader), },
- {"glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace), },
- {"glDeleteBuffers",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers), },
- {"glDeleteFramebuffers",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers), },
- {"glDeleteProgram",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram), },
- {"glDeleteRenderbuffers",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), },
- {"glDeleteShader",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), },
- {"glDeleteTextures",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), },
- {"glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc), },
- {"glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask), },
- {"glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef), },
- {"glDetachShader",
- reinterpret_cast<GLES2FunctionPointer>(glDetachShader), },
- {"glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable), },
- {"glDisableVertexAttribArray",
- reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray), },
- {"glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), },
- {"glDrawElements",
- reinterpret_cast<GLES2FunctionPointer>(glDrawElements), },
- {"glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), },
- {"glEnableVertexAttribArray",
- reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), },
- {"glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), },
- {"glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), },
- {"glFramebufferRenderbuffer",
- reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), },
- {"glFramebufferTexture2D",
- reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), },
- {"glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), },
- {"glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), },
- {"glGenerateMipmap",
- reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), },
- {"glGenFramebuffers",
- reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers), },
- {"glGenRenderbuffers",
- reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers), },
- {"glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures), },
- {"glGetActiveAttrib",
- reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), },
- {"glGetActiveUniform",
- reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), },
- {"glGetAttachedShaders",
- reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), },
- {"glGetAttribLocation",
- reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), },
- {"glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), },
- {"glGetBufferParameteriv",
- reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), },
- {"glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), },
- {"glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), },
- {"glGetFramebufferAttachmentParameteriv",
- reinterpret_cast<GLES2FunctionPointer>(
- glGetFramebufferAttachmentParameteriv), },
- {"glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), },
- {"glGetProgramiv",
- reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), },
- {"glGetProgramInfoLog",
- reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), },
- {"glGetRenderbufferParameteriv",
- reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), },
- {"glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), },
- {"glGetShaderInfoLog",
- reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), },
- {"glGetShaderPrecisionFormat",
- reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat), },
- {"glGetShaderSource",
- reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource), },
- {"glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString), },
- {"glGetTexParameterfv",
- reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), },
- {"glGetTexParameteriv",
- reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), },
- {"glGetUniformfv",
- reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), },
- {"glGetUniformiv",
- reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), },
- {"glGetUniformLocation",
- reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), },
- {"glGetVertexAttribfv",
- reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), },
- {"glGetVertexAttribiv",
- reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), },
- {"glGetVertexAttribPointerv",
- reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv), },
- {"glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), },
- {"glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), },
- {"glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), },
- {"glIsFramebuffer",
- reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer), },
- {"glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), },
- {"glIsRenderbuffer",
- reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer), },
- {"glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), },
- {"glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), },
- {"glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), },
- {"glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram), },
- {"glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei), },
- {"glPolygonOffset",
- reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset), },
- {"glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels), },
- {"glReleaseShaderCompiler",
- reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler), },
- {"glRenderbufferStorage",
- reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage), },
- {"glSampleCoverage",
- reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage), },
- {"glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), },
- {"glShaderBinary",
- reinterpret_cast<GLES2FunctionPointer>(glShaderBinary), },
- {"glShaderSource",
- reinterpret_cast<GLES2FunctionPointer>(glShaderSource), },
- {"glShallowFinishCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), },
- {"glShallowFlushCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), },
- {"glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), },
- {"glStencilFuncSeparate",
- reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), },
- {"glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), },
- {"glStencilMaskSeparate",
- reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate), },
- {"glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), },
- {"glStencilOpSeparate",
- reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate), },
- {"glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), },
- {"glTexParameterf",
- reinterpret_cast<GLES2FunctionPointer>(glTexParameterf), },
- {"glTexParameterfv",
- reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv), },
- {"glTexParameteri",
- reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), },
- {"glTexParameteriv",
- reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), },
- {"glTexSubImage2D",
- reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), },
- {"glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f), },
- {"glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), },
- {"glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i), },
- {"glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), },
- {"glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f), },
- {"glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), },
- {"glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i), },
- {"glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), },
- {"glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f), },
- {"glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), },
- {"glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i), },
- {"glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), },
- {"glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f), },
- {"glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), },
- {"glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i), },
- {"glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), },
- {"glUniformMatrix2fv",
- reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), },
- {"glUniformMatrix3fv",
- reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), },
- {"glUniformMatrix4fv",
- reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), },
- {"glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), },
- {"glValidateProgram",
- reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), },
- {"glVertexAttrib1f",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), },
- {"glVertexAttrib1fv",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv), },
- {"glVertexAttrib2f",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f), },
- {"glVertexAttrib2fv",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv), },
- {"glVertexAttrib3f",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f), },
- {"glVertexAttrib3fv",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv), },
- {"glVertexAttrib4f",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), },
- {"glVertexAttrib4fv",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), },
- {"glVertexAttribPointer",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), },
- {"glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), },
- {"glBlitFramebufferCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), },
- {"glRenderbufferStorageMultisampleCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(
- glRenderbufferStorageMultisampleCHROMIUM), },
- {"glRenderbufferStorageMultisampleEXT",
- reinterpret_cast<GLES2FunctionPointer>(
- glRenderbufferStorageMultisampleEXT), },
- {"glFramebufferTexture2DMultisampleEXT",
+ {
+ "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
+ },
+ {
+ "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(glAttachShader),
+ },
+ {
+ "glBindAttribLocation",
+ reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation),
+ },
+ {
+ "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
+ },
+ {
+ "glBindFramebuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
+ },
+ {
+ "glBindRenderbuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer),
+ },
+ {
+ "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture),
+ },
+ {
+ "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor),
+ },
+ {
+ "glBlendEquation", reinterpret_cast<GLES2FunctionPointer>(glBlendEquation),
+ },
+ {
+ "glBlendEquationSeparate",
+ reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate),
+ },
+ {
+ "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc),
+ },
+ {
+ "glBlendFuncSeparate",
+ reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate),
+ },
+ {
+ "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData),
+ },
+ {
+ "glBufferSubData", reinterpret_cast<GLES2FunctionPointer>(glBufferSubData),
+ },
+ {
+ "glCheckFramebufferStatus",
+ reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus),
+ },
+ {
+ "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear),
+ },
+ {
+ "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor),
+ },
+ {
+ "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
+ },
+ {
+ "glClearStencil", reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
+ },
+ {
+ "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask),
+ },
+ {
+ "glCompileShader", reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
+ },
+ {
+ "glCompressedTexImage2D",
+ reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
+ },
+ {
+ "glCompressedTexSubImage2D",
+ reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
+ },
+ {
+ "glCopyTexImage2D",
+ reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
+ },
+ {
+ "glCopyTexSubImage2D",
+ reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
+ },
+ {
+ "glCreateProgram", reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
+ },
+ {
+ "glCreateShader", reinterpret_cast<GLES2FunctionPointer>(glCreateShader),
+ },
+ {
+ "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace),
+ },
+ {
+ "glDeleteBuffers", reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers),
+ },
+ {
+ "glDeleteFramebuffers",
+ reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers),
+ },
+ {
+ "glDeleteProgram", reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram),
+ },
+ {
+ "glDeleteRenderbuffers",
+ reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers),
+ },
+ {
+ "glDeleteShader", reinterpret_cast<GLES2FunctionPointer>(glDeleteShader),
+ },
+ {
+ "glDeleteTextures",
+ reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures),
+ },
+ {
+ "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc),
+ },
+ {
+ "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask),
+ },
+ {
+ "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef),
+ },
+ {
+ "glDetachShader", reinterpret_cast<GLES2FunctionPointer>(glDetachShader),
+ },
+ {
+ "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable),
+ },
+ {
+ "glDisableVertexAttribArray",
+ reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray),
+ },
+ {
+ "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays),
+ },
+ {
+ "glDrawElements", reinterpret_cast<GLES2FunctionPointer>(glDrawElements),
+ },
+ {
+ "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable),
+ },
+ {
+ "glEnableVertexAttribArray",
+ reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray),
+ },
+ {
+ "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish),
+ },
+ {
+ "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush),
+ },
+ {
+ "glFramebufferRenderbuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer),
+ },
+ {
+ "glFramebufferTexture2D",
+ reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
+ },
+ {
+ "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
+ },
+ {
+ "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers),
+ },
+ {
+ "glGenerateMipmap",
+ reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap),
+ },
+ {
+ "glGenFramebuffers",
+ reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers),
+ },
+ {
+ "glGenRenderbuffers",
+ reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers),
+ },
+ {
+ "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures),
+ },
+ {
+ "glGetActiveAttrib",
+ reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
+ },
+ {
+ "glGetActiveUniform",
+ reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
+ },
+ {
+ "glGetAttachedShaders",
+ reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
+ },
+ {
+ "glGetAttribLocation",
+ reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
+ },
+ {
+ "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
+ },
+ {
+ "glGetBufferParameteriv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv),
+ },
+ {
+ "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError),
+ },
+ {
+ "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv),
+ },
+ {
+ "glGetFramebufferAttachmentParameteriv",
reinterpret_cast<GLES2FunctionPointer>(
- glFramebufferTexture2DMultisampleEXT), },
- {"glTexStorage2DEXT",
- reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), },
- {"glGenQueriesEXT",
- reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), },
- {"glDeleteQueriesEXT",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), },
- {"glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), },
- {"glBeginQueryEXT",
- reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), },
- {"glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), },
- {"glGetQueryivEXT",
- reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT), },
- {"glGetQueryObjectuivEXT",
- reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT), },
- {"glInsertEventMarkerEXT",
- reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT), },
- {"glPushGroupMarkerEXT",
- reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT), },
- {"glPopGroupMarkerEXT",
- reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT), },
- {"glGenVertexArraysOES",
- reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES), },
- {"glDeleteVertexArraysOES",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES), },
- {"glIsVertexArrayOES",
- reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES), },
- {"glBindVertexArrayOES",
- reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES), },
- {"glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), },
- {"glGetMaxValueInBufferCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), },
- {"glGenSharedIdsCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM), },
- {"glDeleteSharedIdsCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM), },
- {"glRegisterSharedIdsCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM), },
- {"glEnableFeatureCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM), },
- {"glMapBufferCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM), },
- {"glUnmapBufferCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM), },
- {"glMapImageCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glMapImageCHROMIUM), },
- {"glUnmapImageCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glUnmapImageCHROMIUM), },
- {"glMapBufferSubDataCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM), },
- {"glUnmapBufferSubDataCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), },
- {"glMapTexSubImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), },
- {"glUnmapTexSubImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), },
- {"glResizeCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), },
- {"glGetRequestableExtensionsCHROMIUM",
+ glGetFramebufferAttachmentParameteriv),
+ },
+ {
+ "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
+ },
+ {
+ "glGetProgramiv", reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
+ },
+ {
+ "glGetProgramInfoLog",
+ reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog),
+ },
+ {
+ "glGetRenderbufferParameteriv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv),
+ },
+ {
+ "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv),
+ },
+ {
+ "glGetShaderInfoLog",
+ reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog),
+ },
+ {
+ "glGetShaderPrecisionFormat",
+ reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
+ },
+ {
+ "glGetShaderSource",
+ reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
+ },
+ {
+ "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString),
+ },
+ {
+ "glGetTexParameterfv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
+ },
+ {
+ "glGetTexParameteriv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
+ },
+ {
+ "glGetUniformfv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
+ },
+ {
+ "glGetUniformiv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
+ },
+ {
+ "glGetUniformLocation",
+ reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
+ },
+ {
+ "glGetVertexAttribfv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv),
+ },
+ {
+ "glGetVertexAttribiv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
+ },
+ {
+ "glGetVertexAttribPointerv",
+ reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
+ },
+ {
+ "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint),
+ },
+ {
+ "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
+ },
+ {
+ "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled),
+ },
+ {
+ "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer),
+ },
+ {
+ "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram),
+ },
+ {
+ "glIsRenderbuffer",
+ reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer),
+ },
+ {
+ "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader),
+ },
+ {
+ "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture),
+ },
+ {
+ "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth),
+ },
+ {
+ "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram),
+ },
+ {
+ "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei),
+ },
+ {
+ "glPolygonOffset", reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
+ },
+ {
+ "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
+ },
+ {
+ "glReleaseShaderCompiler",
+ reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler),
+ },
+ {
+ "glRenderbufferStorage",
+ reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage),
+ },
+ {
+ "glSampleCoverage",
+ reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage),
+ },
+ {
+ "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor),
+ },
+ {
+ "glShaderBinary", reinterpret_cast<GLES2FunctionPointer>(glShaderBinary),
+ },
+ {
+ "glShaderSource", reinterpret_cast<GLES2FunctionPointer>(glShaderSource),
+ },
+ {
+ "glShallowFinishCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
+ },
+ {
+ "glShallowFlushCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
+ },
+ {
+ "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
+ },
+ {
+ "glStencilFuncSeparate",
+ reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
+ },
+ {
+ "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
+ },
+ {
+ "glStencilMaskSeparate",
+ reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate),
+ },
+ {
+ "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp),
+ },
+ {
+ "glStencilOpSeparate",
+ reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate),
+ },
+ {
+ "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
+ },
+ {
+ "glTexParameterf", reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
+ },
+ {
+ "glTexParameterfv",
+ reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv),
+ },
+ {
+ "glTexParameteri", reinterpret_cast<GLES2FunctionPointer>(glTexParameteri),
+ },
+ {
+ "glTexParameteriv",
+ reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
+ },
+ {
+ "glTexSubImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
+ },
+ {
+ "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
+ },
+ {
+ "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv),
+ },
+ {
+ "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i),
+ },
+ {
+ "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
+ },
+ {
+ "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
+ },
+ {
+ "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv),
+ },
+ {
+ "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i),
+ },
+ {
+ "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
+ },
+ {
+ "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
+ },
+ {
+ "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv),
+ },
+ {
+ "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i),
+ },
+ {
+ "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
+ },
+ {
+ "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
+ },
+ {
+ "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv),
+ },
+ {
+ "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i),
+ },
+ {
+ "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
+ },
+ {
+ "glUniformMatrix2fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
+ },
+ {
+ "glUniformMatrix3fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
+ },
+ {
+ "glUniformMatrix4fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
+ },
+ {
+ "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
+ },
+ {
+ "glValidateProgram",
+ reinterpret_cast<GLES2FunctionPointer>(glValidateProgram),
+ },
+ {
+ "glVertexAttrib1f",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f),
+ },
+ {
+ "glVertexAttrib1fv",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1fv),
+ },
+ {
+ "glVertexAttrib2f",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2f),
+ },
+ {
+ "glVertexAttrib2fv",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib2fv),
+ },
+ {
+ "glVertexAttrib3f",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3f),
+ },
+ {
+ "glVertexAttrib3fv",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib3fv),
+ },
+ {
+ "glVertexAttrib4f",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f),
+ },
+ {
+ "glVertexAttrib4fv",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
+ },
+ {
+ "glVertexAttribPointer",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
+ },
+ {
+ "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport),
+ },
+ {
+ "glBlitFramebufferCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
+ },
+ {
+ "glRenderbufferStorageMultisampleCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(
- glGetRequestableExtensionsCHROMIUM), },
- {"glRequestExtensionCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), },
- {"glRateLimitOffscreenContextCHROMIUM",
+ glRenderbufferStorageMultisampleCHROMIUM),
+ },
+ {
+ "glRenderbufferStorageMultisampleEXT",
reinterpret_cast<GLES2FunctionPointer>(
- glRateLimitOffscreenContextCHROMIUM), },
- {"glGetMultipleIntegervCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), },
- {"glGetProgramInfoCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), },
- {"glCreateStreamTextureCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), },
- {"glCreateImageCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), },
- {"glDestroyImageCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), },
- {"glGetImageParameterivCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glGetImageParameterivCHROMIUM), },
- {"glGetTranslatedShaderSourceANGLE",
+ glRenderbufferStorageMultisampleEXT),
+ },
+ {
+ "glFramebufferTexture2DMultisampleEXT",
reinterpret_cast<GLES2FunctionPointer>(
- glGetTranslatedShaderSourceANGLE), },
- {"glPostSubBufferCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM), },
- {"glTexImageIOSurface2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM), },
- {"glCopyTextureCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM), },
- {"glDrawArraysInstancedANGLE",
- reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE), },
- {"glDrawElementsInstancedANGLE",
- reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE), },
- {"glVertexAttribDivisorANGLE",
- reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE), },
- {"glGenMailboxCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM), },
- {"glProduceTextureCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM), },
- {"glConsumeTextureCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM), },
- {"glBindUniformLocationCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM), },
- {"glBindTexImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), },
- {"glReleaseTexImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), },
- {"glTraceBeginCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), },
- {"glTraceEndCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), },
- {"glAsyncTexSubImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), },
- {"glAsyncTexImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), },
- {"glWaitAsyncTexImage2DCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), },
- {"glWaitAllAsyncTexImage2DCHROMIUM",
+ glFramebufferTexture2DMultisampleEXT),
+ },
+ {
+ "glTexStorage2DEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT),
+ },
+ {
+ "glGenQueriesEXT", reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
+ },
+ {
+ "glDeleteQueriesEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
+ },
+ {
+ "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
+ },
+ {
+ "glBeginQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
+ },
+ {
+ "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT),
+ },
+ {
+ "glGetQueryivEXT", reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT),
+ },
+ {
+ "glGetQueryObjectuivEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT),
+ },
+ {
+ "glInsertEventMarkerEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT),
+ },
+ {
+ "glPushGroupMarkerEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glPushGroupMarkerEXT),
+ },
+ {
+ "glPopGroupMarkerEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glPopGroupMarkerEXT),
+ },
+ {
+ "glGenVertexArraysOES",
+ reinterpret_cast<GLES2FunctionPointer>(glGenVertexArraysOES),
+ },
+ {
+ "glDeleteVertexArraysOES",
+ reinterpret_cast<GLES2FunctionPointer>(glDeleteVertexArraysOES),
+ },
+ {
+ "glIsVertexArrayOES",
+ reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES),
+ },
+ {
+ "glBindVertexArrayOES",
+ reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES),
+ },
+ {
+ "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers),
+ },
+ {
+ "glGetMaxValueInBufferCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM),
+ },
+ {
+ "glGenSharedIdsCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM),
+ },
+ {
+ "glDeleteSharedIdsCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glDeleteSharedIdsCHROMIUM),
+ },
+ {
+ "glRegisterSharedIdsCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glRegisterSharedIdsCHROMIUM),
+ },
+ {
+ "glEnableFeatureCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glEnableFeatureCHROMIUM),
+ },
+ {
+ "glMapBufferCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glMapBufferCHROMIUM),
+ },
+ {
+ "glUnmapBufferCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferCHROMIUM),
+ },
+ {
+ "glMapImageCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glMapImageCHROMIUM),
+ },
+ {
+ "glUnmapImageCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glUnmapImageCHROMIUM),
+ },
+ {
+ "glMapBufferSubDataCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glMapBufferSubDataCHROMIUM),
+ },
+ {
+ "glUnmapBufferSubDataCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM),
+ },
+ {
+ "glMapTexSubImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
+ },
+ {
+ "glUnmapTexSubImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM),
+ },
+ {
+ "glResizeCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM),
+ },
+ {
+ "glGetRequestableExtensionsCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetRequestableExtensionsCHROMIUM),
+ },
+ {
+ "glRequestExtensionCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM),
+ },
+ {
+ "glRateLimitOffscreenContextCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(
- glWaitAllAsyncTexImage2DCHROMIUM), },
- {"glDiscardFramebufferEXT",
- reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), },
- {"glLoseContextCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), },
- {"glInsertSyncPointCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), },
- {"glWaitSyncPointCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), },
- {"glDrawBuffersEXT",
- reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), },
- {"glDiscardBackbufferCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), },
- {"glScheduleOverlayPlaneCHROMIUM",
- reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), },
- {NULL, NULL, }, };
+ glRateLimitOffscreenContextCHROMIUM),
+ },
+ {
+ "glGetMultipleIntegervCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM),
+ },
+ {
+ "glGetProgramInfoCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
+ },
+ {
+ "glCreateStreamTextureCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
+ },
+ {
+ "glCreateImageCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
+ },
+ {
+ "glDestroyImageCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
+ },
+ {
+ "glGetImageParameterivCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGetImageParameterivCHROMIUM),
+ },
+ {
+ "glGetTranslatedShaderSourceANGLE",
+ reinterpret_cast<GLES2FunctionPointer>(glGetTranslatedShaderSourceANGLE),
+ },
+ {
+ "glPostSubBufferCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glPostSubBufferCHROMIUM),
+ },
+ {
+ "glTexImageIOSurface2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glTexImageIOSurface2DCHROMIUM),
+ },
+ {
+ "glCopyTextureCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glCopyTextureCHROMIUM),
+ },
+ {
+ "glDrawArraysInstancedANGLE",
+ reinterpret_cast<GLES2FunctionPointer>(glDrawArraysInstancedANGLE),
+ },
+ {
+ "glDrawElementsInstancedANGLE",
+ reinterpret_cast<GLES2FunctionPointer>(glDrawElementsInstancedANGLE),
+ },
+ {
+ "glVertexAttribDivisorANGLE",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribDivisorANGLE),
+ },
+ {
+ "glGenMailboxCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glGenMailboxCHROMIUM),
+ },
+ {
+ "glProduceTextureCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM),
+ },
+ {
+ "glConsumeTextureCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM),
+ },
+ {
+ "glBindUniformLocationCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
+ },
+ {
+ "glBindTexImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM),
+ },
+ {
+ "glReleaseTexImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM),
+ },
+ {
+ "glTraceBeginCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM),
+ },
+ {
+ "glTraceEndCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM),
+ },
+ {
+ "glAsyncTexSubImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM),
+ },
+ {
+ "glAsyncTexImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM),
+ },
+ {
+ "glWaitAsyncTexImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM),
+ },
+ {
+ "glWaitAllAsyncTexImage2DCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glWaitAllAsyncTexImage2DCHROMIUM),
+ },
+ {
+ "glDiscardFramebufferEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT),
+ },
+ {
+ "glLoseContextCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM),
+ },
+ {
+ "glInsertSyncPointCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM),
+ },
+ {
+ "glWaitSyncPointCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM),
+ },
+ {
+ "glDrawBuffersEXT",
+ reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT),
+ },
+ {
+ "glDiscardBackbufferCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM),
+ },
+ {
+ "glScheduleOverlayPlaneCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
+ },
+ {
+ NULL, NULL,
+ },
+};
} // namespace gles2
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h
index 302132e..8b5d22b 100644
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h
@@ -397,8 +397,10 @@ virtual void Uniform2i(GLint location, GLint x, GLint y) OVERRIDE;
virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
-virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void Uniform3f(GLint location,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void Uniform3fv(GLint location,
GLsizei count,
@@ -418,8 +420,11 @@ virtual void Uniform4fv(GLint location,
GLsizei count,
const GLfloat* v) OVERRIDE;
-virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)
- OVERRIDE;
+virtual void Uniform4i(GLint location,
+ GLint x,
+ GLint y,
+ GLint z,
+ GLint w) OVERRIDE;
virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
@@ -450,8 +455,10 @@ virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) OVERRIDE;
virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) OVERRIDE;
-virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void VertexAttrib3f(GLuint indx,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) OVERRIDE;
@@ -625,8 +632,10 @@ virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
GLsizei* length,
char* source) OVERRIDE;
-virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height)
- OVERRIDE;
+virtual void PostSubBufferCHROMIUM(GLint x,
+ GLint y,
+ GLint width,
+ GLint height) OVERRIDE;
virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
GLsizei width,
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
index e9696c4..d568a19 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
@@ -444,7 +444,9 @@ TEST_F(GLES2ImplementationTest, FrontFace) {
}
TEST_F(GLES2ImplementationTest, GenBuffers) {
- GLuint ids[2] = {0, };
+ GLuint ids[2] = {
+ 0,
+ };
struct Cmds {
cmds::GenBuffersImmediate gen;
GLuint data[2];
@@ -471,7 +473,9 @@ TEST_F(GLES2ImplementationTest, GenerateMipmap) {
}
TEST_F(GLES2ImplementationTest, GenFramebuffers) {
- GLuint ids[2] = {0, };
+ GLuint ids[2] = {
+ 0,
+ };
struct Cmds {
cmds::GenFramebuffersImmediate gen;
GLuint data[2];
@@ -487,7 +491,9 @@ TEST_F(GLES2ImplementationTest, GenFramebuffers) {
}
TEST_F(GLES2ImplementationTest, GenRenderbuffers) {
- GLuint ids[2] = {0, };
+ GLuint ids[2] = {
+ 0,
+ };
struct Cmds {
cmds::GenRenderbuffersImmediate gen;
GLuint data[2];
@@ -503,7 +509,9 @@ TEST_F(GLES2ImplementationTest, GenRenderbuffers) {
}
TEST_F(GLES2ImplementationTest, GenTextures) {
- GLuint ids[2] = {0, };
+ GLuint ids[2] = {
+ 0,
+ };
struct Cmds {
cmds::GenTexturesImmediate gen;
GLuint data[2];
@@ -1583,7 +1591,9 @@ TEST_F(GLES2ImplementationTest, TexStorage2DEXT) {
}
TEST_F(GLES2ImplementationTest, GenQueriesEXT) {
- GLuint ids[2] = {0, };
+ GLuint ids[2] = {
+ 0,
+ };
struct Cmds {
cmds::GenQueriesEXTImmediate gen;
GLuint data[2];
@@ -1627,7 +1637,9 @@ TEST_F(GLES2ImplementationTest, PopGroupMarkerEXT) {
}
TEST_F(GLES2ImplementationTest, GenVertexArraysOES) {
- GLuint ids[2] = {0, };
+ GLuint ids[2] = {
+ 0,
+ };
struct Cmds {
cmds::GenVertexArraysOESImmediate gen;
GLuint data[2];
diff --git a/gpu/command_buffer/client/gles2_interface_stub_autogen.h b/gpu/command_buffer/client/gles2_interface_stub_autogen.h
index 8861d698..ad0e29c 100644
--- a/gpu/command_buffer/client/gles2_interface_stub_autogen.h
+++ b/gpu/command_buffer/client/gles2_interface_stub_autogen.h
@@ -287,8 +287,10 @@ virtual void Uniform2fv(GLint location,
const GLfloat* v) OVERRIDE;
virtual void Uniform2i(GLint location, GLint x, GLint y) OVERRIDE;
virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
-virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void Uniform3f(GLint location,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void Uniform3fv(GLint location,
GLsizei count,
const GLfloat* v) OVERRIDE;
@@ -302,8 +304,11 @@ virtual void Uniform4f(GLint location,
virtual void Uniform4fv(GLint location,
GLsizei count,
const GLfloat* v) OVERRIDE;
-virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)
- OVERRIDE;
+virtual void Uniform4i(GLint location,
+ GLint x,
+ GLint y,
+ GLint z,
+ GLint w) OVERRIDE;
virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
virtual void UniformMatrix2fv(GLint location,
GLsizei count,
@@ -323,8 +328,10 @@ virtual void VertexAttrib1f(GLuint indx, GLfloat x) OVERRIDE;
virtual void VertexAttrib1fv(GLuint indx, const GLfloat* values) OVERRIDE;
virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) OVERRIDE;
virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) OVERRIDE;
-virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void VertexAttrib3f(GLuint indx,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) OVERRIDE;
virtual void VertexAttrib4f(GLuint indx,
GLfloat x,
@@ -448,8 +455,10 @@ virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* source) OVERRIDE;
-virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height)
- OVERRIDE;
+virtual void PostSubBufferCHROMIUM(GLint x,
+ GLint y,
+ GLint width,
+ GLint height) OVERRIDE;
virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
GLsizei width,
GLsizei height,
diff --git a/gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h b/gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h
index 9c79f59..f894c1c 100644
--- a/gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h
@@ -12,55 +12,74 @@
#ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_IMPL_AUTOGEN_H_
#define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_IMPL_AUTOGEN_H_
-void GLES2InterfaceStub::ActiveTexture(GLenum /* texture */) {}
+void GLES2InterfaceStub::ActiveTexture(GLenum /* texture */) {
+}
void GLES2InterfaceStub::AttachShader(GLuint /* program */,
- GLuint /* shader */) {}
+ GLuint /* shader */) {
+}
void GLES2InterfaceStub::BindAttribLocation(GLuint /* program */,
GLuint /* index */,
- const char* /* name */) {}
-void GLES2InterfaceStub::BindBuffer(GLenum /* target */, GLuint /* buffer */) {}
+ const char* /* name */) {
+}
+void GLES2InterfaceStub::BindBuffer(GLenum /* target */, GLuint /* buffer */) {
+}
void GLES2InterfaceStub::BindFramebuffer(GLenum /* target */,
- GLuint /* framebuffer */) {}
+ GLuint /* framebuffer */) {
+}
void GLES2InterfaceStub::BindRenderbuffer(GLenum /* target */,
- GLuint /* renderbuffer */) {}
+ GLuint /* renderbuffer */) {
+}
void GLES2InterfaceStub::BindTexture(GLenum /* target */,
- GLuint /* texture */) {}
+ GLuint /* texture */) {
+}
void GLES2InterfaceStub::BlendColor(GLclampf /* red */,
GLclampf /* green */,
GLclampf /* blue */,
- GLclampf /* alpha */) {}
-void GLES2InterfaceStub::BlendEquation(GLenum /* mode */) {}
+ GLclampf /* alpha */) {
+}
+void GLES2InterfaceStub::BlendEquation(GLenum /* mode */) {
+}
void GLES2InterfaceStub::BlendEquationSeparate(GLenum /* modeRGB */,
- GLenum /* modeAlpha */) {}
+ GLenum /* modeAlpha */) {
+}
void GLES2InterfaceStub::BlendFunc(GLenum /* sfactor */, GLenum /* dfactor */) {
}
void GLES2InterfaceStub::BlendFuncSeparate(GLenum /* srcRGB */,
GLenum /* dstRGB */,
GLenum /* srcAlpha */,
- GLenum /* dstAlpha */) {}
+ GLenum /* dstAlpha */) {
+}
void GLES2InterfaceStub::BufferData(GLenum /* target */,
GLsizeiptr /* size */,
const void* /* data */,
- GLenum /* usage */) {}
+ GLenum /* usage */) {
+}
void GLES2InterfaceStub::BufferSubData(GLenum /* target */,
GLintptr /* offset */,
GLsizeiptr /* size */,
- const void* /* data */) {}
+ const void* /* data */) {
+}
GLenum GLES2InterfaceStub::CheckFramebufferStatus(GLenum /* target */) {
return 0;
}
-void GLES2InterfaceStub::Clear(GLbitfield /* mask */) {}
+void GLES2InterfaceStub::Clear(GLbitfield /* mask */) {
+}
void GLES2InterfaceStub::ClearColor(GLclampf /* red */,
GLclampf /* green */,
GLclampf /* blue */,
- GLclampf /* alpha */) {}
-void GLES2InterfaceStub::ClearDepthf(GLclampf /* depth */) {}
-void GLES2InterfaceStub::ClearStencil(GLint /* s */) {}
+ GLclampf /* alpha */) {
+}
+void GLES2InterfaceStub::ClearDepthf(GLclampf /* depth */) {
+}
+void GLES2InterfaceStub::ClearStencil(GLint /* s */) {
+}
void GLES2InterfaceStub::ColorMask(GLboolean /* red */,
GLboolean /* green */,
GLboolean /* blue */,
- GLboolean /* alpha */) {}
-void GLES2InterfaceStub::CompileShader(GLuint /* shader */) {}
+ GLboolean /* alpha */) {
+}
+void GLES2InterfaceStub::CompileShader(GLuint /* shader */) {
+}
void GLES2InterfaceStub::CompressedTexImage2D(GLenum /* target */,
GLint /* level */,
GLenum /* internalformat */,
@@ -68,7 +87,8 @@ void GLES2InterfaceStub::CompressedTexImage2D(GLenum /* target */,
GLsizei /* height */,
GLint /* border */,
GLsizei /* imageSize */,
- const void* /* data */) {}
+ const void* /* data */) {
+}
void GLES2InterfaceStub::CompressedTexSubImage2D(GLenum /* target */,
GLint /* level */,
GLint /* xoffset */,
@@ -77,7 +97,8 @@ void GLES2InterfaceStub::CompressedTexSubImage2D(GLenum /* target */,
GLsizei /* height */,
GLenum /* format */,
GLsizei /* imageSize */,
- const void* /* data */) {}
+ const void* /* data */) {
+}
void GLES2InterfaceStub::CopyTexImage2D(GLenum /* target */,
GLint /* level */,
GLenum /* internalformat */,
@@ -85,7 +106,8 @@ void GLES2InterfaceStub::CopyTexImage2D(GLenum /* target */,
GLint /* y */,
GLsizei /* width */,
GLsizei /* height */,
- GLint /* border */) {}
+ GLint /* border */) {
+}
void GLES2InterfaceStub::CopyTexSubImage2D(GLenum /* target */,
GLint /* level */,
GLint /* xoffset */,
@@ -93,207 +115,295 @@ void GLES2InterfaceStub::CopyTexSubImage2D(GLenum /* target */,
GLint /* x */,
GLint /* y */,
GLsizei /* width */,
- GLsizei /* height */) {}
-GLuint GLES2InterfaceStub::CreateProgram() { return 0; }
-GLuint GLES2InterfaceStub::CreateShader(GLenum /* type */) { return 0; }
-void GLES2InterfaceStub::CullFace(GLenum /* mode */) {}
+ GLsizei /* height */) {
+}
+GLuint GLES2InterfaceStub::CreateProgram() {
+ return 0;
+}
+GLuint GLES2InterfaceStub::CreateShader(GLenum /* type */) {
+ return 0;
+}
+void GLES2InterfaceStub::CullFace(GLenum /* mode */) {
+}
void GLES2InterfaceStub::DeleteBuffers(GLsizei /* n */,
- const GLuint* /* buffers */) {}
+ const GLuint* /* buffers */) {
+}
void GLES2InterfaceStub::DeleteFramebuffers(GLsizei /* n */,
- const GLuint* /* framebuffers */) {}
-void GLES2InterfaceStub::DeleteProgram(GLuint /* program */) {}
+ const GLuint* /* framebuffers */) {
+}
+void GLES2InterfaceStub::DeleteProgram(GLuint /* program */) {
+}
void GLES2InterfaceStub::DeleteRenderbuffers(
GLsizei /* n */,
- const GLuint* /* renderbuffers */) {}
-void GLES2InterfaceStub::DeleteShader(GLuint /* shader */) {}
+ const GLuint* /* renderbuffers */) {
+}
+void GLES2InterfaceStub::DeleteShader(GLuint /* shader */) {
+}
void GLES2InterfaceStub::DeleteTextures(GLsizei /* n */,
- const GLuint* /* textures */) {}
-void GLES2InterfaceStub::DepthFunc(GLenum /* func */) {}
-void GLES2InterfaceStub::DepthMask(GLboolean /* flag */) {}
+ const GLuint* /* textures */) {
+}
+void GLES2InterfaceStub::DepthFunc(GLenum /* func */) {
+}
+void GLES2InterfaceStub::DepthMask(GLboolean /* flag */) {
+}
void GLES2InterfaceStub::DepthRangef(GLclampf /* zNear */,
- GLclampf /* zFar */) {}
+ GLclampf /* zFar */) {
+}
void GLES2InterfaceStub::DetachShader(GLuint /* program */,
- GLuint /* shader */) {}
-void GLES2InterfaceStub::Disable(GLenum /* cap */) {}
-void GLES2InterfaceStub::DisableVertexAttribArray(GLuint /* index */) {}
+ GLuint /* shader */) {
+}
+void GLES2InterfaceStub::Disable(GLenum /* cap */) {
+}
+void GLES2InterfaceStub::DisableVertexAttribArray(GLuint /* index */) {
+}
void GLES2InterfaceStub::DrawArrays(GLenum /* mode */,
GLint /* first */,
- GLsizei /* count */) {}
+ GLsizei /* count */) {
+}
void GLES2InterfaceStub::DrawElements(GLenum /* mode */,
GLsizei /* count */,
GLenum /* type */,
- const void* /* indices */) {}
-void GLES2InterfaceStub::Enable(GLenum /* cap */) {}
-void GLES2InterfaceStub::EnableVertexAttribArray(GLuint /* index */) {}
-void GLES2InterfaceStub::Finish() {}
-void GLES2InterfaceStub::Flush() {}
+ const void* /* indices */) {
+}
+void GLES2InterfaceStub::Enable(GLenum /* cap */) {
+}
+void GLES2InterfaceStub::EnableVertexAttribArray(GLuint /* index */) {
+}
+void GLES2InterfaceStub::Finish() {
+}
+void GLES2InterfaceStub::Flush() {
+}
void GLES2InterfaceStub::FramebufferRenderbuffer(
GLenum /* target */,
GLenum /* attachment */,
GLenum /* renderbuffertarget */,
- GLuint /* renderbuffer */) {}
+ GLuint /* renderbuffer */) {
+}
void GLES2InterfaceStub::FramebufferTexture2D(GLenum /* target */,
GLenum /* attachment */,
GLenum /* textarget */,
GLuint /* texture */,
- GLint /* level */) {}
-void GLES2InterfaceStub::FrontFace(GLenum /* mode */) {}
-void GLES2InterfaceStub::GenBuffers(GLsizei /* n */, GLuint* /* buffers */) {}
-void GLES2InterfaceStub::GenerateMipmap(GLenum /* target */) {}
+ GLint /* level */) {
+}
+void GLES2InterfaceStub::FrontFace(GLenum /* mode */) {
+}
+void GLES2InterfaceStub::GenBuffers(GLsizei /* n */, GLuint* /* buffers */) {
+}
+void GLES2InterfaceStub::GenerateMipmap(GLenum /* target */) {
+}
void GLES2InterfaceStub::GenFramebuffers(GLsizei /* n */,
- GLuint* /* framebuffers */) {}
+ GLuint* /* framebuffers */) {
+}
void GLES2InterfaceStub::GenRenderbuffers(GLsizei /* n */,
- GLuint* /* renderbuffers */) {}
-void GLES2InterfaceStub::GenTextures(GLsizei /* n */, GLuint* /* textures */) {}
+ GLuint* /* renderbuffers */) {
+}
+void GLES2InterfaceStub::GenTextures(GLsizei /* n */, GLuint* /* textures */) {
+}
void GLES2InterfaceStub::GetActiveAttrib(GLuint /* program */,
GLuint /* index */,
GLsizei /* bufsize */,
GLsizei* /* length */,
GLint* /* size */,
GLenum* /* type */,
- char* /* name */) {}
+ char* /* name */) {
+}
void GLES2InterfaceStub::GetActiveUniform(GLuint /* program */,
GLuint /* index */,
GLsizei /* bufsize */,
GLsizei* /* length */,
GLint* /* size */,
GLenum* /* type */,
- char* /* name */) {}
+ char* /* name */) {
+}
void GLES2InterfaceStub::GetAttachedShaders(GLuint /* program */,
GLsizei /* maxcount */,
GLsizei* /* count */,
- GLuint* /* shaders */) {}
+ GLuint* /* shaders */) {
+}
GLint GLES2InterfaceStub::GetAttribLocation(GLuint /* program */,
const char* /* name */) {
return 0;
}
void GLES2InterfaceStub::GetBooleanv(GLenum /* pname */,
- GLboolean* /* params */) {}
+ GLboolean* /* params */) {
+}
void GLES2InterfaceStub::GetBufferParameteriv(GLenum /* target */,
GLenum /* pname */,
- GLint* /* params */) {}
-GLenum GLES2InterfaceStub::GetError() { return 0; }
-void GLES2InterfaceStub::GetFloatv(GLenum /* pname */, GLfloat* /* params */) {}
+ GLint* /* params */) {
+}
+GLenum GLES2InterfaceStub::GetError() {
+ return 0;
+}
+void GLES2InterfaceStub::GetFloatv(GLenum /* pname */, GLfloat* /* params */) {
+}
void GLES2InterfaceStub::GetFramebufferAttachmentParameteriv(
GLenum /* target */,
GLenum /* attachment */,
GLenum /* pname */,
- GLint* /* params */) {}
-void GLES2InterfaceStub::GetIntegerv(GLenum /* pname */, GLint* /* params */) {}
+ GLint* /* params */) {
+}
+void GLES2InterfaceStub::GetIntegerv(GLenum /* pname */, GLint* /* params */) {
+}
void GLES2InterfaceStub::GetProgramiv(GLuint /* program */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetProgramInfoLog(GLuint /* program */,
GLsizei /* bufsize */,
GLsizei* /* length */,
- char* /* infolog */) {}
+ char* /* infolog */) {
+}
void GLES2InterfaceStub::GetRenderbufferParameteriv(GLenum /* target */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetShaderiv(GLuint /* shader */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetShaderInfoLog(GLuint /* shader */,
GLsizei /* bufsize */,
GLsizei* /* length */,
- char* /* infolog */) {}
+ char* /* infolog */) {
+}
void GLES2InterfaceStub::GetShaderPrecisionFormat(GLenum /* shadertype */,
GLenum /* precisiontype */,
GLint* /* range */,
- GLint* /* precision */) {}
+ GLint* /* precision */) {
+}
void GLES2InterfaceStub::GetShaderSource(GLuint /* shader */,
GLsizei /* bufsize */,
GLsizei* /* length */,
- char* /* source */) {}
-const GLubyte* GLES2InterfaceStub::GetString(GLenum /* name */) { return 0; }
+ char* /* source */) {
+}
+const GLubyte* GLES2InterfaceStub::GetString(GLenum /* name */) {
+ return 0;
+}
void GLES2InterfaceStub::GetTexParameterfv(GLenum /* target */,
GLenum /* pname */,
- GLfloat* /* params */) {}
+ GLfloat* /* params */) {
+}
void GLES2InterfaceStub::GetTexParameteriv(GLenum /* target */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetUniformfv(GLuint /* program */,
GLint /* location */,
- GLfloat* /* params */) {}
+ GLfloat* /* params */) {
+}
void GLES2InterfaceStub::GetUniformiv(GLuint /* program */,
GLint /* location */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
GLint GLES2InterfaceStub::GetUniformLocation(GLuint /* program */,
const char* /* name */) {
return 0;
}
void GLES2InterfaceStub::GetVertexAttribfv(GLuint /* index */,
GLenum /* pname */,
- GLfloat* /* params */) {}
+ GLfloat* /* params */) {
+}
void GLES2InterfaceStub::GetVertexAttribiv(GLuint /* index */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetVertexAttribPointerv(GLuint /* index */,
GLenum /* pname */,
- void** /* pointer */) {}
-void GLES2InterfaceStub::Hint(GLenum /* target */, GLenum /* mode */) {}
-GLboolean GLES2InterfaceStub::IsBuffer(GLuint /* buffer */) { return 0; }
-GLboolean GLES2InterfaceStub::IsEnabled(GLenum /* cap */) { return 0; }
+ void** /* pointer */) {
+}
+void GLES2InterfaceStub::Hint(GLenum /* target */, GLenum /* mode */) {
+}
+GLboolean GLES2InterfaceStub::IsBuffer(GLuint /* buffer */) {
+ return 0;
+}
+GLboolean GLES2InterfaceStub::IsEnabled(GLenum /* cap */) {
+ return 0;
+}
GLboolean GLES2InterfaceStub::IsFramebuffer(GLuint /* framebuffer */) {
return 0;
}
-GLboolean GLES2InterfaceStub::IsProgram(GLuint /* program */) { return 0; }
+GLboolean GLES2InterfaceStub::IsProgram(GLuint /* program */) {
+ return 0;
+}
GLboolean GLES2InterfaceStub::IsRenderbuffer(GLuint /* renderbuffer */) {
return 0;
}
-GLboolean GLES2InterfaceStub::IsShader(GLuint /* shader */) { return 0; }
-GLboolean GLES2InterfaceStub::IsTexture(GLuint /* texture */) { return 0; }
-void GLES2InterfaceStub::LineWidth(GLfloat /* width */) {}
-void GLES2InterfaceStub::LinkProgram(GLuint /* program */) {}
-void GLES2InterfaceStub::PixelStorei(GLenum /* pname */, GLint /* param */) {}
+GLboolean GLES2InterfaceStub::IsShader(GLuint /* shader */) {
+ return 0;
+}
+GLboolean GLES2InterfaceStub::IsTexture(GLuint /* texture */) {
+ return 0;
+}
+void GLES2InterfaceStub::LineWidth(GLfloat /* width */) {
+}
+void GLES2InterfaceStub::LinkProgram(GLuint /* program */) {
+}
+void GLES2InterfaceStub::PixelStorei(GLenum /* pname */, GLint /* param */) {
+}
void GLES2InterfaceStub::PolygonOffset(GLfloat /* factor */,
- GLfloat /* units */) {}
+ GLfloat /* units */) {
+}
void GLES2InterfaceStub::ReadPixels(GLint /* x */,
GLint /* y */,
GLsizei /* width */,
GLsizei /* height */,
GLenum /* format */,
GLenum /* type */,
- void* /* pixels */) {}
-void GLES2InterfaceStub::ReleaseShaderCompiler() {}
+ void* /* pixels */) {
+}
+void GLES2InterfaceStub::ReleaseShaderCompiler() {
+}
void GLES2InterfaceStub::RenderbufferStorage(GLenum /* target */,
GLenum /* internalformat */,
GLsizei /* width */,
- GLsizei /* height */) {}
+ GLsizei /* height */) {
+}
void GLES2InterfaceStub::SampleCoverage(GLclampf /* value */,
- GLboolean /* invert */) {}
+ GLboolean /* invert */) {
+}
void GLES2InterfaceStub::Scissor(GLint /* x */,
GLint /* y */,
GLsizei /* width */,
- GLsizei /* height */) {}
+ GLsizei /* height */) {
+}
void GLES2InterfaceStub::ShaderBinary(GLsizei /* n */,
const GLuint* /* shaders */,
GLenum /* binaryformat */,
const void* /* binary */,
- GLsizei /* length */) {}
+ GLsizei /* length */) {
+}
void GLES2InterfaceStub::ShaderSource(GLuint /* shader */,
GLsizei /* count */,
const GLchar* const* /* str */,
- const GLint* /* length */) {}
-void GLES2InterfaceStub::ShallowFinishCHROMIUM() {}
-void GLES2InterfaceStub::ShallowFlushCHROMIUM() {}
+ const GLint* /* length */) {
+}
+void GLES2InterfaceStub::ShallowFinishCHROMIUM() {
+}
+void GLES2InterfaceStub::ShallowFlushCHROMIUM() {
+}
void GLES2InterfaceStub::StencilFunc(GLenum /* func */,
GLint /* ref */,
- GLuint /* mask */) {}
+ GLuint /* mask */) {
+}
void GLES2InterfaceStub::StencilFuncSeparate(GLenum /* face */,
GLenum /* func */,
GLint /* ref */,
- GLuint /* mask */) {}
-void GLES2InterfaceStub::StencilMask(GLuint /* mask */) {}
+ GLuint /* mask */) {
+}
+void GLES2InterfaceStub::StencilMask(GLuint /* mask */) {
+}
void GLES2InterfaceStub::StencilMaskSeparate(GLenum /* face */,
- GLuint /* mask */) {}
+ GLuint /* mask */) {
+}
void GLES2InterfaceStub::StencilOp(GLenum /* fail */,
GLenum /* zfail */,
- GLenum /* zpass */) {}
+ GLenum /* zpass */) {
+}
void GLES2InterfaceStub::StencilOpSeparate(GLenum /* face */,
GLenum /* fail */,
GLenum /* zfail */,
- GLenum /* zpass */) {}
+ GLenum /* zpass */) {
+}
void GLES2InterfaceStub::TexImage2D(GLenum /* target */,
GLint /* level */,
GLint /* internalformat */,
@@ -302,19 +412,24 @@ void GLES2InterfaceStub::TexImage2D(GLenum /* target */,
GLint /* border */,
GLenum /* format */,
GLenum /* type */,
- const void* /* pixels */) {}
+ const void* /* pixels */) {
+}
void GLES2InterfaceStub::TexParameterf(GLenum /* target */,
GLenum /* pname */,
- GLfloat /* param */) {}
+ GLfloat /* param */) {
+}
void GLES2InterfaceStub::TexParameterfv(GLenum /* target */,
GLenum /* pname */,
- const GLfloat* /* params */) {}
+ const GLfloat* /* params */) {
+}
void GLES2InterfaceStub::TexParameteri(GLenum /* target */,
GLenum /* pname */,
- GLint /* param */) {}
+ GLint /* param */) {
+}
void GLES2InterfaceStub::TexParameteriv(GLenum /* target */,
GLenum /* pname */,
- const GLint* /* params */) {}
+ const GLint* /* params */) {
+}
void GLES2InterfaceStub::TexSubImage2D(GLenum /* target */,
GLint /* level */,
GLint /* xoffset */,
@@ -323,102 +438,134 @@ void GLES2InterfaceStub::TexSubImage2D(GLenum /* target */,
GLsizei /* height */,
GLenum /* format */,
GLenum /* type */,
- const void* /* pixels */) {}
-void GLES2InterfaceStub::Uniform1f(GLint /* location */, GLfloat /* x */) {}
+ const void* /* pixels */) {
+}
+void GLES2InterfaceStub::Uniform1f(GLint /* location */, GLfloat /* x */) {
+}
void GLES2InterfaceStub::Uniform1fv(GLint /* location */,
GLsizei /* count */,
- const GLfloat* /* v */) {}
-void GLES2InterfaceStub::Uniform1i(GLint /* location */, GLint /* x */) {}
+ const GLfloat* /* v */) {
+}
+void GLES2InterfaceStub::Uniform1i(GLint /* location */, GLint /* x */) {
+}
void GLES2InterfaceStub::Uniform1iv(GLint /* location */,
GLsizei /* count */,
- const GLint* /* v */) {}
+ const GLint* /* v */) {
+}
void GLES2InterfaceStub::Uniform2f(GLint /* location */,
GLfloat /* x */,
- GLfloat /* y */) {}
+ GLfloat /* y */) {
+}
void GLES2InterfaceStub::Uniform2fv(GLint /* location */,
GLsizei /* count */,
- const GLfloat* /* v */) {}
+ const GLfloat* /* v */) {
+}
void GLES2InterfaceStub::Uniform2i(GLint /* location */,
GLint /* x */,
- GLint /* y */) {}
+ GLint /* y */) {
+}
void GLES2InterfaceStub::Uniform2iv(GLint /* location */,
GLsizei /* count */,
- const GLint* /* v */) {}
+ const GLint* /* v */) {
+}
void GLES2InterfaceStub::Uniform3f(GLint /* location */,
GLfloat /* x */,
GLfloat /* y */,
- GLfloat /* z */) {}
+ GLfloat /* z */) {
+}
void GLES2InterfaceStub::Uniform3fv(GLint /* location */,
GLsizei /* count */,
- const GLfloat* /* v */) {}
+ const GLfloat* /* v */) {
+}
void GLES2InterfaceStub::Uniform3i(GLint /* location */,
GLint /* x */,
GLint /* y */,
- GLint /* z */) {}
+ GLint /* z */) {
+}
void GLES2InterfaceStub::Uniform3iv(GLint /* location */,
GLsizei /* count */,
- const GLint* /* v */) {}
+ const GLint* /* v */) {
+}
void GLES2InterfaceStub::Uniform4f(GLint /* location */,
GLfloat /* x */,
GLfloat /* y */,
GLfloat /* z */,
- GLfloat /* w */) {}
+ GLfloat /* w */) {
+}
void GLES2InterfaceStub::Uniform4fv(GLint /* location */,
GLsizei /* count */,
- const GLfloat* /* v */) {}
+ const GLfloat* /* v */) {
+}
void GLES2InterfaceStub::Uniform4i(GLint /* location */,
GLint /* x */,
GLint /* y */,
GLint /* z */,
- GLint /* w */) {}
+ GLint /* w */) {
+}
void GLES2InterfaceStub::Uniform4iv(GLint /* location */,
GLsizei /* count */,
- const GLint* /* v */) {}
+ const GLint* /* v */) {
+}
void GLES2InterfaceStub::UniformMatrix2fv(GLint /* location */,
GLsizei /* count */,
GLboolean /* transpose */,
- const GLfloat* /* value */) {}
+ const GLfloat* /* value */) {
+}
void GLES2InterfaceStub::UniformMatrix3fv(GLint /* location */,
GLsizei /* count */,
GLboolean /* transpose */,
- const GLfloat* /* value */) {}
+ const GLfloat* /* value */) {
+}
void GLES2InterfaceStub::UniformMatrix4fv(GLint /* location */,
GLsizei /* count */,
GLboolean /* transpose */,
- const GLfloat* /* value */) {}
-void GLES2InterfaceStub::UseProgram(GLuint /* program */) {}
-void GLES2InterfaceStub::ValidateProgram(GLuint /* program */) {}
-void GLES2InterfaceStub::VertexAttrib1f(GLuint /* indx */, GLfloat /* x */) {}
+ const GLfloat* /* value */) {
+}
+void GLES2InterfaceStub::UseProgram(GLuint /* program */) {
+}
+void GLES2InterfaceStub::ValidateProgram(GLuint /* program */) {
+}
+void GLES2InterfaceStub::VertexAttrib1f(GLuint /* indx */, GLfloat /* x */) {
+}
void GLES2InterfaceStub::VertexAttrib1fv(GLuint /* indx */,
- const GLfloat* /* values */) {}
+ const GLfloat* /* values */) {
+}
void GLES2InterfaceStub::VertexAttrib2f(GLuint /* indx */,
GLfloat /* x */,
- GLfloat /* y */) {}
+ GLfloat /* y */) {
+}
void GLES2InterfaceStub::VertexAttrib2fv(GLuint /* indx */,
- const GLfloat* /* values */) {}
+ const GLfloat* /* values */) {
+}
void GLES2InterfaceStub::VertexAttrib3f(GLuint /* indx */,
GLfloat /* x */,
GLfloat /* y */,
- GLfloat /* z */) {}
+ GLfloat /* z */) {
+}
void GLES2InterfaceStub::VertexAttrib3fv(GLuint /* indx */,
- const GLfloat* /* values */) {}
+ const GLfloat* /* values */) {
+}
void GLES2InterfaceStub::VertexAttrib4f(GLuint /* indx */,
GLfloat /* x */,
GLfloat /* y */,
GLfloat /* z */,
- GLfloat /* w */) {}
+ GLfloat /* w */) {
+}
void GLES2InterfaceStub::VertexAttrib4fv(GLuint /* indx */,
- const GLfloat* /* values */) {}
+ const GLfloat* /* values */) {
+}
void GLES2InterfaceStub::VertexAttribPointer(GLuint /* indx */,
GLint /* size */,
GLenum /* type */,
GLboolean /* normalized */,
GLsizei /* stride */,
- const void* /* ptr */) {}
+ const void* /* ptr */) {
+}
void GLES2InterfaceStub::Viewport(GLint /* x */,
GLint /* y */,
GLsizei /* width */,
- GLsizei /* height */) {}
+ GLsizei /* height */) {
+}
void GLES2InterfaceStub::BlitFramebufferCHROMIUM(GLint /* srcX0 */,
GLint /* srcY0 */,
GLint /* srcX1 */,
@@ -428,56 +575,77 @@ void GLES2InterfaceStub::BlitFramebufferCHROMIUM(GLint /* srcX0 */,
GLint /* dstX1 */,
GLint /* dstY1 */,
GLbitfield /* mask */,
- GLenum /* filter */) {}
+ GLenum /* filter */) {
+}
void GLES2InterfaceStub::RenderbufferStorageMultisampleCHROMIUM(
GLenum /* target */,
GLsizei /* samples */,
GLenum /* internalformat */,
GLsizei /* width */,
- GLsizei /* height */) {}
+ GLsizei /* height */) {
+}
void GLES2InterfaceStub::RenderbufferStorageMultisampleEXT(
GLenum /* target */,
GLsizei /* samples */,
GLenum /* internalformat */,
GLsizei /* width */,
- GLsizei /* height */) {}
+ GLsizei /* height */) {
+}
void GLES2InterfaceStub::FramebufferTexture2DMultisampleEXT(
GLenum /* target */,
GLenum /* attachment */,
GLenum /* textarget */,
GLuint /* texture */,
GLint /* level */,
- GLsizei /* samples */) {}
+ GLsizei /* samples */) {
+}
void GLES2InterfaceStub::TexStorage2DEXT(GLenum /* target */,
GLsizei /* levels */,
GLenum /* internalFormat */,
GLsizei /* width */,
- GLsizei /* height */) {}
+ GLsizei /* height */) {
+}
void GLES2InterfaceStub::GenQueriesEXT(GLsizei /* n */, GLuint* /* queries */) {
}
void GLES2InterfaceStub::DeleteQueriesEXT(GLsizei /* n */,
- const GLuint* /* queries */) {}
-GLboolean GLES2InterfaceStub::IsQueryEXT(GLuint /* id */) { return 0; }
-void GLES2InterfaceStub::BeginQueryEXT(GLenum /* target */, GLuint /* id */) {}
-void GLES2InterfaceStub::EndQueryEXT(GLenum /* target */) {}
+ const GLuint* /* queries */) {
+}
+GLboolean GLES2InterfaceStub::IsQueryEXT(GLuint /* id */) {
+ return 0;
+}
+void GLES2InterfaceStub::BeginQueryEXT(GLenum /* target */, GLuint /* id */) {
+}
+void GLES2InterfaceStub::EndQueryEXT(GLenum /* target */) {
+}
void GLES2InterfaceStub::GetQueryivEXT(GLenum /* target */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetQueryObjectuivEXT(GLuint /* id */,
GLenum /* pname */,
- GLuint* /* params */) {}
+ GLuint* /* params */) {
+}
void GLES2InterfaceStub::InsertEventMarkerEXT(GLsizei /* length */,
- const GLchar* /* marker */) {}
+ const GLchar* /* marker */) {
+}
void GLES2InterfaceStub::PushGroupMarkerEXT(GLsizei /* length */,
- const GLchar* /* marker */) {}
-void GLES2InterfaceStub::PopGroupMarkerEXT() {}
+ const GLchar* /* marker */) {
+}
+void GLES2InterfaceStub::PopGroupMarkerEXT() {
+}
void GLES2InterfaceStub::GenVertexArraysOES(GLsizei /* n */,
- GLuint* /* arrays */) {}
+ GLuint* /* arrays */) {
+}
void GLES2InterfaceStub::DeleteVertexArraysOES(GLsizei /* n */,
- const GLuint* /* arrays */) {}
-GLboolean GLES2InterfaceStub::IsVertexArrayOES(GLuint /* array */) { return 0; }
-void GLES2InterfaceStub::BindVertexArrayOES(GLuint /* array */) {}
-void GLES2InterfaceStub::SwapBuffers() {}
+ const GLuint* /* arrays */) {
+}
+GLboolean GLES2InterfaceStub::IsVertexArrayOES(GLuint /* array */) {
+ return 0;
+}
+void GLES2InterfaceStub::BindVertexArrayOES(GLuint /* array */) {
+}
+void GLES2InterfaceStub::SwapBuffers() {
+}
GLuint GLES2InterfaceStub::GetMaxValueInBufferCHROMIUM(GLuint /* buffer_id */,
GLsizei /* count */,
GLenum /* type */,
@@ -487,13 +655,16 @@ GLuint GLES2InterfaceStub::GetMaxValueInBufferCHROMIUM(GLuint /* buffer_id */,
void GLES2InterfaceStub::GenSharedIdsCHROMIUM(GLuint /* namespace_id */,
GLuint /* id_offset */,
GLsizei /* n */,
- GLuint* /* ids */) {}
+ GLuint* /* ids */) {
+}
void GLES2InterfaceStub::DeleteSharedIdsCHROMIUM(GLuint /* namespace_id */,
GLsizei /* n */,
- const GLuint* /* ids */) {}
+ const GLuint* /* ids */) {
+}
void GLES2InterfaceStub::RegisterSharedIdsCHROMIUM(GLuint /* namespace_id */,
GLsizei /* n */,
- const GLuint* /* ids */) {}
+ const GLuint* /* ids */) {
+}
GLboolean GLES2InterfaceStub::EnableFeatureCHROMIUM(const char* /* feature */) {
return 0;
}
@@ -508,14 +679,16 @@ void* GLES2InterfaceStub::MapImageCHROMIUM(GLuint /* image_id */,
GLenum /* access */) {
return 0;
}
-void GLES2InterfaceStub::UnmapImageCHROMIUM(GLuint /* image_id */) {}
+void GLES2InterfaceStub::UnmapImageCHROMIUM(GLuint /* image_id */) {
+}
void* GLES2InterfaceStub::MapBufferSubDataCHROMIUM(GLuint /* target */,
GLintptr /* offset */,
GLsizeiptr /* size */,
GLenum /* access */) {
return 0;
}
-void GLES2InterfaceStub::UnmapBufferSubDataCHROMIUM(const void* /* mem */) {}
+void GLES2InterfaceStub::UnmapBufferSubDataCHROMIUM(const void* /* mem */) {
+}
void* GLES2InterfaceStub::MapTexSubImage2DCHROMIUM(GLenum /* target */,
GLint /* level */,
GLint /* xoffset */,
@@ -527,24 +700,29 @@ void* GLES2InterfaceStub::MapTexSubImage2DCHROMIUM(GLenum /* target */,
GLenum /* access */) {
return 0;
}
-void GLES2InterfaceStub::UnmapTexSubImage2DCHROMIUM(const void* /* mem */) {}
+void GLES2InterfaceStub::UnmapTexSubImage2DCHROMIUM(const void* /* mem */) {
+}
void GLES2InterfaceStub::ResizeCHROMIUM(GLuint /* width */,
GLuint /* height */,
- GLfloat /* scale_factor */) {}
+ GLfloat /* scale_factor */) {
+}
const GLchar* GLES2InterfaceStub::GetRequestableExtensionsCHROMIUM() {
return 0;
}
void GLES2InterfaceStub::RequestExtensionCHROMIUM(const char* /* extension */) {
}
-void GLES2InterfaceStub::RateLimitOffscreenContextCHROMIUM() {}
+void GLES2InterfaceStub::RateLimitOffscreenContextCHROMIUM() {
+}
void GLES2InterfaceStub::GetMultipleIntegervCHROMIUM(const GLenum* /* pnames */,
GLuint /* count */,
GLint* /* results */,
- GLsizeiptr /* size */) {}
+ GLsizeiptr /* size */) {
+}
void GLES2InterfaceStub::GetProgramInfoCHROMIUM(GLuint /* program */,
GLsizei /* bufsize */,
GLsizei* /* size */,
- void* /* info */) {}
+ void* /* info */) {
+}
GLuint GLES2InterfaceStub::CreateStreamTextureCHROMIUM(GLuint /* texture */) {
return 0;
}
@@ -553,54 +731,71 @@ GLuint GLES2InterfaceStub::CreateImageCHROMIUM(GLsizei /* width */,
GLenum /* internalformat */) {
return 0;
}
-void GLES2InterfaceStub::DestroyImageCHROMIUM(GLuint /* image_id */) {}
+void GLES2InterfaceStub::DestroyImageCHROMIUM(GLuint /* image_id */) {
+}
void GLES2InterfaceStub::GetImageParameterivCHROMIUM(GLuint /* image_id */,
GLenum /* pname */,
- GLint* /* params */) {}
+ GLint* /* params */) {
+}
void GLES2InterfaceStub::GetTranslatedShaderSourceANGLE(GLuint /* shader */,
GLsizei /* bufsize */,
GLsizei* /* length */,
- char* /* source */) {}
+ char* /* source */) {
+}
void GLES2InterfaceStub::PostSubBufferCHROMIUM(GLint /* x */,
GLint /* y */,
GLint /* width */,
- GLint /* height */) {}
+ GLint /* height */) {
+}
void GLES2InterfaceStub::TexImageIOSurface2DCHROMIUM(GLenum /* target */,
GLsizei /* width */,
GLsizei /* height */,
GLuint /* ioSurfaceId */,
- GLuint /* plane */) {}
+ GLuint /* plane */) {
+}
void GLES2InterfaceStub::CopyTextureCHROMIUM(GLenum /* target */,
GLenum /* source_id */,
GLenum /* dest_id */,
GLint /* level */,
GLint /* internalformat */,
- GLenum /* dest_type */) {}
+ GLenum /* dest_type */) {
+}
void GLES2InterfaceStub::DrawArraysInstancedANGLE(GLenum /* mode */,
GLint /* first */,
GLsizei /* count */,
- GLsizei /* primcount */) {}
+ GLsizei /* primcount */) {
+}
void GLES2InterfaceStub::DrawElementsInstancedANGLE(GLenum /* mode */,
GLsizei /* count */,
GLenum /* type */,
const void* /* indices */,
- GLsizei /* primcount */) {}
+ GLsizei /* primcount */) {
+}
void GLES2InterfaceStub::VertexAttribDivisorANGLE(GLuint /* index */,
- GLuint /* divisor */) {}
-void GLES2InterfaceStub::GenMailboxCHROMIUM(GLbyte* /* mailbox */) {}
+ GLuint /* divisor */) {
+}
+void GLES2InterfaceStub::GenMailboxCHROMIUM(GLbyte* /* mailbox */) {
+}
void GLES2InterfaceStub::ProduceTextureCHROMIUM(GLenum /* target */,
- const GLbyte* /* mailbox */) {}
+ const GLbyte* /* mailbox */) {
+}
void GLES2InterfaceStub::ConsumeTextureCHROMIUM(GLenum /* target */,
- const GLbyte* /* mailbox */) {}
+ const GLbyte* /* mailbox */) {
+}
void GLES2InterfaceStub::BindUniformLocationCHROMIUM(GLuint /* program */,
GLint /* location */,
- const char* /* name */) {}
+ const char* /* name */) {
+}
void GLES2InterfaceStub::BindTexImage2DCHROMIUM(GLenum /* target */,
- GLint /* imageId */) {}
+ GLint /* imageId */) {
+}
void GLES2InterfaceStub::ReleaseTexImage2DCHROMIUM(GLenum /* target */,
- GLint /* imageId */) {}
-void GLES2InterfaceStub::TraceBeginCHROMIUM(const char* /* name */) {}
-void GLES2InterfaceStub::TraceEndCHROMIUM() {}
+ GLint /* imageId */) {
+}
+void GLES2InterfaceStub::TraceBeginCHROMIUM(const char* /* name */) {
+}
+void GLES2InterfaceStub::TraceEndCHROMIUM() {
+}
void GLES2InterfaceStub::AsyncTexSubImage2DCHROMIUM(GLenum /* target */,
GLint /* level */,
GLint /* xoffset */,
@@ -609,7 +804,8 @@ void GLES2InterfaceStub::AsyncTexSubImage2DCHROMIUM(GLenum /* target */,
GLsizei /* height */,
GLenum /* format */,
GLenum /* type */,
- const void* /* data */) {}
+ const void* /* data */) {
+}
void GLES2InterfaceStub::AsyncTexImage2DCHROMIUM(GLenum /* target */,
GLint /* level */,
GLint /* internalformat */,
@@ -618,20 +814,30 @@ void GLES2InterfaceStub::AsyncTexImage2DCHROMIUM(GLenum /* target */,
GLint /* border */,
GLenum /* format */,
GLenum /* type */,
- const void* /* pixels */) {}
-void GLES2InterfaceStub::WaitAsyncTexImage2DCHROMIUM(GLenum /* target */) {}
-void GLES2InterfaceStub::WaitAllAsyncTexImage2DCHROMIUM() {}
+ const void* /* pixels */) {
+}
+void GLES2InterfaceStub::WaitAsyncTexImage2DCHROMIUM(GLenum /* target */) {
+}
+void GLES2InterfaceStub::WaitAllAsyncTexImage2DCHROMIUM() {
+}
void GLES2InterfaceStub::DiscardFramebufferEXT(
GLenum /* target */,
GLsizei /* count */,
- const GLenum* /* attachments */) {}
+ const GLenum* /* attachments */) {
+}
void GLES2InterfaceStub::LoseContextCHROMIUM(GLenum /* current */,
- GLenum /* other */) {}
-GLuint GLES2InterfaceStub::InsertSyncPointCHROMIUM() { return 0; }
-void GLES2InterfaceStub::WaitSyncPointCHROMIUM(GLuint /* sync_point */) {}
+ GLenum /* other */) {
+}
+GLuint GLES2InterfaceStub::InsertSyncPointCHROMIUM() {
+ return 0;
+}
+void GLES2InterfaceStub::WaitSyncPointCHROMIUM(GLuint /* sync_point */) {
+}
void GLES2InterfaceStub::DrawBuffersEXT(GLsizei /* count */,
- const GLenum* /* bufs */) {}
-void GLES2InterfaceStub::DiscardBackbufferCHROMIUM() {}
+ const GLenum* /* bufs */) {
+}
+void GLES2InterfaceStub::DiscardBackbufferCHROMIUM() {
+}
void GLES2InterfaceStub::ScheduleOverlayPlaneCHROMIUM(
GLint /* plane_z_order */,
GLenum /* plane_transform */,
@@ -643,5 +849,6 @@ void GLES2InterfaceStub::ScheduleOverlayPlaneCHROMIUM(
GLfloat /* uv_x */,
GLfloat /* uv_y */,
GLfloat /* uv_width */,
- GLfloat /* uv_height */) {}
+ GLfloat /* uv_height */) {
+}
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_IMPL_AUTOGEN_H_
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_autogen.h
index 1eb9185..a6f8256 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_autogen.h
@@ -287,8 +287,10 @@ virtual void Uniform2fv(GLint location,
const GLfloat* v) OVERRIDE;
virtual void Uniform2i(GLint location, GLint x, GLint y) OVERRIDE;
virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
-virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void Uniform3f(GLint location,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void Uniform3fv(GLint location,
GLsizei count,
const GLfloat* v) OVERRIDE;
@@ -302,8 +304,11 @@ virtual void Uniform4f(GLint location,
virtual void Uniform4fv(GLint location,
GLsizei count,
const GLfloat* v) OVERRIDE;
-virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)
- OVERRIDE;
+virtual void Uniform4i(GLint location,
+ GLint x,
+ GLint y,
+ GLint z,
+ GLint w) OVERRIDE;
virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
virtual void UniformMatrix2fv(GLint location,
GLsizei count,
@@ -323,8 +328,10 @@ virtual void VertexAttrib1f(GLuint indx, GLfloat x) OVERRIDE;
virtual void VertexAttrib1fv(GLuint indx, const GLfloat* values) OVERRIDE;
virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) OVERRIDE;
virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) OVERRIDE;
-virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void VertexAttrib3f(GLuint indx,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) OVERRIDE;
virtual void VertexAttrib4f(GLuint indx,
GLfloat x,
@@ -448,8 +455,10 @@ virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* source) OVERRIDE;
-virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height)
- OVERRIDE;
+virtual void PostSubBufferCHROMIUM(GLint x,
+ GLint y,
+ GLint width,
+ GLint height) OVERRIDE;
virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
GLsizei width,
GLsizei height,
diff --git a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
index 98b91b5..9b6836d 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
@@ -511,7 +511,9 @@ TEST_F(GLES2FormatTest, DeleteBuffers) {
}
TEST_F(GLES2FormatTest, DeleteBuffersImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::DeleteBuffersImmediate& cmd =
*GetBufferAs<cmds::DeleteBuffersImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -542,7 +544,9 @@ TEST_F(GLES2FormatTest, DeleteFramebuffers) {
}
TEST_F(GLES2FormatTest, DeleteFramebuffersImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::DeleteFramebuffersImmediate& cmd =
*GetBufferAs<cmds::DeleteFramebuffersImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -583,7 +587,9 @@ TEST_F(GLES2FormatTest, DeleteRenderbuffers) {
}
TEST_F(GLES2FormatTest, DeleteRenderbuffersImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::DeleteRenderbuffersImmediate& cmd =
*GetBufferAs<cmds::DeleteRenderbuffersImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -624,7 +630,9 @@ TEST_F(GLES2FormatTest, DeleteTextures) {
}
TEST_F(GLES2FormatTest, DeleteTexturesImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::DeleteTexturesImmediate& cmd =
*GetBufferAs<cmds::DeleteTexturesImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -828,7 +836,9 @@ TEST_F(GLES2FormatTest, GenBuffers) {
}
TEST_F(GLES2FormatTest, GenBuffersImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::GenBuffersImmediate& cmd = *GetBufferAs<cmds::GenBuffersImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
EXPECT_EQ(static_cast<uint32>(cmds::GenBuffersImmediate::kCmdId),
@@ -868,7 +878,9 @@ TEST_F(GLES2FormatTest, GenFramebuffers) {
}
TEST_F(GLES2FormatTest, GenFramebuffersImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::GenFramebuffersImmediate& cmd =
*GetBufferAs<cmds::GenFramebuffersImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -899,7 +911,9 @@ TEST_F(GLES2FormatTest, GenRenderbuffers) {
}
TEST_F(GLES2FormatTest, GenRenderbuffersImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::GenRenderbuffersImmediate& cmd =
*GetBufferAs<cmds::GenRenderbuffersImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -929,7 +943,9 @@ TEST_F(GLES2FormatTest, GenTextures) {
}
TEST_F(GLES2FormatTest, GenTexturesImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::GenTexturesImmediate& cmd = *GetBufferAs<cmds::GenTexturesImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
EXPECT_EQ(static_cast<uint32>(cmds::GenTexturesImmediate::kCmdId),
@@ -1764,7 +1780,8 @@ TEST_F(GLES2FormatTest, TexParameterfv) {
TEST_F(GLES2FormatTest, TexParameterfvImmediate) {
const int kSomeBaseValueToTestWith = 51;
static GLfloat data[] = {
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 0), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
+ };
cmds::TexParameterfvImmediate& cmd =
*GetBufferAs<cmds::TexParameterfvImmediate>();
void* next_cmd =
@@ -1814,7 +1831,9 @@ TEST_F(GLES2FormatTest, TexParameteriv) {
TEST_F(GLES2FormatTest, TexParameterivImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0), };
+ static GLint data[] = {
+ static_cast<GLint>(kSomeBaseValueToTestWith + 0),
+ };
cmds::TexParameterivImmediate& cmd =
*GetBufferAs<cmds::TexParameterivImmediate>();
void* next_cmd =
@@ -1892,7 +1911,8 @@ TEST_F(GLES2FormatTest, Uniform1fvImmediate) {
const int kSomeBaseValueToTestWith = 51;
static GLfloat data[] = {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 1), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 1),
+ };
cmds::Uniform1fvImmediate& cmd = *GetBufferAs<cmds::Uniform1fvImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -1938,8 +1958,10 @@ TEST_F(GLES2FormatTest, Uniform1iv) {
TEST_F(GLES2FormatTest, Uniform1ivImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0),
- static_cast<GLint>(kSomeBaseValueToTestWith + 1), };
+ static GLint data[] = {
+ static_cast<GLint>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 1),
+ };
cmds::Uniform1ivImmediate& cmd = *GetBufferAs<cmds::Uniform1ivImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -1992,7 +2014,8 @@ TEST_F(GLES2FormatTest, Uniform2fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 1),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 2),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 3), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 3),
+ };
cmds::Uniform2fvImmediate& cmd = *GetBufferAs<cmds::Uniform2fvImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -2041,10 +2064,12 @@ TEST_F(GLES2FormatTest, Uniform2iv) {
TEST_F(GLES2FormatTest, Uniform2ivImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0),
- static_cast<GLint>(kSomeBaseValueToTestWith + 1),
- static_cast<GLint>(kSomeBaseValueToTestWith + 2),
- static_cast<GLint>(kSomeBaseValueToTestWith + 3), };
+ static GLint data[] = {
+ static_cast<GLint>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 1),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 2),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 3),
+ };
cmds::Uniform2ivImmediate& cmd = *GetBufferAs<cmds::Uniform2ivImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -2101,7 +2126,8 @@ TEST_F(GLES2FormatTest, Uniform3fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 2),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 3),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 4),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 5), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 5),
+ };
cmds::Uniform3fvImmediate& cmd = *GetBufferAs<cmds::Uniform3fvImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -2152,12 +2178,14 @@ TEST_F(GLES2FormatTest, Uniform3iv) {
TEST_F(GLES2FormatTest, Uniform3ivImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0),
- static_cast<GLint>(kSomeBaseValueToTestWith + 1),
- static_cast<GLint>(kSomeBaseValueToTestWith + 2),
- static_cast<GLint>(kSomeBaseValueToTestWith + 3),
- static_cast<GLint>(kSomeBaseValueToTestWith + 4),
- static_cast<GLint>(kSomeBaseValueToTestWith + 5), };
+ static GLint data[] = {
+ static_cast<GLint>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 1),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 2),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 3),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 4),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 5),
+ };
cmds::Uniform3ivImmediate& cmd = *GetBufferAs<cmds::Uniform3ivImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -2218,7 +2246,8 @@ TEST_F(GLES2FormatTest, Uniform4fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 4),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 5),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 6),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 7), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 7),
+ };
cmds::Uniform4fvImmediate& cmd = *GetBufferAs<cmds::Uniform4fvImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -2271,14 +2300,16 @@ TEST_F(GLES2FormatTest, Uniform4iv) {
TEST_F(GLES2FormatTest, Uniform4ivImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLint data[] = {static_cast<GLint>(kSomeBaseValueToTestWith + 0),
- static_cast<GLint>(kSomeBaseValueToTestWith + 1),
- static_cast<GLint>(kSomeBaseValueToTestWith + 2),
- static_cast<GLint>(kSomeBaseValueToTestWith + 3),
- static_cast<GLint>(kSomeBaseValueToTestWith + 4),
- static_cast<GLint>(kSomeBaseValueToTestWith + 5),
- static_cast<GLint>(kSomeBaseValueToTestWith + 6),
- static_cast<GLint>(kSomeBaseValueToTestWith + 7), };
+ static GLint data[] = {
+ static_cast<GLint>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 1),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 2),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 3),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 4),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 5),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 6),
+ static_cast<GLint>(kSomeBaseValueToTestWith + 7),
+ };
cmds::Uniform4ivImmediate& cmd = *GetBufferAs<cmds::Uniform4ivImmediate>();
const GLsizei kNumElements = 2;
const size_t kExpectedCmdSize =
@@ -2324,7 +2355,8 @@ TEST_F(GLES2FormatTest, UniformMatrix2fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 4),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 5),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 6),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 7), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 7),
+ };
cmds::UniformMatrix2fvImmediate& cmd =
*GetBufferAs<cmds::UniformMatrix2fvImmediate>();
const GLsizei kNumElements = 2;
@@ -2385,7 +2417,8 @@ TEST_F(GLES2FormatTest, UniformMatrix3fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 14),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 15),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 16),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 17), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 17),
+ };
cmds::UniformMatrix3fvImmediate& cmd =
*GetBufferAs<cmds::UniformMatrix3fvImmediate>();
const GLsizei kNumElements = 2;
@@ -2460,7 +2493,8 @@ TEST_F(GLES2FormatTest, UniformMatrix4fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 28),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 29),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 30),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 31), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 31),
+ };
cmds::UniformMatrix4fvImmediate& cmd =
*GetBufferAs<cmds::UniformMatrix4fvImmediate>();
const GLsizei kNumElements = 2;
@@ -2531,7 +2565,8 @@ TEST_F(GLES2FormatTest, VertexAttrib1fv) {
TEST_F(GLES2FormatTest, VertexAttrib1fvImmediate) {
const int kSomeBaseValueToTestWith = 51;
static GLfloat data[] = {
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 0), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
+ };
cmds::VertexAttrib1fvImmediate& cmd =
*GetBufferAs<cmds::VertexAttrib1fvImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data);
@@ -2579,7 +2614,8 @@ TEST_F(GLES2FormatTest, VertexAttrib2fvImmediate) {
const int kSomeBaseValueToTestWith = 51;
static GLfloat data[] = {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 1), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 1),
+ };
cmds::VertexAttrib2fvImmediate& cmd =
*GetBufferAs<cmds::VertexAttrib2fvImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data);
@@ -2630,7 +2666,8 @@ TEST_F(GLES2FormatTest, VertexAttrib3fvImmediate) {
static GLfloat data[] = {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 1),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 2), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 2),
+ };
cmds::VertexAttrib3fvImmediate& cmd =
*GetBufferAs<cmds::VertexAttrib3fvImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data);
@@ -2684,7 +2721,8 @@ TEST_F(GLES2FormatTest, VertexAttrib4fvImmediate) {
static_cast<GLfloat>(kSomeBaseValueToTestWith + 0),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 1),
static_cast<GLfloat>(kSomeBaseValueToTestWith + 2),
- static_cast<GLfloat>(kSomeBaseValueToTestWith + 3), };
+ static_cast<GLfloat>(kSomeBaseValueToTestWith + 3),
+ };
cmds::VertexAttrib4fvImmediate& cmd =
*GetBufferAs<cmds::VertexAttrib4fvImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11), data);
@@ -2865,7 +2903,9 @@ TEST_F(GLES2FormatTest, GenQueriesEXT) {
}
TEST_F(GLES2FormatTest, GenQueriesEXTImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::GenQueriesEXTImmediate& cmd =
*GetBufferAs<cmds::GenQueriesEXTImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -2896,7 +2936,9 @@ TEST_F(GLES2FormatTest, DeleteQueriesEXT) {
}
TEST_F(GLES2FormatTest, DeleteQueriesEXTImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::DeleteQueriesEXTImmediate& cmd =
*GetBufferAs<cmds::DeleteQueriesEXTImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -2984,7 +3026,9 @@ TEST_F(GLES2FormatTest, GenVertexArraysOES) {
}
TEST_F(GLES2FormatTest, GenVertexArraysOESImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::GenVertexArraysOESImmediate& cmd =
*GetBufferAs<cmds::GenVertexArraysOESImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -3016,7 +3060,9 @@ TEST_F(GLES2FormatTest, DeleteVertexArraysOES) {
}
TEST_F(GLES2FormatTest, DeleteVertexArraysOESImmediate) {
- static GLuint ids[] = {12, 23, 34, };
+ static GLuint ids[] = {
+ 12, 23, 34,
+ };
cmds::DeleteVertexArraysOESImmediate& cmd =
*GetBufferAs<cmds::DeleteVertexArraysOESImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(arraysize(ids)), ids);
@@ -3371,70 +3417,72 @@ TEST_F(GLES2FormatTest, ProduceTextureCHROMIUM) {
TEST_F(GLES2FormatTest, ProduceTextureCHROMIUMImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLbyte data[] = {static_cast<GLbyte>(kSomeBaseValueToTestWith + 0),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 1),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 2),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 3),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 4),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 5),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 6),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 7),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 8),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 9),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 10),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 11),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 12),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 13),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 14),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 15),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 16),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 17),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 18),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 19),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 20),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 21),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 22),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 23),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 24),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 25),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 26),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 27),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 28),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 29),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 30),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 31),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 32),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 33),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 34),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 35),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 36),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 37),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 38),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 39),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 40),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 41),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 42),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 43),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 44),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 45),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 46),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 47),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 48),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 49),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 50),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 51),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 52),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 53),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 54),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 55),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 56),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 57),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 58),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 59),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 60),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 61),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 62),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 63), };
+ static GLbyte data[] = {
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 1),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 2),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 3),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 4),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 5),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 6),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 7),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 8),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 9),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 10),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 11),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 12),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 13),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 14),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 15),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 16),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 17),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 18),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 19),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 20),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 21),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 22),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 23),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 24),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 25),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 26),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 27),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 28),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 29),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 30),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 31),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 32),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 33),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 34),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 35),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 36),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 37),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 38),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 39),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 40),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 41),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 42),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 43),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 44),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 45),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 46),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 47),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 48),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 49),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 50),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 51),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 52),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 53),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 54),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 55),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 56),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 57),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 58),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 59),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 60),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 61),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 62),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 63),
+ };
cmds::ProduceTextureCHROMIUMImmediate& cmd =
*GetBufferAs<cmds::ProduceTextureCHROMIUMImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11), data);
@@ -3466,70 +3514,72 @@ TEST_F(GLES2FormatTest, ConsumeTextureCHROMIUM) {
TEST_F(GLES2FormatTest, ConsumeTextureCHROMIUMImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLbyte data[] = {static_cast<GLbyte>(kSomeBaseValueToTestWith + 0),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 1),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 2),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 3),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 4),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 5),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 6),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 7),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 8),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 9),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 10),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 11),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 12),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 13),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 14),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 15),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 16),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 17),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 18),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 19),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 20),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 21),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 22),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 23),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 24),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 25),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 26),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 27),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 28),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 29),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 30),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 31),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 32),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 33),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 34),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 35),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 36),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 37),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 38),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 39),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 40),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 41),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 42),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 43),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 44),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 45),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 46),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 47),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 48),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 49),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 50),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 51),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 52),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 53),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 54),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 55),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 56),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 57),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 58),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 59),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 60),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 61),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 62),
- static_cast<GLbyte>(kSomeBaseValueToTestWith + 63), };
+ static GLbyte data[] = {
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 1),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 2),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 3),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 4),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 5),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 6),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 7),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 8),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 9),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 10),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 11),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 12),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 13),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 14),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 15),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 16),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 17),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 18),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 19),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 20),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 21),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 22),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 23),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 24),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 25),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 26),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 27),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 28),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 29),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 30),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 31),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 32),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 33),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 34),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 35),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 36),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 37),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 38),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 39),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 40),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 41),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 42),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 43),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 44),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 45),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 46),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 47),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 48),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 49),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 50),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 51),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 52),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 53),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 54),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 55),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 56),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 57),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 58),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 59),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 60),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 61),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 62),
+ static_cast<GLbyte>(kSomeBaseValueToTestWith + 63),
+ };
cmds::ConsumeTextureCHROMIUMImmediate& cmd =
*GetBufferAs<cmds::ConsumeTextureCHROMIUMImmediate>();
void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11), data);
@@ -3738,8 +3788,10 @@ TEST_F(GLES2FormatTest, DiscardFramebufferEXT) {
TEST_F(GLES2FormatTest, DiscardFramebufferEXTImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLenum data[] = {static_cast<GLenum>(kSomeBaseValueToTestWith + 0),
- static_cast<GLenum>(kSomeBaseValueToTestWith + 1), };
+ static GLenum data[] = {
+ static_cast<GLenum>(kSomeBaseValueToTestWith + 0),
+ static_cast<GLenum>(kSomeBaseValueToTestWith + 1),
+ };
cmds::DiscardFramebufferEXTImmediate& cmd =
*GetBufferAs<cmds::DiscardFramebufferEXTImmediate>();
const GLsizei kNumElements = 2;
@@ -3798,7 +3850,9 @@ TEST_F(GLES2FormatTest, DrawBuffersEXT) {
TEST_F(GLES2FormatTest, DrawBuffersEXTImmediate) {
const int kSomeBaseValueToTestWith = 51;
- static GLenum data[] = {static_cast<GLenum>(kSomeBaseValueToTestWith + 0), };
+ static GLenum data[] = {
+ static_cast<GLenum>(kSomeBaseValueToTestWith + 0),
+ };
cmds::DrawBuffersEXTImmediate& cmd =
*GetBufferAs<cmds::DrawBuffersEXTImmediate>();
const GLsizei kNumElements = 1;
diff --git a/gpu/command_buffer/common/gles2_cmd_ids_autogen.h b/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
index 7c359b9..aed4e77 100644
--- a/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
@@ -12,240 +12,240 @@
#define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_AUTOGEN_H_
#define GLES2_COMMAND_LIST(OP) \
- OP(ActiveTexture) /* 256 */ \
- OP(AttachShader) /* 257 */ \
- OP(BindAttribLocation) /* 258 */ \
- OP(BindAttribLocationBucket) /* 259 */ \
- OP(BindBuffer) /* 260 */ \
- OP(BindFramebuffer) /* 261 */ \
- OP(BindRenderbuffer) /* 262 */ \
- OP(BindTexture) /* 263 */ \
- OP(BlendColor) /* 264 */ \
- OP(BlendEquation) /* 265 */ \
- OP(BlendEquationSeparate) /* 266 */ \
- OP(BlendFunc) /* 267 */ \
- OP(BlendFuncSeparate) /* 268 */ \
- OP(BufferData) /* 269 */ \
- OP(BufferSubData) /* 270 */ \
- OP(CheckFramebufferStatus) /* 271 */ \
- OP(Clear) /* 272 */ \
- OP(ClearColor) /* 273 */ \
- OP(ClearDepthf) /* 274 */ \
- OP(ClearStencil) /* 275 */ \
- OP(ColorMask) /* 276 */ \
- OP(CompileShader) /* 277 */ \
- OP(CompressedTexImage2D) /* 278 */ \
- OP(CompressedTexImage2DBucket) /* 279 */ \
- OP(CompressedTexSubImage2D) /* 280 */ \
- OP(CompressedTexSubImage2DBucket) /* 281 */ \
- OP(CopyTexImage2D) /* 282 */ \
- OP(CopyTexSubImage2D) /* 283 */ \
- OP(CreateProgram) /* 284 */ \
- OP(CreateShader) /* 285 */ \
- OP(CullFace) /* 286 */ \
- OP(DeleteBuffers) /* 287 */ \
- OP(DeleteBuffersImmediate) /* 288 */ \
- OP(DeleteFramebuffers) /* 289 */ \
- OP(DeleteFramebuffersImmediate) /* 290 */ \
- OP(DeleteProgram) /* 291 */ \
- OP(DeleteRenderbuffers) /* 292 */ \
- OP(DeleteRenderbuffersImmediate) /* 293 */ \
- OP(DeleteShader) /* 294 */ \
- OP(DeleteTextures) /* 295 */ \
- OP(DeleteTexturesImmediate) /* 296 */ \
- OP(DepthFunc) /* 297 */ \
- OP(DepthMask) /* 298 */ \
- OP(DepthRangef) /* 299 */ \
- OP(DetachShader) /* 300 */ \
- OP(Disable) /* 301 */ \
- OP(DisableVertexAttribArray) /* 302 */ \
- OP(DrawArrays) /* 303 */ \
- OP(DrawElements) /* 304 */ \
- OP(Enable) /* 305 */ \
- OP(EnableVertexAttribArray) /* 306 */ \
- OP(Finish) /* 307 */ \
- OP(Flush) /* 308 */ \
- OP(FramebufferRenderbuffer) /* 309 */ \
- OP(FramebufferTexture2D) /* 310 */ \
- OP(FrontFace) /* 311 */ \
- OP(GenBuffers) /* 312 */ \
- OP(GenBuffersImmediate) /* 313 */ \
- OP(GenerateMipmap) /* 314 */ \
- OP(GenFramebuffers) /* 315 */ \
- OP(GenFramebuffersImmediate) /* 316 */ \
- OP(GenRenderbuffers) /* 317 */ \
- OP(GenRenderbuffersImmediate) /* 318 */ \
- OP(GenTextures) /* 319 */ \
- OP(GenTexturesImmediate) /* 320 */ \
- OP(GetActiveAttrib) /* 321 */ \
- OP(GetActiveUniform) /* 322 */ \
- OP(GetAttachedShaders) /* 323 */ \
- OP(GetAttribLocation) /* 324 */ \
- OP(GetAttribLocationBucket) /* 325 */ \
- OP(GetBooleanv) /* 326 */ \
- OP(GetBufferParameteriv) /* 327 */ \
- OP(GetError) /* 328 */ \
- OP(GetFloatv) /* 329 */ \
- OP(GetFramebufferAttachmentParameteriv) /* 330 */ \
- OP(GetIntegerv) /* 331 */ \
- OP(GetProgramiv) /* 332 */ \
- OP(GetProgramInfoLog) /* 333 */ \
- OP(GetRenderbufferParameteriv) /* 334 */ \
- OP(GetShaderiv) /* 335 */ \
- OP(GetShaderInfoLog) /* 336 */ \
- OP(GetShaderPrecisionFormat) /* 337 */ \
- OP(GetShaderSource) /* 338 */ \
- OP(GetString) /* 339 */ \
- OP(GetTexParameterfv) /* 340 */ \
- OP(GetTexParameteriv) /* 341 */ \
- OP(GetUniformfv) /* 342 */ \
- OP(GetUniformiv) /* 343 */ \
- OP(GetUniformLocation) /* 344 */ \
- OP(GetUniformLocationBucket) /* 345 */ \
- OP(GetVertexAttribfv) /* 346 */ \
- OP(GetVertexAttribiv) /* 347 */ \
- OP(GetVertexAttribPointerv) /* 348 */ \
- OP(Hint) /* 349 */ \
- OP(IsBuffer) /* 350 */ \
- OP(IsEnabled) /* 351 */ \
- OP(IsFramebuffer) /* 352 */ \
- OP(IsProgram) /* 353 */ \
- OP(IsRenderbuffer) /* 354 */ \
- OP(IsShader) /* 355 */ \
- OP(IsTexture) /* 356 */ \
- OP(LineWidth) /* 357 */ \
- OP(LinkProgram) /* 358 */ \
- OP(PixelStorei) /* 359 */ \
- OP(PolygonOffset) /* 360 */ \
- OP(ReadPixels) /* 361 */ \
- OP(ReleaseShaderCompiler) /* 362 */ \
- OP(RenderbufferStorage) /* 363 */ \
- OP(SampleCoverage) /* 364 */ \
- OP(Scissor) /* 365 */ \
- OP(ShaderBinary) /* 366 */ \
- OP(ShaderSource) /* 367 */ \
- OP(ShaderSourceBucket) /* 368 */ \
- OP(StencilFunc) /* 369 */ \
- OP(StencilFuncSeparate) /* 370 */ \
- OP(StencilMask) /* 371 */ \
- OP(StencilMaskSeparate) /* 372 */ \
- OP(StencilOp) /* 373 */ \
- OP(StencilOpSeparate) /* 374 */ \
- OP(TexImage2D) /* 375 */ \
- OP(TexParameterf) /* 376 */ \
- OP(TexParameterfv) /* 377 */ \
- OP(TexParameterfvImmediate) /* 378 */ \
- OP(TexParameteri) /* 379 */ \
- OP(TexParameteriv) /* 380 */ \
- OP(TexParameterivImmediate) /* 381 */ \
- OP(TexSubImage2D) /* 382 */ \
- OP(Uniform1f) /* 383 */ \
- OP(Uniform1fv) /* 384 */ \
- OP(Uniform1fvImmediate) /* 385 */ \
- OP(Uniform1i) /* 386 */ \
- OP(Uniform1iv) /* 387 */ \
- OP(Uniform1ivImmediate) /* 388 */ \
- OP(Uniform2f) /* 389 */ \
- OP(Uniform2fv) /* 390 */ \
- OP(Uniform2fvImmediate) /* 391 */ \
- OP(Uniform2i) /* 392 */ \
- OP(Uniform2iv) /* 393 */ \
- OP(Uniform2ivImmediate) /* 394 */ \
- OP(Uniform3f) /* 395 */ \
- OP(Uniform3fv) /* 396 */ \
- OP(Uniform3fvImmediate) /* 397 */ \
- OP(Uniform3i) /* 398 */ \
- OP(Uniform3iv) /* 399 */ \
- OP(Uniform3ivImmediate) /* 400 */ \
- OP(Uniform4f) /* 401 */ \
- OP(Uniform4fv) /* 402 */ \
- OP(Uniform4fvImmediate) /* 403 */ \
- OP(Uniform4i) /* 404 */ \
- OP(Uniform4iv) /* 405 */ \
- OP(Uniform4ivImmediate) /* 406 */ \
- OP(UniformMatrix2fv) /* 407 */ \
- OP(UniformMatrix2fvImmediate) /* 408 */ \
- OP(UniformMatrix3fv) /* 409 */ \
- OP(UniformMatrix3fvImmediate) /* 410 */ \
- OP(UniformMatrix4fv) /* 411 */ \
- OP(UniformMatrix4fvImmediate) /* 412 */ \
- OP(UseProgram) /* 413 */ \
- OP(ValidateProgram) /* 414 */ \
- OP(VertexAttrib1f) /* 415 */ \
- OP(VertexAttrib1fv) /* 416 */ \
- OP(VertexAttrib1fvImmediate) /* 417 */ \
- OP(VertexAttrib2f) /* 418 */ \
- OP(VertexAttrib2fv) /* 419 */ \
- OP(VertexAttrib2fvImmediate) /* 420 */ \
- OP(VertexAttrib3f) /* 421 */ \
- OP(VertexAttrib3fv) /* 422 */ \
- OP(VertexAttrib3fvImmediate) /* 423 */ \
- OP(VertexAttrib4f) /* 424 */ \
- OP(VertexAttrib4fv) /* 425 */ \
- OP(VertexAttrib4fvImmediate) /* 426 */ \
- OP(VertexAttribPointer) /* 427 */ \
- OP(Viewport) /* 428 */ \
- OP(BlitFramebufferCHROMIUM) /* 429 */ \
+ OP(ActiveTexture) /* 256 */ \
+ OP(AttachShader) /* 257 */ \
+ OP(BindAttribLocation) /* 258 */ \
+ OP(BindAttribLocationBucket) /* 259 */ \
+ OP(BindBuffer) /* 260 */ \
+ OP(BindFramebuffer) /* 261 */ \
+ OP(BindRenderbuffer) /* 262 */ \
+ OP(BindTexture) /* 263 */ \
+ OP(BlendColor) /* 264 */ \
+ OP(BlendEquation) /* 265 */ \
+ OP(BlendEquationSeparate) /* 266 */ \
+ OP(BlendFunc) /* 267 */ \
+ OP(BlendFuncSeparate) /* 268 */ \
+ OP(BufferData) /* 269 */ \
+ OP(BufferSubData) /* 270 */ \
+ OP(CheckFramebufferStatus) /* 271 */ \
+ OP(Clear) /* 272 */ \
+ OP(ClearColor) /* 273 */ \
+ OP(ClearDepthf) /* 274 */ \
+ OP(ClearStencil) /* 275 */ \
+ OP(ColorMask) /* 276 */ \
+ OP(CompileShader) /* 277 */ \
+ OP(CompressedTexImage2D) /* 278 */ \
+ OP(CompressedTexImage2DBucket) /* 279 */ \
+ OP(CompressedTexSubImage2D) /* 280 */ \
+ OP(CompressedTexSubImage2DBucket) /* 281 */ \
+ OP(CopyTexImage2D) /* 282 */ \
+ OP(CopyTexSubImage2D) /* 283 */ \
+ OP(CreateProgram) /* 284 */ \
+ OP(CreateShader) /* 285 */ \
+ OP(CullFace) /* 286 */ \
+ OP(DeleteBuffers) /* 287 */ \
+ OP(DeleteBuffersImmediate) /* 288 */ \
+ OP(DeleteFramebuffers) /* 289 */ \
+ OP(DeleteFramebuffersImmediate) /* 290 */ \
+ OP(DeleteProgram) /* 291 */ \
+ OP(DeleteRenderbuffers) /* 292 */ \
+ OP(DeleteRenderbuffersImmediate) /* 293 */ \
+ OP(DeleteShader) /* 294 */ \
+ OP(DeleteTextures) /* 295 */ \
+ OP(DeleteTexturesImmediate) /* 296 */ \
+ OP(DepthFunc) /* 297 */ \
+ OP(DepthMask) /* 298 */ \
+ OP(DepthRangef) /* 299 */ \
+ OP(DetachShader) /* 300 */ \
+ OP(Disable) /* 301 */ \
+ OP(DisableVertexAttribArray) /* 302 */ \
+ OP(DrawArrays) /* 303 */ \
+ OP(DrawElements) /* 304 */ \
+ OP(Enable) /* 305 */ \
+ OP(EnableVertexAttribArray) /* 306 */ \
+ OP(Finish) /* 307 */ \
+ OP(Flush) /* 308 */ \
+ OP(FramebufferRenderbuffer) /* 309 */ \
+ OP(FramebufferTexture2D) /* 310 */ \
+ OP(FrontFace) /* 311 */ \
+ OP(GenBuffers) /* 312 */ \
+ OP(GenBuffersImmediate) /* 313 */ \
+ OP(GenerateMipmap) /* 314 */ \
+ OP(GenFramebuffers) /* 315 */ \
+ OP(GenFramebuffersImmediate) /* 316 */ \
+ OP(GenRenderbuffers) /* 317 */ \
+ OP(GenRenderbuffersImmediate) /* 318 */ \
+ OP(GenTextures) /* 319 */ \
+ OP(GenTexturesImmediate) /* 320 */ \
+ OP(GetActiveAttrib) /* 321 */ \
+ OP(GetActiveUniform) /* 322 */ \
+ OP(GetAttachedShaders) /* 323 */ \
+ OP(GetAttribLocation) /* 324 */ \
+ OP(GetAttribLocationBucket) /* 325 */ \
+ OP(GetBooleanv) /* 326 */ \
+ OP(GetBufferParameteriv) /* 327 */ \
+ OP(GetError) /* 328 */ \
+ OP(GetFloatv) /* 329 */ \
+ OP(GetFramebufferAttachmentParameteriv) /* 330 */ \
+ OP(GetIntegerv) /* 331 */ \
+ OP(GetProgramiv) /* 332 */ \
+ OP(GetProgramInfoLog) /* 333 */ \
+ OP(GetRenderbufferParameteriv) /* 334 */ \
+ OP(GetShaderiv) /* 335 */ \
+ OP(GetShaderInfoLog) /* 336 */ \
+ OP(GetShaderPrecisionFormat) /* 337 */ \
+ OP(GetShaderSource) /* 338 */ \
+ OP(GetString) /* 339 */ \
+ OP(GetTexParameterfv) /* 340 */ \
+ OP(GetTexParameteriv) /* 341 */ \
+ OP(GetUniformfv) /* 342 */ \
+ OP(GetUniformiv) /* 343 */ \
+ OP(GetUniformLocation) /* 344 */ \
+ OP(GetUniformLocationBucket) /* 345 */ \
+ OP(GetVertexAttribfv) /* 346 */ \
+ OP(GetVertexAttribiv) /* 347 */ \
+ OP(GetVertexAttribPointerv) /* 348 */ \
+ OP(Hint) /* 349 */ \
+ OP(IsBuffer) /* 350 */ \
+ OP(IsEnabled) /* 351 */ \
+ OP(IsFramebuffer) /* 352 */ \
+ OP(IsProgram) /* 353 */ \
+ OP(IsRenderbuffer) /* 354 */ \
+ OP(IsShader) /* 355 */ \
+ OP(IsTexture) /* 356 */ \
+ OP(LineWidth) /* 357 */ \
+ OP(LinkProgram) /* 358 */ \
+ OP(PixelStorei) /* 359 */ \
+ OP(PolygonOffset) /* 360 */ \
+ OP(ReadPixels) /* 361 */ \
+ OP(ReleaseShaderCompiler) /* 362 */ \
+ OP(RenderbufferStorage) /* 363 */ \
+ OP(SampleCoverage) /* 364 */ \
+ OP(Scissor) /* 365 */ \
+ OP(ShaderBinary) /* 366 */ \
+ OP(ShaderSource) /* 367 */ \
+ OP(ShaderSourceBucket) /* 368 */ \
+ OP(StencilFunc) /* 369 */ \
+ OP(StencilFuncSeparate) /* 370 */ \
+ OP(StencilMask) /* 371 */ \
+ OP(StencilMaskSeparate) /* 372 */ \
+ OP(StencilOp) /* 373 */ \
+ OP(StencilOpSeparate) /* 374 */ \
+ OP(TexImage2D) /* 375 */ \
+ OP(TexParameterf) /* 376 */ \
+ OP(TexParameterfv) /* 377 */ \
+ OP(TexParameterfvImmediate) /* 378 */ \
+ OP(TexParameteri) /* 379 */ \
+ OP(TexParameteriv) /* 380 */ \
+ OP(TexParameterivImmediate) /* 381 */ \
+ OP(TexSubImage2D) /* 382 */ \
+ OP(Uniform1f) /* 383 */ \
+ OP(Uniform1fv) /* 384 */ \
+ OP(Uniform1fvImmediate) /* 385 */ \
+ OP(Uniform1i) /* 386 */ \
+ OP(Uniform1iv) /* 387 */ \
+ OP(Uniform1ivImmediate) /* 388 */ \
+ OP(Uniform2f) /* 389 */ \
+ OP(Uniform2fv) /* 390 */ \
+ OP(Uniform2fvImmediate) /* 391 */ \
+ OP(Uniform2i) /* 392 */ \
+ OP(Uniform2iv) /* 393 */ \
+ OP(Uniform2ivImmediate) /* 394 */ \
+ OP(Uniform3f) /* 395 */ \
+ OP(Uniform3fv) /* 396 */ \
+ OP(Uniform3fvImmediate) /* 397 */ \
+ OP(Uniform3i) /* 398 */ \
+ OP(Uniform3iv) /* 399 */ \
+ OP(Uniform3ivImmediate) /* 400 */ \
+ OP(Uniform4f) /* 401 */ \
+ OP(Uniform4fv) /* 402 */ \
+ OP(Uniform4fvImmediate) /* 403 */ \
+ OP(Uniform4i) /* 404 */ \
+ OP(Uniform4iv) /* 405 */ \
+ OP(Uniform4ivImmediate) /* 406 */ \
+ OP(UniformMatrix2fv) /* 407 */ \
+ OP(UniformMatrix2fvImmediate) /* 408 */ \
+ OP(UniformMatrix3fv) /* 409 */ \
+ OP(UniformMatrix3fvImmediate) /* 410 */ \
+ OP(UniformMatrix4fv) /* 411 */ \
+ OP(UniformMatrix4fvImmediate) /* 412 */ \
+ OP(UseProgram) /* 413 */ \
+ OP(ValidateProgram) /* 414 */ \
+ OP(VertexAttrib1f) /* 415 */ \
+ OP(VertexAttrib1fv) /* 416 */ \
+ OP(VertexAttrib1fvImmediate) /* 417 */ \
+ OP(VertexAttrib2f) /* 418 */ \
+ OP(VertexAttrib2fv) /* 419 */ \
+ OP(VertexAttrib2fvImmediate) /* 420 */ \
+ OP(VertexAttrib3f) /* 421 */ \
+ OP(VertexAttrib3fv) /* 422 */ \
+ OP(VertexAttrib3fvImmediate) /* 423 */ \
+ OP(VertexAttrib4f) /* 424 */ \
+ OP(VertexAttrib4fv) /* 425 */ \
+ OP(VertexAttrib4fvImmediate) /* 426 */ \
+ OP(VertexAttribPointer) /* 427 */ \
+ OP(Viewport) /* 428 */ \
+ OP(BlitFramebufferCHROMIUM) /* 429 */ \
OP(RenderbufferStorageMultisampleCHROMIUM) /* 430 */ \
- OP(RenderbufferStorageMultisampleEXT) /* 431 */ \
- OP(FramebufferTexture2DMultisampleEXT) /* 432 */ \
- OP(TexStorage2DEXT) /* 433 */ \
- OP(GenQueriesEXT) /* 434 */ \
- OP(GenQueriesEXTImmediate) /* 435 */ \
- OP(DeleteQueriesEXT) /* 436 */ \
- OP(DeleteQueriesEXTImmediate) /* 437 */ \
- OP(BeginQueryEXT) /* 438 */ \
- OP(EndQueryEXT) /* 439 */ \
- OP(InsertEventMarkerEXT) /* 440 */ \
- OP(PushGroupMarkerEXT) /* 441 */ \
- OP(PopGroupMarkerEXT) /* 442 */ \
- OP(GenVertexArraysOES) /* 443 */ \
- OP(GenVertexArraysOESImmediate) /* 444 */ \
- OP(DeleteVertexArraysOES) /* 445 */ \
- OP(DeleteVertexArraysOESImmediate) /* 446 */ \
- OP(IsVertexArrayOES) /* 447 */ \
- OP(BindVertexArrayOES) /* 448 */ \
- OP(SwapBuffers) /* 449 */ \
- OP(GetMaxValueInBufferCHROMIUM) /* 450 */ \
- OP(GenSharedIdsCHROMIUM) /* 451 */ \
- OP(DeleteSharedIdsCHROMIUM) /* 452 */ \
- OP(RegisterSharedIdsCHROMIUM) /* 453 */ \
- OP(EnableFeatureCHROMIUM) /* 454 */ \
- OP(ResizeCHROMIUM) /* 455 */ \
- OP(GetRequestableExtensionsCHROMIUM) /* 456 */ \
- OP(RequestExtensionCHROMIUM) /* 457 */ \
- OP(GetMultipleIntegervCHROMIUM) /* 458 */ \
- OP(GetProgramInfoCHROMIUM) /* 459 */ \
- OP(GetTranslatedShaderSourceANGLE) /* 460 */ \
- OP(PostSubBufferCHROMIUM) /* 461 */ \
- OP(TexImageIOSurface2DCHROMIUM) /* 462 */ \
- OP(CopyTextureCHROMIUM) /* 463 */ \
- OP(DrawArraysInstancedANGLE) /* 464 */ \
- OP(DrawElementsInstancedANGLE) /* 465 */ \
- OP(VertexAttribDivisorANGLE) /* 466 */ \
- OP(GenMailboxCHROMIUM) /* 467 */ \
- OP(ProduceTextureCHROMIUM) /* 468 */ \
- OP(ProduceTextureCHROMIUMImmediate) /* 469 */ \
- OP(ConsumeTextureCHROMIUM) /* 470 */ \
- OP(ConsumeTextureCHROMIUMImmediate) /* 471 */ \
- OP(BindUniformLocationCHROMIUM) /* 472 */ \
- OP(BindUniformLocationCHROMIUMBucket) /* 473 */ \
- OP(BindTexImage2DCHROMIUM) /* 474 */ \
- OP(ReleaseTexImage2DCHROMIUM) /* 475 */ \
- OP(TraceBeginCHROMIUM) /* 476 */ \
- OP(TraceEndCHROMIUM) /* 477 */ \
- OP(AsyncTexSubImage2DCHROMIUM) /* 478 */ \
- OP(AsyncTexImage2DCHROMIUM) /* 479 */ \
- OP(WaitAsyncTexImage2DCHROMIUM) /* 480 */ \
- OP(WaitAllAsyncTexImage2DCHROMIUM) /* 481 */ \
- OP(DiscardFramebufferEXT) /* 482 */ \
- OP(DiscardFramebufferEXTImmediate) /* 483 */ \
- OP(LoseContextCHROMIUM) /* 484 */ \
- OP(InsertSyncPointCHROMIUM) /* 485 */ \
- OP(WaitSyncPointCHROMIUM) /* 486 */ \
- OP(DrawBuffersEXT) /* 487 */ \
- OP(DrawBuffersEXTImmediate) /* 488 */ \
- OP(DiscardBackbufferCHROMIUM) /* 489 */ \
+ OP(RenderbufferStorageMultisampleEXT) /* 431 */ \
+ OP(FramebufferTexture2DMultisampleEXT) /* 432 */ \
+ OP(TexStorage2DEXT) /* 433 */ \
+ OP(GenQueriesEXT) /* 434 */ \
+ OP(GenQueriesEXTImmediate) /* 435 */ \
+ OP(DeleteQueriesEXT) /* 436 */ \
+ OP(DeleteQueriesEXTImmediate) /* 437 */ \
+ OP(BeginQueryEXT) /* 438 */ \
+ OP(EndQueryEXT) /* 439 */ \
+ OP(InsertEventMarkerEXT) /* 440 */ \
+ OP(PushGroupMarkerEXT) /* 441 */ \
+ OP(PopGroupMarkerEXT) /* 442 */ \
+ OP(GenVertexArraysOES) /* 443 */ \
+ OP(GenVertexArraysOESImmediate) /* 444 */ \
+ OP(DeleteVertexArraysOES) /* 445 */ \
+ OP(DeleteVertexArraysOESImmediate) /* 446 */ \
+ OP(IsVertexArrayOES) /* 447 */ \
+ OP(BindVertexArrayOES) /* 448 */ \
+ OP(SwapBuffers) /* 449 */ \
+ OP(GetMaxValueInBufferCHROMIUM) /* 450 */ \
+ OP(GenSharedIdsCHROMIUM) /* 451 */ \
+ OP(DeleteSharedIdsCHROMIUM) /* 452 */ \
+ OP(RegisterSharedIdsCHROMIUM) /* 453 */ \
+ OP(EnableFeatureCHROMIUM) /* 454 */ \
+ OP(ResizeCHROMIUM) /* 455 */ \
+ OP(GetRequestableExtensionsCHROMIUM) /* 456 */ \
+ OP(RequestExtensionCHROMIUM) /* 457 */ \
+ OP(GetMultipleIntegervCHROMIUM) /* 458 */ \
+ OP(GetProgramInfoCHROMIUM) /* 459 */ \
+ OP(GetTranslatedShaderSourceANGLE) /* 460 */ \
+ OP(PostSubBufferCHROMIUM) /* 461 */ \
+ OP(TexImageIOSurface2DCHROMIUM) /* 462 */ \
+ OP(CopyTextureCHROMIUM) /* 463 */ \
+ OP(DrawArraysInstancedANGLE) /* 464 */ \
+ OP(DrawElementsInstancedANGLE) /* 465 */ \
+ OP(VertexAttribDivisorANGLE) /* 466 */ \
+ OP(GenMailboxCHROMIUM) /* 467 */ \
+ OP(ProduceTextureCHROMIUM) /* 468 */ \
+ OP(ProduceTextureCHROMIUMImmediate) /* 469 */ \
+ OP(ConsumeTextureCHROMIUM) /* 470 */ \
+ OP(ConsumeTextureCHROMIUMImmediate) /* 471 */ \
+ OP(BindUniformLocationCHROMIUM) /* 472 */ \
+ OP(BindUniformLocationCHROMIUMBucket) /* 473 */ \
+ OP(BindTexImage2DCHROMIUM) /* 474 */ \
+ OP(ReleaseTexImage2DCHROMIUM) /* 475 */ \
+ OP(TraceBeginCHROMIUM) /* 476 */ \
+ OP(TraceEndCHROMIUM) /* 477 */ \
+ OP(AsyncTexSubImage2DCHROMIUM) /* 478 */ \
+ OP(AsyncTexImage2DCHROMIUM) /* 479 */ \
+ OP(WaitAsyncTexImage2DCHROMIUM) /* 480 */ \
+ OP(WaitAllAsyncTexImage2DCHROMIUM) /* 481 */ \
+ OP(DiscardFramebufferEXT) /* 482 */ \
+ OP(DiscardFramebufferEXTImmediate) /* 483 */ \
+ OP(LoseContextCHROMIUM) /* 484 */ \
+ OP(InsertSyncPointCHROMIUM) /* 485 */ \
+ OP(WaitSyncPointCHROMIUM) /* 486 */ \
+ OP(DrawBuffersEXT) /* 487 */ \
+ OP(DrawBuffersEXTImmediate) /* 488 */ \
+ OP(DiscardBackbufferCHROMIUM) /* 489 */ \
OP(ScheduleOverlayPlaneCHROMIUM) /* 490 */
enum CommandId {
diff --git a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
index e9f4f69..5283c24 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
@@ -12,784 +12,2341 @@
#define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
static const GLES2Util::EnumToString enum_to_string_table[] = {
- {0x78EC, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM", },
- {0x8825, "GL_DRAW_BUFFER0_EXT", },
- {0x0BC1, "GL_ALPHA_TEST_FUNC_QCOM", },
- {0x884C, "GL_TEXTURE_COMPARE_MODE_EXT", },
- {0x0BC2, "GL_ALPHA_TEST_REF_QCOM", },
- {0x884D, "GL_TEXTURE_COMPARE_FUNC_EXT", },
- {0x884E, "GL_COMPARE_REF_TO_TEXTURE_EXT", },
- {0x93A1, "GL_BGRA8_EXT", },
- {0, "GL_FALSE", },
- {0x00400000, "GL_STENCIL_BUFFER_BIT6_QCOM", },
- {0x9138, "GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG", },
- {0x8FC4, "GL_SHADER_BINARY_VIV", },
- {0x9130, "GL_SGX_PROGRAM_BINARY_IMG", },
- {0x9133, "GL_RENDERBUFFER_SAMPLES_IMG", },
- {0x82E0, "GL_BUFFER_KHR", },
- {0x9135, "GL_MAX_SAMPLES_IMG", },
- {0x9134, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG", },
- {0x9137, "GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG", },
- {0x9136, "GL_TEXTURE_SAMPLES_IMG", },
- {0x00000020, "GL_COLOR_BUFFER_BIT5_QCOM", },
- {0x0008, "GL_MAP_INVALIDATE_BUFFER_BIT_EXT", },
- {0x0BC0, "GL_ALPHA_TEST_QCOM", },
- {0x0006, "GL_TRIANGLE_FAN", },
- {0x0004, "GL_TRIANGLES", },
- {0x0005, "GL_TRIANGLE_STRIP", },
- {0x0002, "GL_LINE_LOOP", },
- {0x0003, "GL_LINE_STRIP", },
- {0x0000, "GL_POINTS", },
- {0x0001, "GL_LINES", },
- {0x78F0, "GL_IMAGE_ROWBYTES_CHROMIUM", },
- {0x88B8, "GL_READ_ONLY", },
- {0x88B9, "GL_WRITE_ONLY_OES", },
- {0x8211, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT", },
- {0x8210, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT", },
- {0x8741, "GL_PROGRAM_BINARY_LENGTH_OES", },
- {0x8740, "GL_Z400_BINARY_AMD", },
- {0x8192, "GL_GENERATE_MIPMAP_HINT", },
- {0x8A54, "GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT", },
- {0x8A55, "GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT", },
- {0x8A56, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT", },
- {0x8A57, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT", },
- {0x8A51, "GL_RGB_RAW_422_APPLE", },
- {0x87F9, "GL_3DC_X_AMD", },
- {0x8A53, "GL_SYNC_OBJECT_APPLE", },
- {0x8DF8, "GL_SHADER_BINARY_FORMATS", },
- {0x8DF9, "GL_NUM_SHADER_BINARY_FORMATS", },
- {0x826D, "GL_DEBUG_GROUP_STACK_DEPTH_KHR", },
- {0x826B, "GL_DEBUG_SEVERITY_NOTIFICATION_KHR", },
- {0x826C, "GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR", },
- {0x8B59, "GL_BOOL_VEC4", },
- {0x826A, "GL_DEBUG_TYPE_POP_GROUP_KHR", },
- {0x8B57, "GL_BOOL_VEC2", },
- {0x8DF1, "GL_MEDIUM_FLOAT", },
- {0x8B55, "GL_INT_VEC4", },
- {0x8B54, "GL_INT_VEC3", },
- {0x8DF4, "GL_MEDIUM_INT", },
- {0x8DF5, "GL_HIGH_INT", },
- {0x8B51, "GL_FLOAT_VEC3", },
- {0x8B50, "GL_FLOAT_VEC2", },
- {0x806F, "GL_TEXTURE_3D_OES", },
- {0x92E0, "GL_DEBUG_OUTPUT_KHR", },
- {0x806A, "GL_TEXTURE_BINDING_3D_OES", },
- {0x8CE3, "GL_COLOR_ATTACHMENT3_EXT", },
- {0x1904, "GL_GREEN_NV", },
- {0x928D, "GL_DST_OUT_NV", },
- {0x8069, "GL_TEXTURE_BINDING_2D", },
- {0x8261, "GL_NO_RESET_NOTIFICATION_EXT", },
- {0x8DFA, "GL_SHADER_COMPILER", },
- {0x8DFB, "GL_MAX_VERTEX_UNIFORM_VECTORS", },
- {0x8DFC, "GL_MAX_VARYING_VECTORS", },
- {0x8B5C, "GL_FLOAT_MAT4", },
- {0x8B5B, "GL_FLOAT_MAT3", },
- {0x8268, "GL_DEBUG_TYPE_MARKER_KHR", },
- {0x8269, "GL_DEBUG_TYPE_PUSH_GROUP_KHR", },
- {0x1905, "GL_BLUE_NV", },
- {0x87FF, "GL_PROGRAM_BINARY_FORMATS_OES", },
- {0x87FE, "GL_NUM_PROGRAM_BINARY_FORMATS_OES", },
- {0x2600, "GL_NEAREST", },
- {0x2601, "GL_LINEAR", },
- {0x8C03, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG", },
- {0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM", },
- {0x88BA, "GL_READ_WRITE", },
- {0x88BB, "GL_BUFFER_ACCESS_OES", },
- {0x88BC, "GL_BUFFER_MAPPED_OES", },
- {0x88BD, "GL_BUFFER_MAP_POINTER_OES", },
- {0x88BF, "GL_TIME_ELAPSED_EXT", },
- {0x0C10, "GL_SCISSOR_BOX", },
- {0x0C11, "GL_SCISSOR_TEST", },
- {0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM", },
- {0x8A48, "GL_TEXTURE_SRGB_DECODE_EXT", },
- {0x300E, "GL_CONTEXT_LOST", },
- {0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM", },
- {0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT", },
- {0x8BD2, "GL_TEXTURE_WIDTH_QCOM", },
- {0x8BD3, "GL_TEXTURE_HEIGHT_QCOM", },
- {0x8BD4, "GL_TEXTURE_DEPTH_QCOM", },
- {0x8BD5, "GL_TEXTURE_INTERNAL_FORMAT_QCOM", },
- {0x8BD6, "GL_TEXTURE_FORMAT_QCOM", },
- {0x8BD7, "GL_TEXTURE_TYPE_QCOM", },
- {0x8B8D, "GL_CURRENT_PROGRAM", },
- {0x8BD9, "GL_TEXTURE_NUM_LEVELS_QCOM", },
- {0x00200000, "GL_STENCIL_BUFFER_BIT5_QCOM", },
- {0x8B8A, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH", },
- {0x8B8B, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES", },
- {0x8B8C, "GL_SHADING_LANGUAGE_VERSION", },
- {0x8BDA, "GL_TEXTURE_TARGET_QCOM", },
- {0x8BDB, "GL_TEXTURE_OBJECT_VALID_QCOM", },
- {0x8BDC, "GL_STATE_RESTORE", },
- {0x8B88, "GL_SHADER_SOURCE_LENGTH", },
- {0x8B89, "GL_ACTIVE_ATTRIBUTES", },
- {0x93C9, "GL_COMPRESSED_RGBA_ASTC_6x6x6_OES", },
- {0x93C8, "GL_COMPRESSED_RGBA_ASTC_6x6x5_OES", },
- {0x8B84, "GL_INFO_LOG_LENGTH", },
- {0x8B85, "GL_ATTACHED_SHADERS", },
- {0x8B86, "GL_ACTIVE_UNIFORMS", },
- {0x8B87, "GL_ACTIVE_UNIFORM_MAX_LENGTH", },
- {0x8B80, "GL_DELETE_STATUS", },
- {0x8B81, "GL_COMPILE_STATUS", },
- {0x8B82, "GL_LINK_STATUS", },
- {0x8B83, "GL_VALIDATE_STATUS", },
- {0x8D48, "GL_STENCIL_INDEX8", },
- {0x8D46, "GL_STENCIL_INDEX1_OES", },
- {0x8D47, "GL_STENCIL_INDEX4_OES", },
- {0x8D44, "GL_RENDERBUFFER_INTERNAL_FORMAT", },
- {0x00000100, "GL_DEPTH_BUFFER_BIT", },
- {0x8D42, "GL_RENDERBUFFER_WIDTH", },
- {0x8D43, "GL_RENDERBUFFER_HEIGHT", },
- {0x8D40, "GL_FRAMEBUFFER", },
- {0x8D41, "GL_RENDERBUFFER", },
- {0x0BD0, "GL_DITHER", },
- {0x93D3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", },
- {0x1801, "GL_DEPTH_EXT", },
- {0x1800, "GL_COLOR_EXT", },
- {0x1802, "GL_STENCIL_EXT", },
- {0x0B21, "GL_LINE_WIDTH", },
- {0x81A5, "GL_DEPTH_COMPONENT16", },
- {0x81A6, "GL_DEPTH_COMPONENT24_OES", },
- {0x81A7, "GL_DEPTH_COMPONENT32_OES", },
- {0x88FE, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", },
- {0x8B6A, "GL_FLOAT_MAT4x3_NV", },
- {0x93D0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", },
- {0x9143, "GL_MAX_DEBUG_MESSAGE_LENGTH_KHR", },
- {0x9144, "GL_MAX_DEBUG_LOGGED_MESSAGES_KHR", },
- {0x9145, "GL_DEBUG_LOGGED_MESSAGES_KHR", },
- {0x9146, "GL_DEBUG_SEVERITY_HIGH_KHR", },
- {0x9147, "GL_DEBUG_SEVERITY_MEDIUM_KHR", },
- {0x9148, "GL_DEBUG_SEVERITY_LOW_KHR", },
- {0x9260, "GL_GCCSO_SHADER_BINARY_FJ", },
- {0x8F60, "GL_MALI_SHADER_BINARY_ARM", },
- {0x8F61, "GL_MALI_PROGRAM_BINARY_ARM", },
- {0x87EE, "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD", },
- {0x822B, "GL_RG8_EXT", },
- {0x822F, "GL_RG16F_EXT", },
- {0x822D, "GL_R16F_EXT", },
- {0x822E, "GL_R32F_EXT", },
- {1, "GL_ES_VERSION_2_0", },
- {0x84F9, "GL_DEPTH_STENCIL_OES", },
- {0x8368, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT", },
- {0x8819, "GL_LUMINANCE_ALPHA32F_EXT", },
- {0x8818, "GL_LUMINANCE32F_EXT", },
- {0x8363, "GL_UNSIGNED_SHORT_5_6_5", },
- {0x8814, "GL_RGBA32F_EXT", },
- {0x84F2, "GL_ALL_COMPLETED_NV", },
- {0x8816, "GL_ALPHA32F_EXT", },
- {0x84F4, "GL_FENCE_CONDITION_NV", },
- {0x8366, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT", },
- {0x8365, "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT", },
- {0x84F7, "GL_COMMANDS_COMPLETED_CHROMIUM", },
- {0x881E, "GL_LUMINANCE16F_EXT", },
- {0x84FA, "GL_UNSIGNED_INT_24_8_OES", },
- {0x881F, "GL_LUMINANCE_ALPHA16F_EXT", },
- {0x881A, "GL_RGBA16F_EXT", },
- {0x84FE, "GL_TEXTURE_MAX_ANISOTROPY_EXT", },
- {0x0901, "GL_CCW", },
- {0x0900, "GL_CW", },
- {0x8229, "GL_R8_EXT", },
- {0x9283, "GL_DISJOINT_NV", },
- {0x8227, "GL_RG_EXT", },
- {0x8B66, "GL_FLOAT_MAT2x4_NV", },
- {0x8B67, "GL_FLOAT_MAT3x2_NV", },
- {0x8B65, "GL_FLOAT_MAT2x3_NV", },
- {0x8B62, "GL_SAMPLER_2D_SHADOW_EXT", },
- {0x8B63, "GL_SAMPLER_2D_RECT_ARB", },
- {0x8B60, "GL_SAMPLER_CUBE", },
- {0x00001000, "GL_DEPTH_BUFFER_BIT4_QCOM", },
- {0x8B68, "GL_FLOAT_MAT3x4_NV", },
- {0x83F0, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT", },
- {0x00000080, "GL_COLOR_BUFFER_BIT7_QCOM", },
- {0x88F0, "GL_DEPTH24_STENCIL8_OES", },
- {0x80A0, "GL_SAMPLE_COVERAGE", },
- {0x928F, "GL_DST_ATOP_NV", },
- {0x80A9, "GL_SAMPLES", },
- {0x80A8, "GL_SAMPLE_BUFFERS", },
- {0x0D55, "GL_ALPHA_BITS", },
- {0x0D54, "GL_BLUE_BITS", },
- {0x0D57, "GL_STENCIL_BITS", },
- {0x0D56, "GL_DEPTH_BITS", },
- {0x8CD5, "GL_FRAMEBUFFER_COMPLETE", },
- {0x0D50, "GL_SUBPIXEL_BITS", },
- {0x0D53, "GL_GREEN_BITS", },
- {0x0D52, "GL_RED_BITS", },
- {0x8037, "GL_POLYGON_OFFSET_FILL", },
- {0x928C, "GL_SRC_OUT_NV", },
- {0x8034, "GL_UNSIGNED_SHORT_5_5_5_1", },
- {0x8033, "GL_UNSIGNED_SHORT_4_4_4_4", },
- {0x928B, "GL_DST_IN_NV", },
- {0x0305, "GL_ONE_MINUS_DST_ALPHA", },
- {0x0304, "GL_DST_ALPHA", },
- {0x0307, "GL_ONE_MINUS_DST_COLOR", },
- {0x0306, "GL_DST_COLOR", },
- {0x0301, "GL_ONE_MINUS_SRC_COLOR", },
- {0x0300, "GL_SRC_COLOR", },
- {0x0303, "GL_ONE_MINUS_SRC_ALPHA", },
- {0x0302, "GL_SRC_ALPHA", },
- {0x0308, "GL_SRC_ALPHA_SATURATE", },
- {0x2A00, "GL_POLYGON_OFFSET_UNITS", },
- {0xFFFFFFFF, "GL_ALL_SHADER_BITS_EXT", },
- {0x00800000, "GL_STENCIL_BUFFER_BIT7_QCOM", },
- {0x8C4D, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV", },
- {0x00020000, "GL_STENCIL_BUFFER_BIT1_QCOM", },
- {0x8D00, "GL_DEPTH_ATTACHMENT", },
- {0x8FA0, "GL_PERFMON_GLOBAL_MODE_QCOM", },
- {0x8815, "GL_RGB32F_EXT", },
- {0x813D, "GL_TEXTURE_MAX_LEVEL_APPLE", },
- {0x8DFD, "GL_MAX_FRAGMENT_UNIFORM_VECTORS", },
- {0x8CDD, "GL_FRAMEBUFFER_UNSUPPORTED", },
- {0x8CDF, "GL_MAX_COLOR_ATTACHMENTS_EXT", },
- {0x90F3, "GL_CONTEXT_ROBUST_ACCESS_EXT", },
- {0x90F2, "GL_MAX_MULTIVIEW_BUFFERS_EXT", },
- {0x90F1, "GL_MULTIVIEW_EXT", },
- {0x90F0, "GL_COLOR_ATTACHMENT_EXT", },
- {0x803C, "GL_ALPHA8_OES", },
- {0x84F5, "GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM", },
- {0x882A, "GL_DRAW_BUFFER5_EXT", },
- {0x80AA, "GL_SAMPLE_COVERAGE_VALUE", },
- {0x84F6, "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM", },
- {0x80AB, "GL_SAMPLE_COVERAGE_INVERT", },
- {0x8C41, "GL_SRGB8_NV", },
- {0x8C40, "GL_SRGB_EXT", },
- {0x882B, "GL_DRAW_BUFFER6_EXT", },
- {0x8C17, "GL_UNSIGNED_NORMALIZED_EXT", },
- {0x8A4A, "GL_SKIP_DECODE_EXT", },
- {0x8A4F, "GL_PROGRAM_PIPELINE_OBJECT_EXT", },
- {0x882C, "GL_DRAW_BUFFER7_EXT", },
- {0x0010, "GL_MAP_FLUSH_EXPLICIT_BIT_EXT", },
- {0x882D, "GL_DRAW_BUFFER8_EXT", },
- {0x8F37, "GL_COPY_WRITE_BUFFER_NV", },
- {0x8F36, "GL_COPY_READ_BUFFER_NV", },
- {0x84FF, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", },
- {0x6000, "GL_TEXTURE_POOL_CHROMIUM", },
- {0x0B74, "GL_DEPTH_FUNC", },
- {0x8A49, "GL_DECODE_EXT", },
- {0x881B, "GL_RGB16F_EXT", },
- {0x0B71, "GL_DEPTH_TEST", },
- {0x0B70, "GL_DEPTH_RANGE", },
- {0x0B73, "GL_DEPTH_CLEAR_VALUE", },
- {0x0B72, "GL_DEPTH_WRITEMASK", },
- {0x85BA, "GL_UNSIGNED_SHORT_8_8_APPLE", },
- {0x882E, "GL_DRAW_BUFFER9_EXT", },
- {0x6001, "GL_TEXTURE_POOL_MANAGED_CHROMIUM", },
- {0x8073, "GL_MAX_3D_TEXTURE_SIZE_OES", },
- {0x8072, "GL_TEXTURE_WRAP_R_OES", },
- {0x9289, "GL_DST_OVER_NV", },
- {0x882F, "GL_DRAW_BUFFER10_EXT", },
- {0x8074, "GL_VERTEX_ARRAY_KHR", },
- {0x80E1, "GL_BGRA_EXT", },
- {0x8ED7, "GL_COVERAGE_AUTOMATIC_NV", },
- {0x8ED6, "GL_COVERAGE_EDGE_FRAGMENTS_NV", },
- {0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV", },
- {0x8ED4, "GL_COVERAGE_SAMPLES_NV", },
- {0x8ED3, "GL_COVERAGE_BUFFERS_NV", },
- {0x8ED2, "GL_COVERAGE_ATTACHMENT_NV", },
- {0x8ED1, "GL_COVERAGE_COMPONENT4_NV", },
- {0x8ED0, "GL_COVERAGE_COMPONENT_NV", },
- {0x9288, "GL_SRC_OVER_NV", },
- {0x800B, "GL_FUNC_REVERSE_SUBTRACT", },
- {0x00000400, "GL_STENCIL_BUFFER_BIT", },
- {0x800A, "GL_FUNC_SUBTRACT", },
- {0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV", },
- {0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", },
- {0x8219, "GL_FRAMEBUFFER_UNDEFINED_OES", },
- {0x8E22, "GL_TRANSFORM_FEEDBACK", },
- {0x8E28, "GL_TIMESTAMP_EXT", },
- {0x8006, "GL_FUNC_ADD", },
- {0x8007, "GL_MIN_EXT", },
- {0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA", },
- {0x8005, "GL_BLEND_COLOR", },
- {0x8002, "GL_ONE_MINUS_CONSTANT_COLOR", },
- {0x8003, "GL_CONSTANT_ALPHA", },
- {0x8001, "GL_CONSTANT_COLOR", },
- {0x0204, "GL_GREATER", },
- {0x0205, "GL_NOTEQUAL", },
- {0x0206, "GL_GEQUAL", },
- {0x0207, "GL_ALWAYS", },
- {0x0200, "GL_NEVER", },
- {0x0201, "GL_LESS", },
- {0x0202, "GL_EQUAL", },
- {0x0203, "GL_LEQUAL", },
- {0x2901, "GL_REPEAT", },
- {0x92A0, "GL_EXCLUSION_NV", },
- {0x93D8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", },
- {0x93D9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", },
- {0x8FB2, "GL_GPU_OPTIMIZED_QCOM", },
- {0x190A, "GL_LUMINANCE_ALPHA", },
- {0x8FB0, "GL_BINNING_CONTROL_HINT_QCOM", },
- {0x92A1, "GL_CONTRAST_NV", },
- {0x1E00, "GL_KEEP", },
- {0x1E01, "GL_REPLACE", },
- {0x1E02, "GL_INCR", },
- {0x1E03, "GL_DECR", },
- {0x93D6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", },
- {0x93D7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", },
- {0x93D4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", },
- {0x93D5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", },
- {0x0BE2, "GL_BLEND", },
- {0x84CB, "GL_TEXTURE11", },
- {0x8D55, "GL_RENDERBUFFER_STENCIL_SIZE", },
- {0x8D54, "GL_RENDERBUFFER_DEPTH_SIZE", },
- {0x8D57, "GL_MAX_SAMPLES_ANGLE", },
- {0x8D56, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE", },
- {0x8D51, "GL_RENDERBUFFER_GREEN_SIZE", },
- {0x8D50, "GL_RENDERBUFFER_RED_SIZE", },
- {0x8D53, "GL_RENDERBUFFER_ALPHA_SIZE", },
- {0x8D52, "GL_RENDERBUFFER_BLUE_SIZE", },
- {0x92A6, "GL_VIVIDLIGHT_NV", },
- {0x00080000, "GL_STENCIL_BUFFER_BIT3_QCOM", },
- {0x92A7, "GL_LINEARLIGHT_NV", },
- {0x886A, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED", },
- {0x0C01, "GL_DRAW_BUFFER_EXT", },
- {0x93C7, "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES", },
- {0x8B5F, "GL_SAMPLER_3D_OES", },
- {0x8B95, "GL_PALETTE8_RGB8_OES", },
- {0x9250, "GL_SHADER_BINARY_DMP", },
- {0x10000000, "GL_MULTISAMPLE_BUFFER_BIT4_QCOM", },
- {0x8C92, "GL_ATC_RGB_AMD", },
- {0x9154, "GL_VERTEX_ARRAY_OBJECT_EXT", },
- {0x9153, "GL_QUERY_OBJECT_EXT", },
- {0x8864, "GL_QUERY_COUNTER_BITS_EXT", },
- {0x9151, "GL_BUFFER_OBJECT_EXT", },
- {0x8C93, "GL_ATC_RGBA_EXPLICIT_ALPHA_AMD", },
- {0x00000002, "GL_CONTEXT_FLAG_DEBUG_BIT_KHR", },
- {0x00000001, "GL_SYNC_FLUSH_COMMANDS_BIT_APPLE", },
- {0x9248, "GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM", },
- {0x00000004, "GL_COLOR_BUFFER_BIT2_QCOM", },
- {0x1702, "GL_TEXTURE", },
- {0x00000008, "GL_COLOR_BUFFER_BIT3_QCOM", },
- {0x8B58, "GL_BOOL_VEC3", },
- {0x8828, "GL_DRAW_BUFFER3_EXT", },
- {0x8DF0, "GL_LOW_FLOAT", },
- {0x1906, "GL_ALPHA", },
- {0x1907, "GL_RGB", },
- {0x8FBB, "GL_GPU_DISJOINT_EXT", },
- {0x1902, "GL_DEPTH_COMPONENT", },
- {0x8B56, "GL_BOOL", },
- {0x93DB, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", },
- {0x8B9B, "GL_IMPLEMENTATION_COLOR_READ_FORMAT", },
- {0x8B9A, "GL_IMPLEMENTATION_COLOR_READ_TYPE", },
- {0x93DA, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", },
- {0x1908, "GL_RGBA", },
- {0x8DF2, "GL_HIGH_FLOAT", },
- {0x93DD, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", },
- {0x8827, "GL_DRAW_BUFFER2_EXT", },
- {0x9243, "GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM", },
- {0x8DF3, "GL_LOW_INT", },
- {0x82E8, "GL_MAX_LABEL_LENGTH_KHR", },
- {0x82E6, "GL_SAMPLER_KHR", },
- {0x0C02, "GL_READ_BUFFER_EXT", },
- {0x82E3, "GL_QUERY_KHR", },
- {0x82E2, "GL_PROGRAM_KHR", },
- {0x82E1, "GL_SHADER_KHR", },
- {0x8B52, "GL_FLOAT_VEC4", },
- {0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM", },
- {0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES", },
- {0x8230, "GL_RG32F_EXT", },
- {0x8DF7, "GL_INT_10_10_10_2_OES", },
- {0x9246, "GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM", },
- {0x8B69, "GL_FLOAT_MAT4x2_NV", },
- {0x812D, "GL_CLAMP_TO_BORDER_NV", },
- {0x812F, "GL_CLAMP_TO_EDGE", },
- {0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS", },
- {0x9244, "GL_BIND_GENERATES_RESOURCE_CHROMIUM", },
- {0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS", },
- {0x0CF3, "GL_UNPACK_SKIP_ROWS_EXT", },
- {0x0CF2, "GL_UNPACK_ROW_LENGTH_EXT", },
- {0x140C, "GL_FIXED", },
- {0x8008, "GL_MAX_EXT", },
- {0x0CF5, "GL_UNPACK_ALIGNMENT", },
- {0x0CF4, "GL_UNPACK_SKIP_PIXELS_EXT", },
- {0x8009, "GL_BLEND_EQUATION", },
- {0x1401, "GL_UNSIGNED_BYTE", },
- {0x1400, "GL_BYTE", },
- {0x1403, "GL_UNSIGNED_SHORT", },
- {0x1402, "GL_SHORT", },
- {0x1405, "GL_UNSIGNED_INT", },
- {0x1404, "GL_INT", },
- {0x1406, "GL_FLOAT", },
- {0x8043, "GL_LUMINANCE4_ALPHA4_OES", },
- {0x8040, "GL_LUMINANCE8_OES", },
- {0x8045, "GL_LUMINANCE8_ALPHA8_OES", },
- {0x8CD1, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", },
- {0x00040000, "GL_STENCIL_BUFFER_BIT2_QCOM", },
- {0x8CD0, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", },
- {0x8CE4, "GL_COLOR_ATTACHMENT4_EXT", },
- {0x8CD3, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", },
- {0x929E, "GL_DIFFERENCE_NV", },
- {0x0B90, "GL_STENCIL_TEST", },
- {0x8CD2, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", },
- {0x881C, "GL_ALPHA16F_EXT", },
- {0x928E, "GL_SRC_ATOP_NV", },
- {0x8CD4, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES", },
- {0x9298, "GL_LIGHTEN_NV", },
- {0x8CD7, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", },
- {0x9112, "GL_OBJECT_TYPE_APPLE", },
- {0x8038, "GL_POLYGON_OFFSET_FACTOR", },
- {0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z", },
- {0x851C, "GL_MAX_CUBE_MAP_TEXTURE_SIZE", },
- {0x8CD9, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS", },
- {0x84CC, "GL_TEXTURE12", },
- {0x0BA2, "GL_VIEWPORT", },
- {0x84CA, "GL_TEXTURE10", },
- {0x84CF, "GL_TEXTURE15", },
- {0x84CE, "GL_TEXTURE14", },
- {0x84CD, "GL_TEXTURE13", },
- {0x9115, "GL_SYNC_FLAGS_APPLE", },
- {0x9286, "GL_SRC_NV", },
- {0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE", },
- {0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE", },
- {0x83F1, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT", },
- {0x9114, "GL_SYNC_STATUS_APPLE", },
- {0x8C0A, "GL_SGX_BINARY_IMG", },
- {0x9285, "GL_BLEND_ADVANCED_COHERENT_NV", },
- {0x911C, "GL_CONDITION_SATISFIED_APPLE", },
- {0x911B, "GL_TIMEOUT_EXPIRED_APPLE", },
- {0x911A, "GL_ALREADY_SIGNALED_APPLE", },
- {0x9284, "GL_CONJOINT_NV", },
- {0x911D, "GL_WAIT_FAILED_APPLE", },
- {0x929A, "GL_COLORBURN_NV", },
- {0x929B, "GL_HARDLIGHT_NV", },
- {0x929C, "GL_SOFTLIGHT_NV", },
- {0x846D, "GL_ALIASED_POINT_SIZE_RANGE", },
- {0x846E, "GL_ALIASED_LINE_WIDTH_RANGE", },
- {0x929F, "GL_MINUS_NV", },
- {0x9282, "GL_UNCORRELATED_NV", },
- {0x9113, "GL_SYNC_CONDITION_APPLE", },
- {0x93A4, "GL_PACK_REVERSE_ROW_ORDER_ANGLE", },
- {0x9111, "GL_MAX_SERVER_WAIT_TIMEOUT_APPLE", },
- {0x93A6, "GL_PROGRAM_BINARY_ANGLE", },
- {0x9117, "GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE", },
- {0x93A0, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE", },
- {0x93A3, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE", },
- {0x93A2, "GL_TEXTURE_USAGE_ANGLE", },
- {0x8802, "GL_STENCIL_BACK_PASS_DEPTH_FAIL", },
- {0x9119, "GL_SIGNALED_APPLE", },
- {0x9118, "GL_UNSIGNALED_APPLE", },
- {0x9294, "GL_MULTIPLY_NV", },
- {0x9295, "GL_SCREEN_NV", },
- {0x9296, "GL_OVERLAY_NV", },
- {0x9297, "GL_DARKEN_NV", },
- {0x0020, "GL_MAP_UNSYNCHRONIZED_BIT_EXT", },
- {0x8C01, "GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG", },
- {0x8C00, "GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG", },
- {0x8A52, "GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT", },
- {0x8C02, "GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG", },
- {0x84C9, "GL_TEXTURE9", },
- {0x84C8, "GL_TEXTURE8", },
- {0x8869, "GL_MAX_VERTEX_ATTRIBS", },
- {0x84C3, "GL_TEXTURE3", },
- {0x84C2, "GL_TEXTURE2", },
- {0x84C1, "GL_TEXTURE1", },
- {0x84C0, "GL_TEXTURE0", },
- {0x84C7, "GL_TEXTURE7", },
- {0x84C6, "GL_TEXTURE6", },
- {0x84C5, "GL_TEXTURE5", },
- {0x8803, "GL_STENCIL_BACK_PASS_DEPTH_PASS", },
- {0x928A, "GL_SRC_IN_NV", },
- {0x8518, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y", },
- {0x8519, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z", },
- {0x8514, "GL_TEXTURE_BINDING_CUBE_MAP", },
- {0x8515, "GL_TEXTURE_CUBE_MAP_POSITIVE_X", },
- {0x8516, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X", },
- {0x8517, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y", },
- {0x8513, "GL_TEXTURE_CUBE_MAP", },
- {0x8626, "GL_CURRENT_VERTEX_ATTRIB", },
- {0x92B1, "GL_PLUS_CLAMPED_NV", },
- {0x92B0, "GL_HSL_LUMINOSITY_NV", },
- {0x92B3, "GL_MINUS_CLAMPED_NV", },
- {0x92B2, "GL_PLUS_CLAMPED_ALPHA_NV", },
- {0x8765, "GL_BUFFER_USAGE", },
- {0x8764, "GL_BUFFER_SIZE", },
- {0x8B99, "GL_PALETTE8_RGB5_A1_OES", },
- {0x0503, "GL_STACK_OVERFLOW_KHR", },
- {0x0502, "GL_INVALID_OPERATION", },
- {0x0501, "GL_INVALID_VALUE", },
- {0x0500, "GL_INVALID_ENUM", },
- {64, "GL_MAILBOX_SIZE_CHROMIUM", },
- {0x0506, "GL_INVALID_FRAMEBUFFER_OPERATION", },
- {0x0505, "GL_OUT_OF_MEMORY", },
- {0x0504, "GL_STACK_UNDERFLOW_KHR", },
- {0x0B44, "GL_CULL_FACE", },
- {0x8B5E, "GL_SAMPLER_2D", },
- {0x0B46, "GL_FRONT_FACE", },
- {0x8FB3, "GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM", },
- {0x824A, "GL_DEBUG_SOURCE_APPLICATION_KHR", },
- {0x824B, "GL_DEBUG_SOURCE_OTHER_KHR", },
- {0x824C, "GL_DEBUG_TYPE_ERROR_KHR", },
- {0x824D, "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR", },
- {0x824E, "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR", },
- {0x824F, "GL_DEBUG_TYPE_PORTABILITY_KHR", },
- {0x8B31, "GL_VERTEX_SHADER", },
- {0x8B30, "GL_FRAGMENT_SHADER", },
- {0x8FB1, "GL_CPU_OPTIMIZED_QCOM", },
- {0x93D2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", },
- {0x8B5A, "GL_FLOAT_MAT2", },
- {0x84D8, "GL_TEXTURE24", },
- {0x84D9, "GL_TEXTURE25", },
- {0x84D6, "GL_TEXTURE22", },
- {0x84D7, "GL_TEXTURE23", },
- {0x84D4, "GL_TEXTURE20", },
- {0x0D05, "GL_PACK_ALIGNMENT", },
- {0x84D2, "GL_TEXTURE18", },
- {0x84D3, "GL_TEXTURE19", },
- {0x84D0, "GL_TEXTURE16", },
- {0x84D1, "GL_TEXTURE17", },
- {0x93D1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", },
- {0x84DF, "GL_TEXTURE31", },
- {0x8B97, "GL_PALETTE8_R5_G6_B5_OES", },
- {0x84DD, "GL_TEXTURE29", },
- {0x84DE, "GL_TEXTURE30", },
- {0x84DB, "GL_TEXTURE27", },
- {0x84DC, "GL_TEXTURE28", },
- {0x6002, "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM", },
- {0x84DA, "GL_TEXTURE26", },
- {0x8242, "GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR", },
- {0x8243, "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR", },
- {0x8244, "GL_DEBUG_CALLBACK_FUNCTION_KHR", },
- {0x8245, "GL_DEBUG_CALLBACK_USER_PARAM_KHR", },
- {0x8246, "GL_DEBUG_SOURCE_API_KHR", },
- {0x8247, "GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR", },
- {0x8248, "GL_DEBUG_SOURCE_SHADER_COMPILER_KHR", },
- {0x8249, "GL_DEBUG_SOURCE_THIRD_PARTY_KHR", },
- {0x8B94, "GL_PALETTE4_RGB5_A1_OES", },
- {0x00000040, "GL_COLOR_BUFFER_BIT6_QCOM", },
- {0x8645, "GL_VERTEX_ATTRIB_ARRAY_POINTER", },
- {0x8865, "GL_CURRENT_QUERY_EXT", },
- {0x8866, "GL_QUERY_RESULT_EXT", },
- {0x8867, "GL_QUERY_RESULT_AVAILABLE_EXT", },
- {0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM", },
- {0x87FA, "GL_3DC_XY_AMD", },
- {0x84C4, "GL_TEXTURE4", },
- {0x85B5, "GL_VERTEX_ARRAY_BINDING_OES", },
- {0x8D6A, "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT", },
- {0x8D6C, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT", },
- {0x8252, "GL_LOSE_CONTEXT_ON_RESET_EXT", },
- {0x8C4C, "GL_COMPRESSED_SRGB_S3TC_DXT1_NV", },
- {0x8C4E, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV", },
- {0x1102, "GL_NICEST", },
- {0x8C4F, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV", },
- {0x93E9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES", },
- {0x93E8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES", },
- {0x8C43, "GL_SRGB8_ALPHA8_EXT", },
- {0x8C42, "GL_SRGB_ALPHA_EXT", },
- {0x8C45, "GL_SLUMINANCE8_ALPHA8_NV", },
- {0x8C44, "GL_SLUMINANCE_ALPHA_NV", },
- {0x8C47, "GL_SLUMINANCE8_NV", },
- {0x8C46, "GL_SLUMINANCE_NV", },
- {0x93E1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES", },
- {0x93E0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES", },
- {0x93E3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES", },
- {0x93E2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES", },
- {0x93E5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES", },
- {0x93E4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES", },
- {0x93E7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES", },
- {0x93E6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES", },
- {0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES", },
- {0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE", },
- {0x8D61, "GL_HALF_FLOAT_OES", },
- {0x8D62, "GL_RGB565", },
- {0x8D64, "GL_ETC1_RGB8_OES", },
- {0x8D65, "GL_TEXTURE_EXTERNAL_OES", },
- {0x8D66, "GL_SAMPLER_EXTERNAL_OES", },
- {0x8D67, "GL_TEXTURE_BINDING_EXTERNAL_OES", },
- {0x04000000, "GL_MULTISAMPLE_BUFFER_BIT2_QCOM", },
- {0x8CEE, "GL_COLOR_ATTACHMENT14_EXT", },
- {0x2800, "GL_TEXTURE_MAG_FILTER", },
- {0x2801, "GL_TEXTURE_MIN_FILTER", },
- {0x2802, "GL_TEXTURE_WRAP_S", },
- {0x2803, "GL_TEXTURE_WRAP_T", },
- {0x2703, "GL_LINEAR_MIPMAP_LINEAR", },
- {0x8B98, "GL_PALETTE8_RGBA4_OES", },
- {0x84F3, "GL_FENCE_STATUS_NV", },
- {0x2702, "GL_NEAREST_MIPMAP_LINEAR", },
- {0x1F03, "GL_EXTENSIONS", },
- {0x1F02, "GL_VERSION", },
- {0x1F01, "GL_RENDERER", },
- {0x1F00, "GL_VENDOR", },
- {0x9247, "GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM", },
- {0x2701, "GL_LINEAR_MIPMAP_NEAREST", },
- {0x9245, "GL_OVERLAY_TRANSFORM_NONE_CHROMIUM", },
- {0x92B4, "GL_INVERT_OVG_NV", },
- {0x9249, "GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM", },
- {0x0B94, "GL_STENCIL_FAIL", },
- {0x8B4C, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS", },
- {0x8B4D, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS", },
- {0x8B4F, "GL_SHADER_TYPE", },
- {0x00004000, "GL_COLOR_BUFFER_BIT", },
- {0x00000010, "GL_COLOR_BUFFER_BIT4_QCOM", },
- {0x8834, "GL_DRAW_BUFFER15_EXT", },
- {0x8833, "GL_DRAW_BUFFER14_EXT", },
- {0x8832, "GL_DRAW_BUFFER13_EXT", },
- {0x8831, "GL_DRAW_BUFFER12_EXT", },
- {0x8830, "GL_DRAW_BUFFER11_EXT", },
- {0x8DC5, "GL_SAMPLER_CUBE_SHADOW_NV", },
- {0x93B8, "GL_COMPRESSED_RGBA_ASTC_10x5_KHR", },
- {0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM", },
- {0x00010000, "GL_STENCIL_BUFFER_BIT0_QCOM", },
- {0x0B93, "GL_STENCIL_VALUE_MASK", },
- {0x0B92, "GL_STENCIL_FUNC", },
- {0x0B91, "GL_STENCIL_CLEAR_VALUE", },
- {0x883D, "GL_BLEND_EQUATION_ALPHA", },
- {0x0B97, "GL_STENCIL_REF", },
- {0x0B96, "GL_STENCIL_PASS_DEPTH_PASS", },
- {0x0B95, "GL_STENCIL_PASS_DEPTH_FAIL", },
- {0x2700, "GL_NEAREST_MIPMAP_NEAREST", },
- {0x0B98, "GL_STENCIL_WRITEMASK", },
- {0x8B40, "GL_PROGRAM_OBJECT_EXT", },
- {0x1004, "GL_TEXTURE_BORDER_COLOR_NV", },
- {0x8B48, "GL_SHADER_OBJECT_EXT", },
- {0x912F, "GL_TEXTURE_IMMUTABLE_FORMAT_EXT", },
- {0x924A, "GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM", },
- {0x20000000, "GL_MULTISAMPLE_BUFFER_BIT5_QCOM", },
- {0x0DE1, "GL_TEXTURE_2D", },
- {0x80C9, "GL_BLEND_SRC_RGB", },
- {0x80C8, "GL_BLEND_DST_RGB", },
- {0x8059, "GL_RGB10_A2_EXT", },
- {0x8058, "GL_RGBA8_OES", },
- {0x8B93, "GL_PALETTE4_RGBA4_OES", },
- {0x00002000, "GL_DEPTH_BUFFER_BIT5_QCOM", },
- {0x8051, "GL_RGB8_OES", },
- {0x8052, "GL_RGB10_EXT", },
- {0x8CAB, "GL_RENDERBUFFER_SAMPLES_ANGLE", },
- {0x8057, "GL_RGB5_A1", },
- {0x8056, "GL_RGBA4", },
- {0x150A, "GL_INVERT", },
- {0x01000000, "GL_MULTISAMPLE_BUFFER_BIT0_QCOM", },
- {0x78ED, "GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM", },
- {0x78EE, "GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM", },
- {0x78EF, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM", },
- {0x0B45, "GL_CULL_FACE_MODE", },
- {0x8B92, "GL_PALETTE4_R5_G6_B5_OES", },
- {0x00100000, "GL_STENCIL_BUFFER_BIT4_QCOM", },
- {0x9299, "GL_COLORDODGE_NV", },
- {0x8D20, "GL_STENCIL_ATTACHMENT", },
- {0x8B91, "GL_PALETTE4_RGBA8_OES", },
- {0x00000200, "GL_DEPTH_BUFFER_BIT1_QCOM", },
- {0x00008000, "GL_COVERAGE_BUFFER_BIT_NV", },
- {0x1506, "GL_XOR_NV", },
- {0x8CA8, "GL_READ_FRAMEBUFFER_ANGLE", },
- {0x8CA9, "GL_DRAW_FRAMEBUFFER_ANGLE", },
- {0x8CA6, "GL_FRAMEBUFFER_BINDING", },
- {0x8CA7, "GL_RENDERBUFFER_BINDING", },
- {0x8CA4, "GL_STENCIL_BACK_VALUE_MASK", },
- {0x8CA5, "GL_STENCIL_BACK_WRITEMASK", },
- {0x8B90, "GL_PALETTE4_RGB8_OES", },
- {0x8CA3, "GL_STENCIL_BACK_REF", },
- {0x80CB, "GL_BLEND_SRC_ALPHA", },
- {0x80CA, "GL_BLEND_DST_ALPHA", },
- {0x8CE7, "GL_COLOR_ATTACHMENT7_EXT", },
- {0x93B0, "GL_COMPRESSED_RGBA_ASTC_4x4_KHR", },
- {0x93B1, "GL_COMPRESSED_RGBA_ASTC_5x4_KHR", },
- {0x93B2, "GL_COMPRESSED_RGBA_ASTC_5x5_KHR", },
- {0x93B3, "GL_COMPRESSED_RGBA_ASTC_6x5_KHR", },
- {0x93B4, "GL_COMPRESSED_RGBA_ASTC_6x6_KHR", },
- {0x93B5, "GL_COMPRESSED_RGBA_ASTC_8x5_KHR", },
- {0x93B6, "GL_COMPRESSED_RGBA_ASTC_8x6_KHR", },
- {0x93B7, "GL_COMPRESSED_RGBA_ASTC_8x8_KHR", },
- {0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT", },
- {0x93B9, "GL_COMPRESSED_RGBA_ASTC_10x6_KHR", },
- {0x8253, "GL_GUILTY_CONTEXT_RESET_EXT", },
- {0x8CE5, "GL_COLOR_ATTACHMENT5_EXT", },
- {0x8CE9, "GL_COLOR_ATTACHMENT9_EXT", },
- {0x8B96, "GL_PALETTE8_RGBA8_OES", },
- {0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS", },
- {0x8508, "GL_DECR_WRAP", },
- {0x92AD, "GL_HSL_HUE_NV", },
- {0x92AE, "GL_HSL_SATURATION_NV", },
- {0x92AF, "GL_HSL_COLOR_NV", },
- {0x8DC4, "GL_SAMPLER_2D_ARRAY_SHADOW_NV", },
- {0x8507, "GL_INCR_WRAP", },
- {0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING", },
- {0x8894, "GL_ARRAY_BUFFER_BINDING", },
- {0x92A3, "GL_INVERT_RGB_NV", },
- {0x92A4, "GL_LINEARDODGE_NV", },
- {0x92A5, "GL_LINEARBURN_NV", },
- {0x8893, "GL_ELEMENT_ARRAY_BUFFER", },
- {0x8892, "GL_ARRAY_BUFFER", },
- {0x92A8, "GL_PINLIGHT_NV", },
- {0x92A9, "GL_HARDMIX_NV", },
- {0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM", },
- {0x84D5, "GL_TEXTURE21", },
- {0x9287, "GL_DST_NV", },
- {0x93BA, "GL_COMPRESSED_RGBA_ASTC_10x8_KHR", },
- {0x93BB, "GL_COMPRESSED_RGBA_ASTC_10x10_KHR", },
- {0x93BC, "GL_COMPRESSED_RGBA_ASTC_12x10_KHR", },
- {0x93BD, "GL_COMPRESSED_RGBA_ASTC_12x12_KHR", },
- {0x84E8, "GL_MAX_RENDERBUFFER_SIZE", },
- {0x9281, "GL_BLEND_OVERLAP_NV", },
- {0x9280, "GL_BLEND_PREMULTIPLIED_SRC_NV", },
- {0x8370, "GL_MIRRORED_REPEAT", },
- {0x84E0, "GL_ACTIVE_TEXTURE", },
- {0x8800, "GL_STENCIL_BACK_FUNC", },
- {0x8801, "GL_STENCIL_BACK_FAIL", },
- {0x0D33, "GL_MAX_TEXTURE_SIZE", },
- {0x8624, "GL_VERTEX_ATTRIB_ARRAY_STRIDE", },
- {0x8625, "GL_VERTEX_ATTRIB_ARRAY_TYPE", },
- {0x8622, "GL_VERTEX_ATTRIB_ARRAY_ENABLED", },
- {0x8623, "GL_VERTEX_ATTRIB_ARRAY_SIZE", },
- {0x8DB9, "GL_FRAMEBUFFER_SRGB_EXT", },
- {0x8259, "GL_ACTIVE_PROGRAM_EXT", },
- {0x8258, "GL_PROGRAM_SEPARABLE_EXT", },
- {0x8256, "GL_RESET_NOTIFICATION_STRATEGY_EXT", },
- {0x8255, "GL_UNKNOWN_CONTEXT_RESET_EXT", },
- {0x8254, "GL_INNOCENT_CONTEXT_RESET_EXT", },
- {0x1100, "GL_DONT_CARE", },
- {0x1101, "GL_FASTEST", },
- {0x8251, "GL_DEBUG_TYPE_OTHER_KHR", },
- {0x8250, "GL_DEBUG_TYPE_PERFORMANCE_KHR", },
- {0x8CEB, "GL_COLOR_ATTACHMENT11_EXT", },
- {0x8CEC, "GL_COLOR_ATTACHMENT12_EXT", },
- {0x0408, "GL_FRONT_AND_BACK", },
- {0x8CEA, "GL_COLOR_ATTACHMENT10_EXT", },
- {0x8CEF, "GL_COLOR_ATTACHMENT15_EXT", },
- {0x8CED, "GL_COLOR_ATTACHMENT13_EXT", },
- {0x8829, "GL_DRAW_BUFFER4_EXT", },
- {0x0404, "GL_FRONT", },
- {0x0405, "GL_BACK", },
- {0x88E1, "GL_STREAM_READ", },
- {0x88E0, "GL_STREAM_DRAW", },
- {0x88E4, "GL_STATIC_DRAW", },
- {0x93C6, "GL_COMPRESSED_RGBA_ASTC_5x5x5_OES", },
- {0x88E8, "GL_DYNAMIC_DRAW", },
- {0x9291, "GL_PLUS_NV", },
- {0x8CAA, "GL_READ_FRAMEBUFFER_BINDING_ANGLE", },
- {0x93C5, "GL_COMPRESSED_RGBA_ASTC_5x5x4_OES", },
- {0x40000000, "GL_MULTISAMPLE_BUFFER_BIT6_QCOM", },
- {0x9116, "GL_SYNC_FENCE_APPLE", },
- {0x93C4, "GL_COMPRESSED_RGBA_ASTC_5x4x4_OES", },
- {0x88EE, "GL_ETC1_SRGB8_NV", },
- {0x93C3, "GL_COMPRESSED_RGBA_ASTC_4x4x4_OES", },
- {0x00000800, "GL_DEPTH_BUFFER_BIT3_QCOM", },
- {0x1903, "GL_RED_EXT", },
- {0x93C2, "GL_COMPRESSED_RGBA_ASTC_4x4x3_OES", },
- {0x8CE2, "GL_COLOR_ATTACHMENT2_EXT", },
- {0x8BC1, "GL_COUNTER_RANGE_AMD", },
- {0x8CE0, "GL_COLOR_ATTACHMENT0", },
- {0x8CE1, "GL_COLOR_ATTACHMENT1_EXT", },
- {0x8CE6, "GL_COLOR_ATTACHMENT6_EXT", },
- {0x93C1, "GL_COMPRESSED_RGBA_ASTC_4x3x3_OES", },
- {0x8A1F, "GL_RGB_422_APPLE", },
- {0x93DC, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", },
- {0x9292, "GL_PLUS_DARKER_NV", },
- {0x8CE8, "GL_COLOR_ATTACHMENT8_EXT", },
- {0x93C0, "GL_COMPRESSED_RGBA_ASTC_3x3x3_OES", },
- {0x0C23, "GL_COLOR_WRITEMASK", },
- {0x0C22, "GL_COLOR_CLEAR_VALUE", },
- {0x8823, "GL_WRITEONLY_RENDERING_QCOM", },
- {0x8824, "GL_MAX_DRAW_BUFFERS_EXT", },
- {0x825A, "GL_PROGRAM_PIPELINE_BINDING_EXT", },
- {0x1909, "GL_LUMINANCE", },
- {0x0D3A, "GL_MAX_VIEWPORT_DIMS", },
- {0x8B53, "GL_INT_VEC2", },
- {0x8826, "GL_DRAW_BUFFER1_EXT", },
- {0x809E, "GL_SAMPLE_ALPHA_TO_COVERAGE", },
- {0x8BC0, "GL_COUNTER_TYPE_AMD", },
- {0x8BC3, "GL_PERCENTAGE_AMD", },
- {0x8BC2, "GL_UNSIGNED_INT64_AMD", },
- {0x8BC5, "GL_PERFMON_RESULT_SIZE_AMD", },
- {0x8BC4, "GL_PERFMON_RESULT_AVAILABLE_AMD", },
- {0x8BC6, "GL_PERFMON_RESULT_AMD", }, };
+ {
+ 0x78EC, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM",
+ },
+ {
+ 0x8825, "GL_DRAW_BUFFER0_EXT",
+ },
+ {
+ 0x0BC1, "GL_ALPHA_TEST_FUNC_QCOM",
+ },
+ {
+ 0x884C, "GL_TEXTURE_COMPARE_MODE_EXT",
+ },
+ {
+ 0x0BC2, "GL_ALPHA_TEST_REF_QCOM",
+ },
+ {
+ 0x884D, "GL_TEXTURE_COMPARE_FUNC_EXT",
+ },
+ {
+ 0x884E, "GL_COMPARE_REF_TO_TEXTURE_EXT",
+ },
+ {
+ 0x93A1, "GL_BGRA8_EXT",
+ },
+ {
+ 0, "GL_FALSE",
+ },
+ {
+ 0x00400000, "GL_STENCIL_BUFFER_BIT6_QCOM",
+ },
+ {
+ 0x9138, "GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG",
+ },
+ {
+ 0x8FC4, "GL_SHADER_BINARY_VIV",
+ },
+ {
+ 0x9130, "GL_SGX_PROGRAM_BINARY_IMG",
+ },
+ {
+ 0x9133, "GL_RENDERBUFFER_SAMPLES_IMG",
+ },
+ {
+ 0x82E0, "GL_BUFFER_KHR",
+ },
+ {
+ 0x9135, "GL_MAX_SAMPLES_IMG",
+ },
+ {
+ 0x9134, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG",
+ },
+ {
+ 0x9137, "GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG",
+ },
+ {
+ 0x9136, "GL_TEXTURE_SAMPLES_IMG",
+ },
+ {
+ 0x00000020, "GL_COLOR_BUFFER_BIT5_QCOM",
+ },
+ {
+ 0x0008, "GL_MAP_INVALIDATE_BUFFER_BIT_EXT",
+ },
+ {
+ 0x0BC0, "GL_ALPHA_TEST_QCOM",
+ },
+ {
+ 0x0006, "GL_TRIANGLE_FAN",
+ },
+ {
+ 0x0004, "GL_TRIANGLES",
+ },
+ {
+ 0x0005, "GL_TRIANGLE_STRIP",
+ },
+ {
+ 0x0002, "GL_LINE_LOOP",
+ },
+ {
+ 0x0003, "GL_LINE_STRIP",
+ },
+ {
+ 0x0000, "GL_POINTS",
+ },
+ {
+ 0x0001, "GL_LINES",
+ },
+ {
+ 0x78F0, "GL_IMAGE_ROWBYTES_CHROMIUM",
+ },
+ {
+ 0x88B8, "GL_READ_ONLY",
+ },
+ {
+ 0x88B9, "GL_WRITE_ONLY_OES",
+ },
+ {
+ 0x8211, "GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT",
+ },
+ {
+ 0x8210, "GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT",
+ },
+ {
+ 0x8741, "GL_PROGRAM_BINARY_LENGTH_OES",
+ },
+ {
+ 0x8740, "GL_Z400_BINARY_AMD",
+ },
+ {
+ 0x8192, "GL_GENERATE_MIPMAP_HINT",
+ },
+ {
+ 0x8A54, "GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT",
+ },
+ {
+ 0x8A55, "GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT",
+ },
+ {
+ 0x8A56, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT",
+ },
+ {
+ 0x8A57, "GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT",
+ },
+ {
+ 0x8A51, "GL_RGB_RAW_422_APPLE",
+ },
+ {
+ 0x87F9, "GL_3DC_X_AMD",
+ },
+ {
+ 0x8A53, "GL_SYNC_OBJECT_APPLE",
+ },
+ {
+ 0x8DF8, "GL_SHADER_BINARY_FORMATS",
+ },
+ {
+ 0x8DF9, "GL_NUM_SHADER_BINARY_FORMATS",
+ },
+ {
+ 0x826D, "GL_DEBUG_GROUP_STACK_DEPTH_KHR",
+ },
+ {
+ 0x826B, "GL_DEBUG_SEVERITY_NOTIFICATION_KHR",
+ },
+ {
+ 0x826C, "GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR",
+ },
+ {
+ 0x8B59, "GL_BOOL_VEC4",
+ },
+ {
+ 0x826A, "GL_DEBUG_TYPE_POP_GROUP_KHR",
+ },
+ {
+ 0x8B57, "GL_BOOL_VEC2",
+ },
+ {
+ 0x8DF1, "GL_MEDIUM_FLOAT",
+ },
+ {
+ 0x8B55, "GL_INT_VEC4",
+ },
+ {
+ 0x8B54, "GL_INT_VEC3",
+ },
+ {
+ 0x8DF4, "GL_MEDIUM_INT",
+ },
+ {
+ 0x8DF5, "GL_HIGH_INT",
+ },
+ {
+ 0x8B51, "GL_FLOAT_VEC3",
+ },
+ {
+ 0x8B50, "GL_FLOAT_VEC2",
+ },
+ {
+ 0x806F, "GL_TEXTURE_3D_OES",
+ },
+ {
+ 0x92E0, "GL_DEBUG_OUTPUT_KHR",
+ },
+ {
+ 0x806A, "GL_TEXTURE_BINDING_3D_OES",
+ },
+ {
+ 0x8CE3, "GL_COLOR_ATTACHMENT3_EXT",
+ },
+ {
+ 0x1904, "GL_GREEN_NV",
+ },
+ {
+ 0x928D, "GL_DST_OUT_NV",
+ },
+ {
+ 0x8069, "GL_TEXTURE_BINDING_2D",
+ },
+ {
+ 0x8261, "GL_NO_RESET_NOTIFICATION_EXT",
+ },
+ {
+ 0x8DFA, "GL_SHADER_COMPILER",
+ },
+ {
+ 0x8DFB, "GL_MAX_VERTEX_UNIFORM_VECTORS",
+ },
+ {
+ 0x8DFC, "GL_MAX_VARYING_VECTORS",
+ },
+ {
+ 0x8B5C, "GL_FLOAT_MAT4",
+ },
+ {
+ 0x8B5B, "GL_FLOAT_MAT3",
+ },
+ {
+ 0x8268, "GL_DEBUG_TYPE_MARKER_KHR",
+ },
+ {
+ 0x8269, "GL_DEBUG_TYPE_PUSH_GROUP_KHR",
+ },
+ {
+ 0x1905, "GL_BLUE_NV",
+ },
+ {
+ 0x87FF, "GL_PROGRAM_BINARY_FORMATS_OES",
+ },
+ {
+ 0x87FE, "GL_NUM_PROGRAM_BINARY_FORMATS_OES",
+ },
+ {
+ 0x2600, "GL_NEAREST",
+ },
+ {
+ 0x2601, "GL_LINEAR",
+ },
+ {
+ 0x8C03, "GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",
+ },
+ {
+ 0x9242, "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM",
+ },
+ {
+ 0x88BA, "GL_READ_WRITE",
+ },
+ {
+ 0x88BB, "GL_BUFFER_ACCESS_OES",
+ },
+ {
+ 0x88BC, "GL_BUFFER_MAPPED_OES",
+ },
+ {
+ 0x88BD, "GL_BUFFER_MAP_POINTER_OES",
+ },
+ {
+ 0x88BF, "GL_TIME_ELAPSED_EXT",
+ },
+ {
+ 0x0C10, "GL_SCISSOR_BOX",
+ },
+ {
+ 0x0C11, "GL_SCISSOR_TEST",
+ },
+ {
+ 0x80000000, "GL_MULTISAMPLE_BUFFER_BIT7_QCOM",
+ },
+ {
+ 0x8A48, "GL_TEXTURE_SRGB_DECODE_EXT",
+ },
+ {
+ 0x300E, "GL_CONTEXT_LOST",
+ },
+ {
+ 0x02000000, "GL_MULTISAMPLE_BUFFER_BIT1_QCOM",
+ },
+ {
+ 0x8C2F, "GL_ANY_SAMPLES_PASSED_EXT",
+ },
+ {
+ 0x8BD2, "GL_TEXTURE_WIDTH_QCOM",
+ },
+ {
+ 0x8BD3, "GL_TEXTURE_HEIGHT_QCOM",
+ },
+ {
+ 0x8BD4, "GL_TEXTURE_DEPTH_QCOM",
+ },
+ {
+ 0x8BD5, "GL_TEXTURE_INTERNAL_FORMAT_QCOM",
+ },
+ {
+ 0x8BD6, "GL_TEXTURE_FORMAT_QCOM",
+ },
+ {
+ 0x8BD7, "GL_TEXTURE_TYPE_QCOM",
+ },
+ {
+ 0x8B8D, "GL_CURRENT_PROGRAM",
+ },
+ {
+ 0x8BD9, "GL_TEXTURE_NUM_LEVELS_QCOM",
+ },
+ {
+ 0x00200000, "GL_STENCIL_BUFFER_BIT5_QCOM",
+ },
+ {
+ 0x8B8A, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH",
+ },
+ {
+ 0x8B8B, "GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES",
+ },
+ {
+ 0x8B8C, "GL_SHADING_LANGUAGE_VERSION",
+ },
+ {
+ 0x8BDA, "GL_TEXTURE_TARGET_QCOM",
+ },
+ {
+ 0x8BDB, "GL_TEXTURE_OBJECT_VALID_QCOM",
+ },
+ {
+ 0x8BDC, "GL_STATE_RESTORE",
+ },
+ {
+ 0x8B88, "GL_SHADER_SOURCE_LENGTH",
+ },
+ {
+ 0x8B89, "GL_ACTIVE_ATTRIBUTES",
+ },
+ {
+ 0x93C9, "GL_COMPRESSED_RGBA_ASTC_6x6x6_OES",
+ },
+ {
+ 0x93C8, "GL_COMPRESSED_RGBA_ASTC_6x6x5_OES",
+ },
+ {
+ 0x8B84, "GL_INFO_LOG_LENGTH",
+ },
+ {
+ 0x8B85, "GL_ATTACHED_SHADERS",
+ },
+ {
+ 0x8B86, "GL_ACTIVE_UNIFORMS",
+ },
+ {
+ 0x8B87, "GL_ACTIVE_UNIFORM_MAX_LENGTH",
+ },
+ {
+ 0x8B80, "GL_DELETE_STATUS",
+ },
+ {
+ 0x8B81, "GL_COMPILE_STATUS",
+ },
+ {
+ 0x8B82, "GL_LINK_STATUS",
+ },
+ {
+ 0x8B83, "GL_VALIDATE_STATUS",
+ },
+ {
+ 0x8D48, "GL_STENCIL_INDEX8",
+ },
+ {
+ 0x8D46, "GL_STENCIL_INDEX1_OES",
+ },
+ {
+ 0x8D47, "GL_STENCIL_INDEX4_OES",
+ },
+ {
+ 0x8D44, "GL_RENDERBUFFER_INTERNAL_FORMAT",
+ },
+ {
+ 0x00000100, "GL_DEPTH_BUFFER_BIT",
+ },
+ {
+ 0x8D42, "GL_RENDERBUFFER_WIDTH",
+ },
+ {
+ 0x8D43, "GL_RENDERBUFFER_HEIGHT",
+ },
+ {
+ 0x8D40, "GL_FRAMEBUFFER",
+ },
+ {
+ 0x8D41, "GL_RENDERBUFFER",
+ },
+ {
+ 0x0BD0, "GL_DITHER",
+ },
+ {
+ 0x93D3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR",
+ },
+ {
+ 0x1801, "GL_DEPTH_EXT",
+ },
+ {
+ 0x1800, "GL_COLOR_EXT",
+ },
+ {
+ 0x1802, "GL_STENCIL_EXT",
+ },
+ {
+ 0x0B21, "GL_LINE_WIDTH",
+ },
+ {
+ 0x81A5, "GL_DEPTH_COMPONENT16",
+ },
+ {
+ 0x81A6, "GL_DEPTH_COMPONENT24_OES",
+ },
+ {
+ 0x81A7, "GL_DEPTH_COMPONENT32_OES",
+ },
+ {
+ 0x88FE, "GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE",
+ },
+ {
+ 0x8B6A, "GL_FLOAT_MAT4x3_NV",
+ },
+ {
+ 0x93D0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR",
+ },
+ {
+ 0x9143, "GL_MAX_DEBUG_MESSAGE_LENGTH_KHR",
+ },
+ {
+ 0x9144, "GL_MAX_DEBUG_LOGGED_MESSAGES_KHR",
+ },
+ {
+ 0x9145, "GL_DEBUG_LOGGED_MESSAGES_KHR",
+ },
+ {
+ 0x9146, "GL_DEBUG_SEVERITY_HIGH_KHR",
+ },
+ {
+ 0x9147, "GL_DEBUG_SEVERITY_MEDIUM_KHR",
+ },
+ {
+ 0x9148, "GL_DEBUG_SEVERITY_LOW_KHR",
+ },
+ {
+ 0x9260, "GL_GCCSO_SHADER_BINARY_FJ",
+ },
+ {
+ 0x8F60, "GL_MALI_SHADER_BINARY_ARM",
+ },
+ {
+ 0x8F61, "GL_MALI_PROGRAM_BINARY_ARM",
+ },
+ {
+ 0x87EE, "GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD",
+ },
+ {
+ 0x822B, "GL_RG8_EXT",
+ },
+ {
+ 0x822F, "GL_RG16F_EXT",
+ },
+ {
+ 0x822D, "GL_R16F_EXT",
+ },
+ {
+ 0x822E, "GL_R32F_EXT",
+ },
+ {
+ 1, "GL_ES_VERSION_2_0",
+ },
+ {
+ 0x84F9, "GL_DEPTH_STENCIL_OES",
+ },
+ {
+ 0x8368, "GL_UNSIGNED_INT_2_10_10_10_REV_EXT",
+ },
+ {
+ 0x8819, "GL_LUMINANCE_ALPHA32F_EXT",
+ },
+ {
+ 0x8818, "GL_LUMINANCE32F_EXT",
+ },
+ {
+ 0x8363, "GL_UNSIGNED_SHORT_5_6_5",
+ },
+ {
+ 0x8814, "GL_RGBA32F_EXT",
+ },
+ {
+ 0x84F2, "GL_ALL_COMPLETED_NV",
+ },
+ {
+ 0x8816, "GL_ALPHA32F_EXT",
+ },
+ {
+ 0x84F4, "GL_FENCE_CONDITION_NV",
+ },
+ {
+ 0x8366, "GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT",
+ },
+ {
+ 0x8365, "GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT",
+ },
+ {
+ 0x84F7, "GL_COMMANDS_COMPLETED_CHROMIUM",
+ },
+ {
+ 0x881E, "GL_LUMINANCE16F_EXT",
+ },
+ {
+ 0x84FA, "GL_UNSIGNED_INT_24_8_OES",
+ },
+ {
+ 0x881F, "GL_LUMINANCE_ALPHA16F_EXT",
+ },
+ {
+ 0x881A, "GL_RGBA16F_EXT",
+ },
+ {
+ 0x84FE, "GL_TEXTURE_MAX_ANISOTROPY_EXT",
+ },
+ {
+ 0x0901, "GL_CCW",
+ },
+ {
+ 0x0900, "GL_CW",
+ },
+ {
+ 0x8229, "GL_R8_EXT",
+ },
+ {
+ 0x9283, "GL_DISJOINT_NV",
+ },
+ {
+ 0x8227, "GL_RG_EXT",
+ },
+ {
+ 0x8B66, "GL_FLOAT_MAT2x4_NV",
+ },
+ {
+ 0x8B67, "GL_FLOAT_MAT3x2_NV",
+ },
+ {
+ 0x8B65, "GL_FLOAT_MAT2x3_NV",
+ },
+ {
+ 0x8B62, "GL_SAMPLER_2D_SHADOW_EXT",
+ },
+ {
+ 0x8B63, "GL_SAMPLER_2D_RECT_ARB",
+ },
+ {
+ 0x8B60, "GL_SAMPLER_CUBE",
+ },
+ {
+ 0x00001000, "GL_DEPTH_BUFFER_BIT4_QCOM",
+ },
+ {
+ 0x8B68, "GL_FLOAT_MAT3x4_NV",
+ },
+ {
+ 0x83F0, "GL_COMPRESSED_RGB_S3TC_DXT1_EXT",
+ },
+ {
+ 0x00000080, "GL_COLOR_BUFFER_BIT7_QCOM",
+ },
+ {
+ 0x88F0, "GL_DEPTH24_STENCIL8_OES",
+ },
+ {
+ 0x80A0, "GL_SAMPLE_COVERAGE",
+ },
+ {
+ 0x928F, "GL_DST_ATOP_NV",
+ },
+ {
+ 0x80A9, "GL_SAMPLES",
+ },
+ {
+ 0x80A8, "GL_SAMPLE_BUFFERS",
+ },
+ {
+ 0x0D55, "GL_ALPHA_BITS",
+ },
+ {
+ 0x0D54, "GL_BLUE_BITS",
+ },
+ {
+ 0x0D57, "GL_STENCIL_BITS",
+ },
+ {
+ 0x0D56, "GL_DEPTH_BITS",
+ },
+ {
+ 0x8CD5, "GL_FRAMEBUFFER_COMPLETE",
+ },
+ {
+ 0x0D50, "GL_SUBPIXEL_BITS",
+ },
+ {
+ 0x0D53, "GL_GREEN_BITS",
+ },
+ {
+ 0x0D52, "GL_RED_BITS",
+ },
+ {
+ 0x8037, "GL_POLYGON_OFFSET_FILL",
+ },
+ {
+ 0x928C, "GL_SRC_OUT_NV",
+ },
+ {
+ 0x8034, "GL_UNSIGNED_SHORT_5_5_5_1",
+ },
+ {
+ 0x8033, "GL_UNSIGNED_SHORT_4_4_4_4",
+ },
+ {
+ 0x928B, "GL_DST_IN_NV",
+ },
+ {
+ 0x0305, "GL_ONE_MINUS_DST_ALPHA",
+ },
+ {
+ 0x0304, "GL_DST_ALPHA",
+ },
+ {
+ 0x0307, "GL_ONE_MINUS_DST_COLOR",
+ },
+ {
+ 0x0306, "GL_DST_COLOR",
+ },
+ {
+ 0x0301, "GL_ONE_MINUS_SRC_COLOR",
+ },
+ {
+ 0x0300, "GL_SRC_COLOR",
+ },
+ {
+ 0x0303, "GL_ONE_MINUS_SRC_ALPHA",
+ },
+ {
+ 0x0302, "GL_SRC_ALPHA",
+ },
+ {
+ 0x0308, "GL_SRC_ALPHA_SATURATE",
+ },
+ {
+ 0x2A00, "GL_POLYGON_OFFSET_UNITS",
+ },
+ {
+ 0xFFFFFFFF, "GL_ALL_SHADER_BITS_EXT",
+ },
+ {
+ 0x00800000, "GL_STENCIL_BUFFER_BIT7_QCOM",
+ },
+ {
+ 0x8C4D, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV",
+ },
+ {
+ 0x00020000, "GL_STENCIL_BUFFER_BIT1_QCOM",
+ },
+ {
+ 0x8D00, "GL_DEPTH_ATTACHMENT",
+ },
+ {
+ 0x8FA0, "GL_PERFMON_GLOBAL_MODE_QCOM",
+ },
+ {
+ 0x8815, "GL_RGB32F_EXT",
+ },
+ {
+ 0x813D, "GL_TEXTURE_MAX_LEVEL_APPLE",
+ },
+ {
+ 0x8DFD, "GL_MAX_FRAGMENT_UNIFORM_VECTORS",
+ },
+ {
+ 0x8CDD, "GL_FRAMEBUFFER_UNSUPPORTED",
+ },
+ {
+ 0x8CDF, "GL_MAX_COLOR_ATTACHMENTS_EXT",
+ },
+ {
+ 0x90F3, "GL_CONTEXT_ROBUST_ACCESS_EXT",
+ },
+ {
+ 0x90F2, "GL_MAX_MULTIVIEW_BUFFERS_EXT",
+ },
+ {
+ 0x90F1, "GL_MULTIVIEW_EXT",
+ },
+ {
+ 0x90F0, "GL_COLOR_ATTACHMENT_EXT",
+ },
+ {
+ 0x803C, "GL_ALPHA8_OES",
+ },
+ {
+ 0x84F5, "GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM",
+ },
+ {
+ 0x882A, "GL_DRAW_BUFFER5_EXT",
+ },
+ {
+ 0x80AA, "GL_SAMPLE_COVERAGE_VALUE",
+ },
+ {
+ 0x84F6, "GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM",
+ },
+ {
+ 0x80AB, "GL_SAMPLE_COVERAGE_INVERT",
+ },
+ {
+ 0x8C41, "GL_SRGB8_NV",
+ },
+ {
+ 0x8C40, "GL_SRGB_EXT",
+ },
+ {
+ 0x882B, "GL_DRAW_BUFFER6_EXT",
+ },
+ {
+ 0x8C17, "GL_UNSIGNED_NORMALIZED_EXT",
+ },
+ {
+ 0x8A4A, "GL_SKIP_DECODE_EXT",
+ },
+ {
+ 0x8A4F, "GL_PROGRAM_PIPELINE_OBJECT_EXT",
+ },
+ {
+ 0x882C, "GL_DRAW_BUFFER7_EXT",
+ },
+ {
+ 0x0010, "GL_MAP_FLUSH_EXPLICIT_BIT_EXT",
+ },
+ {
+ 0x882D, "GL_DRAW_BUFFER8_EXT",
+ },
+ {
+ 0x8F37, "GL_COPY_WRITE_BUFFER_NV",
+ },
+ {
+ 0x8F36, "GL_COPY_READ_BUFFER_NV",
+ },
+ {
+ 0x84FF, "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT",
+ },
+ {
+ 0x6000, "GL_TEXTURE_POOL_CHROMIUM",
+ },
+ {
+ 0x0B74, "GL_DEPTH_FUNC",
+ },
+ {
+ 0x8A49, "GL_DECODE_EXT",
+ },
+ {
+ 0x881B, "GL_RGB16F_EXT",
+ },
+ {
+ 0x0B71, "GL_DEPTH_TEST",
+ },
+ {
+ 0x0B70, "GL_DEPTH_RANGE",
+ },
+ {
+ 0x0B73, "GL_DEPTH_CLEAR_VALUE",
+ },
+ {
+ 0x0B72, "GL_DEPTH_WRITEMASK",
+ },
+ {
+ 0x85BA, "GL_UNSIGNED_SHORT_8_8_APPLE",
+ },
+ {
+ 0x882E, "GL_DRAW_BUFFER9_EXT",
+ },
+ {
+ 0x6001, "GL_TEXTURE_POOL_MANAGED_CHROMIUM",
+ },
+ {
+ 0x8073, "GL_MAX_3D_TEXTURE_SIZE_OES",
+ },
+ {
+ 0x8072, "GL_TEXTURE_WRAP_R_OES",
+ },
+ {
+ 0x9289, "GL_DST_OVER_NV",
+ },
+ {
+ 0x882F, "GL_DRAW_BUFFER10_EXT",
+ },
+ {
+ 0x8074, "GL_VERTEX_ARRAY_KHR",
+ },
+ {
+ 0x80E1, "GL_BGRA_EXT",
+ },
+ {
+ 0x8ED7, "GL_COVERAGE_AUTOMATIC_NV",
+ },
+ {
+ 0x8ED6, "GL_COVERAGE_EDGE_FRAGMENTS_NV",
+ },
+ {
+ 0x8ED5, "GL_COVERAGE_ALL_FRAGMENTS_NV",
+ },
+ {
+ 0x8ED4, "GL_COVERAGE_SAMPLES_NV",
+ },
+ {
+ 0x8ED3, "GL_COVERAGE_BUFFERS_NV",
+ },
+ {
+ 0x8ED2, "GL_COVERAGE_ATTACHMENT_NV",
+ },
+ {
+ 0x8ED1, "GL_COVERAGE_COMPONENT4_NV",
+ },
+ {
+ 0x8ED0, "GL_COVERAGE_COMPONENT_NV",
+ },
+ {
+ 0x9288, "GL_SRC_OVER_NV",
+ },
+ {
+ 0x800B, "GL_FUNC_REVERSE_SUBTRACT",
+ },
+ {
+ 0x00000400, "GL_STENCIL_BUFFER_BIT",
+ },
+ {
+ 0x800A, "GL_FUNC_SUBTRACT",
+ },
+ {
+ 0x8E2C, "GL_DEPTH_COMPONENT16_NONLINEAR_NV",
+ },
+ {
+ 0x889F, "GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",
+ },
+ {
+ 0x8219, "GL_FRAMEBUFFER_UNDEFINED_OES",
+ },
+ {
+ 0x8E22, "GL_TRANSFORM_FEEDBACK",
+ },
+ {
+ 0x8E28, "GL_TIMESTAMP_EXT",
+ },
+ {
+ 0x8006, "GL_FUNC_ADD",
+ },
+ {
+ 0x8007, "GL_MIN_EXT",
+ },
+ {
+ 0x8004, "GL_ONE_MINUS_CONSTANT_ALPHA",
+ },
+ {
+ 0x8005, "GL_BLEND_COLOR",
+ },
+ {
+ 0x8002, "GL_ONE_MINUS_CONSTANT_COLOR",
+ },
+ {
+ 0x8003, "GL_CONSTANT_ALPHA",
+ },
+ {
+ 0x8001, "GL_CONSTANT_COLOR",
+ },
+ {
+ 0x0204, "GL_GREATER",
+ },
+ {
+ 0x0205, "GL_NOTEQUAL",
+ },
+ {
+ 0x0206, "GL_GEQUAL",
+ },
+ {
+ 0x0207, "GL_ALWAYS",
+ },
+ {
+ 0x0200, "GL_NEVER",
+ },
+ {
+ 0x0201, "GL_LESS",
+ },
+ {
+ 0x0202, "GL_EQUAL",
+ },
+ {
+ 0x0203, "GL_LEQUAL",
+ },
+ {
+ 0x2901, "GL_REPEAT",
+ },
+ {
+ 0x92A0, "GL_EXCLUSION_NV",
+ },
+ {
+ 0x93D8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR",
+ },
+ {
+ 0x93D9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR",
+ },
+ {
+ 0x8FB2, "GL_GPU_OPTIMIZED_QCOM",
+ },
+ {
+ 0x190A, "GL_LUMINANCE_ALPHA",
+ },
+ {
+ 0x8FB0, "GL_BINNING_CONTROL_HINT_QCOM",
+ },
+ {
+ 0x92A1, "GL_CONTRAST_NV",
+ },
+ {
+ 0x1E00, "GL_KEEP",
+ },
+ {
+ 0x1E01, "GL_REPLACE",
+ },
+ {
+ 0x1E02, "GL_INCR",
+ },
+ {
+ 0x1E03, "GL_DECR",
+ },
+ {
+ 0x93D6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR",
+ },
+ {
+ 0x93D7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR",
+ },
+ {
+ 0x93D4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR",
+ },
+ {
+ 0x93D5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR",
+ },
+ {
+ 0x0BE2, "GL_BLEND",
+ },
+ {
+ 0x84CB, "GL_TEXTURE11",
+ },
+ {
+ 0x8D55, "GL_RENDERBUFFER_STENCIL_SIZE",
+ },
+ {
+ 0x8D54, "GL_RENDERBUFFER_DEPTH_SIZE",
+ },
+ {
+ 0x8D57, "GL_MAX_SAMPLES_ANGLE",
+ },
+ {
+ 0x8D56, "GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE",
+ },
+ {
+ 0x8D51, "GL_RENDERBUFFER_GREEN_SIZE",
+ },
+ {
+ 0x8D50, "GL_RENDERBUFFER_RED_SIZE",
+ },
+ {
+ 0x8D53, "GL_RENDERBUFFER_ALPHA_SIZE",
+ },
+ {
+ 0x8D52, "GL_RENDERBUFFER_BLUE_SIZE",
+ },
+ {
+ 0x92A6, "GL_VIVIDLIGHT_NV",
+ },
+ {
+ 0x00080000, "GL_STENCIL_BUFFER_BIT3_QCOM",
+ },
+ {
+ 0x92A7, "GL_LINEARLIGHT_NV",
+ },
+ {
+ 0x886A, "GL_VERTEX_ATTRIB_ARRAY_NORMALIZED",
+ },
+ {
+ 0x0C01, "GL_DRAW_BUFFER_EXT",
+ },
+ {
+ 0x93C7, "GL_COMPRESSED_RGBA_ASTC_6x5x5_OES",
+ },
+ {
+ 0x8B5F, "GL_SAMPLER_3D_OES",
+ },
+ {
+ 0x8B95, "GL_PALETTE8_RGB8_OES",
+ },
+ {
+ 0x9250, "GL_SHADER_BINARY_DMP",
+ },
+ {
+ 0x10000000, "GL_MULTISAMPLE_BUFFER_BIT4_QCOM",
+ },
+ {
+ 0x8C92, "GL_ATC_RGB_AMD",
+ },
+ {
+ 0x9154, "GL_VERTEX_ARRAY_OBJECT_EXT",
+ },
+ {
+ 0x9153, "GL_QUERY_OBJECT_EXT",
+ },
+ {
+ 0x8864, "GL_QUERY_COUNTER_BITS_EXT",
+ },
+ {
+ 0x9151, "GL_BUFFER_OBJECT_EXT",
+ },
+ {
+ 0x8C93, "GL_ATC_RGBA_EXPLICIT_ALPHA_AMD",
+ },
+ {
+ 0x00000002, "GL_CONTEXT_FLAG_DEBUG_BIT_KHR",
+ },
+ {
+ 0x00000001, "GL_SYNC_FLUSH_COMMANDS_BIT_APPLE",
+ },
+ {
+ 0x9248, "GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM",
+ },
+ {
+ 0x00000004, "GL_COLOR_BUFFER_BIT2_QCOM",
+ },
+ {
+ 0x1702, "GL_TEXTURE",
+ },
+ {
+ 0x00000008, "GL_COLOR_BUFFER_BIT3_QCOM",
+ },
+ {
+ 0x8B58, "GL_BOOL_VEC3",
+ },
+ {
+ 0x8828, "GL_DRAW_BUFFER3_EXT",
+ },
+ {
+ 0x8DF0, "GL_LOW_FLOAT",
+ },
+ {
+ 0x1906, "GL_ALPHA",
+ },
+ {
+ 0x1907, "GL_RGB",
+ },
+ {
+ 0x8FBB, "GL_GPU_DISJOINT_EXT",
+ },
+ {
+ 0x1902, "GL_DEPTH_COMPONENT",
+ },
+ {
+ 0x8B56, "GL_BOOL",
+ },
+ {
+ 0x93DB, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR",
+ },
+ {
+ 0x8B9B, "GL_IMPLEMENTATION_COLOR_READ_FORMAT",
+ },
+ {
+ 0x8B9A, "GL_IMPLEMENTATION_COLOR_READ_TYPE",
+ },
+ {
+ 0x93DA, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR",
+ },
+ {
+ 0x1908, "GL_RGBA",
+ },
+ {
+ 0x8DF2, "GL_HIGH_FLOAT",
+ },
+ {
+ 0x93DD, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR",
+ },
+ {
+ 0x8827, "GL_DRAW_BUFFER2_EXT",
+ },
+ {
+ 0x9243, "GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM",
+ },
+ {
+ 0x8DF3, "GL_LOW_INT",
+ },
+ {
+ 0x82E8, "GL_MAX_LABEL_LENGTH_KHR",
+ },
+ {
+ 0x82E6, "GL_SAMPLER_KHR",
+ },
+ {
+ 0x0C02, "GL_READ_BUFFER_EXT",
+ },
+ {
+ 0x82E3, "GL_QUERY_KHR",
+ },
+ {
+ 0x82E2, "GL_PROGRAM_KHR",
+ },
+ {
+ 0x82E1, "GL_SHADER_KHR",
+ },
+ {
+ 0x8B52, "GL_FLOAT_VEC4",
+ },
+ {
+ 0x9240, "GL_UNPACK_FLIP_Y_CHROMIUM",
+ },
+ {
+ 0x8DF6, "GL_UNSIGNED_INT_10_10_10_2_OES",
+ },
+ {
+ 0x8230, "GL_RG32F_EXT",
+ },
+ {
+ 0x8DF7, "GL_INT_10_10_10_2_OES",
+ },
+ {
+ 0x9246, "GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM",
+ },
+ {
+ 0x8B69, "GL_FLOAT_MAT4x2_NV",
+ },
+ {
+ 0x812D, "GL_CLAMP_TO_BORDER_NV",
+ },
+ {
+ 0x812F, "GL_CLAMP_TO_EDGE",
+ },
+ {
+ 0x86A3, "GL_COMPRESSED_TEXTURE_FORMATS",
+ },
+ {
+ 0x9244, "GL_BIND_GENERATES_RESOURCE_CHROMIUM",
+ },
+ {
+ 0x86A2, "GL_NUM_COMPRESSED_TEXTURE_FORMATS",
+ },
+ {
+ 0x0CF3, "GL_UNPACK_SKIP_ROWS_EXT",
+ },
+ {
+ 0x0CF2, "GL_UNPACK_ROW_LENGTH_EXT",
+ },
+ {
+ 0x140C, "GL_FIXED",
+ },
+ {
+ 0x8008, "GL_MAX_EXT",
+ },
+ {
+ 0x0CF5, "GL_UNPACK_ALIGNMENT",
+ },
+ {
+ 0x0CF4, "GL_UNPACK_SKIP_PIXELS_EXT",
+ },
+ {
+ 0x8009, "GL_BLEND_EQUATION",
+ },
+ {
+ 0x1401, "GL_UNSIGNED_BYTE",
+ },
+ {
+ 0x1400, "GL_BYTE",
+ },
+ {
+ 0x1403, "GL_UNSIGNED_SHORT",
+ },
+ {
+ 0x1402, "GL_SHORT",
+ },
+ {
+ 0x1405, "GL_UNSIGNED_INT",
+ },
+ {
+ 0x1404, "GL_INT",
+ },
+ {
+ 0x1406, "GL_FLOAT",
+ },
+ {
+ 0x8043, "GL_LUMINANCE4_ALPHA4_OES",
+ },
+ {
+ 0x8040, "GL_LUMINANCE8_OES",
+ },
+ {
+ 0x8045, "GL_LUMINANCE8_ALPHA8_OES",
+ },
+ {
+ 0x8CD1, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",
+ },
+ {
+ 0x00040000, "GL_STENCIL_BUFFER_BIT2_QCOM",
+ },
+ {
+ 0x8CD0, "GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",
+ },
+ {
+ 0x8CE4, "GL_COLOR_ATTACHMENT4_EXT",
+ },
+ {
+ 0x8CD3, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",
+ },
+ {
+ 0x929E, "GL_DIFFERENCE_NV",
+ },
+ {
+ 0x0B90, "GL_STENCIL_TEST",
+ },
+ {
+ 0x8CD2, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",
+ },
+ {
+ 0x881C, "GL_ALPHA16F_EXT",
+ },
+ {
+ 0x928E, "GL_SRC_ATOP_NV",
+ },
+ {
+ 0x8CD4, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES",
+ },
+ {
+ 0x9298, "GL_LIGHTEN_NV",
+ },
+ {
+ 0x8CD7, "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",
+ },
+ {
+ 0x9112, "GL_OBJECT_TYPE_APPLE",
+ },
+ {
+ 0x8038, "GL_POLYGON_OFFSET_FACTOR",
+ },
+ {
+ 0x851A, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z",
+ },
+ {
+ 0x851C, "GL_MAX_CUBE_MAP_TEXTURE_SIZE",
+ },
+ {
+ 0x8CD9, "GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS",
+ },
+ {
+ 0x84CC, "GL_TEXTURE12",
+ },
+ {
+ 0x0BA2, "GL_VIEWPORT",
+ },
+ {
+ 0x84CA, "GL_TEXTURE10",
+ },
+ {
+ 0x84CF, "GL_TEXTURE15",
+ },
+ {
+ 0x84CE, "GL_TEXTURE14",
+ },
+ {
+ 0x84CD, "GL_TEXTURE13",
+ },
+ {
+ 0x9115, "GL_SYNC_FLAGS_APPLE",
+ },
+ {
+ 0x9286, "GL_SRC_NV",
+ },
+ {
+ 0x83F3, "GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE",
+ },
+ {
+ 0x83F2, "GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE",
+ },
+ {
+ 0x83F1, "GL_COMPRESSED_RGBA_S3TC_DXT1_EXT",
+ },
+ {
+ 0x9114, "GL_SYNC_STATUS_APPLE",
+ },
+ {
+ 0x8C0A, "GL_SGX_BINARY_IMG",
+ },
+ {
+ 0x9285, "GL_BLEND_ADVANCED_COHERENT_NV",
+ },
+ {
+ 0x911C, "GL_CONDITION_SATISFIED_APPLE",
+ },
+ {
+ 0x911B, "GL_TIMEOUT_EXPIRED_APPLE",
+ },
+ {
+ 0x911A, "GL_ALREADY_SIGNALED_APPLE",
+ },
+ {
+ 0x9284, "GL_CONJOINT_NV",
+ },
+ {
+ 0x911D, "GL_WAIT_FAILED_APPLE",
+ },
+ {
+ 0x929A, "GL_COLORBURN_NV",
+ },
+ {
+ 0x929B, "GL_HARDLIGHT_NV",
+ },
+ {
+ 0x929C, "GL_SOFTLIGHT_NV",
+ },
+ {
+ 0x846D, "GL_ALIASED_POINT_SIZE_RANGE",
+ },
+ {
+ 0x846E, "GL_ALIASED_LINE_WIDTH_RANGE",
+ },
+ {
+ 0x929F, "GL_MINUS_NV",
+ },
+ {
+ 0x9282, "GL_UNCORRELATED_NV",
+ },
+ {
+ 0x9113, "GL_SYNC_CONDITION_APPLE",
+ },
+ {
+ 0x93A4, "GL_PACK_REVERSE_ROW_ORDER_ANGLE",
+ },
+ {
+ 0x9111, "GL_MAX_SERVER_WAIT_TIMEOUT_APPLE",
+ },
+ {
+ 0x93A6, "GL_PROGRAM_BINARY_ANGLE",
+ },
+ {
+ 0x9117, "GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE",
+ },
+ {
+ 0x93A0, "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE",
+ },
+ {
+ 0x93A3, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE",
+ },
+ {
+ 0x93A2, "GL_TEXTURE_USAGE_ANGLE",
+ },
+ {
+ 0x8802, "GL_STENCIL_BACK_PASS_DEPTH_FAIL",
+ },
+ {
+ 0x9119, "GL_SIGNALED_APPLE",
+ },
+ {
+ 0x9118, "GL_UNSIGNALED_APPLE",
+ },
+ {
+ 0x9294, "GL_MULTIPLY_NV",
+ },
+ {
+ 0x9295, "GL_SCREEN_NV",
+ },
+ {
+ 0x9296, "GL_OVERLAY_NV",
+ },
+ {
+ 0x9297, "GL_DARKEN_NV",
+ },
+ {
+ 0x0020, "GL_MAP_UNSYNCHRONIZED_BIT_EXT",
+ },
+ {
+ 0x8C01, "GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG",
+ },
+ {
+ 0x8C00, "GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG",
+ },
+ {
+ 0x8A52, "GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT",
+ },
+ {
+ 0x8C02, "GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",
+ },
+ {
+ 0x84C9, "GL_TEXTURE9",
+ },
+ {
+ 0x84C8, "GL_TEXTURE8",
+ },
+ {
+ 0x8869, "GL_MAX_VERTEX_ATTRIBS",
+ },
+ {
+ 0x84C3, "GL_TEXTURE3",
+ },
+ {
+ 0x84C2, "GL_TEXTURE2",
+ },
+ {
+ 0x84C1, "GL_TEXTURE1",
+ },
+ {
+ 0x84C0, "GL_TEXTURE0",
+ },
+ {
+ 0x84C7, "GL_TEXTURE7",
+ },
+ {
+ 0x84C6, "GL_TEXTURE6",
+ },
+ {
+ 0x84C5, "GL_TEXTURE5",
+ },
+ {
+ 0x8803, "GL_STENCIL_BACK_PASS_DEPTH_PASS",
+ },
+ {
+ 0x928A, "GL_SRC_IN_NV",
+ },
+ {
+ 0x8518, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y",
+ },
+ {
+ 0x8519, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z",
+ },
+ {
+ 0x8514, "GL_TEXTURE_BINDING_CUBE_MAP",
+ },
+ {
+ 0x8515, "GL_TEXTURE_CUBE_MAP_POSITIVE_X",
+ },
+ {
+ 0x8516, "GL_TEXTURE_CUBE_MAP_NEGATIVE_X",
+ },
+ {
+ 0x8517, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y",
+ },
+ {
+ 0x8513, "GL_TEXTURE_CUBE_MAP",
+ },
+ {
+ 0x8626, "GL_CURRENT_VERTEX_ATTRIB",
+ },
+ {
+ 0x92B1, "GL_PLUS_CLAMPED_NV",
+ },
+ {
+ 0x92B0, "GL_HSL_LUMINOSITY_NV",
+ },
+ {
+ 0x92B3, "GL_MINUS_CLAMPED_NV",
+ },
+ {
+ 0x92B2, "GL_PLUS_CLAMPED_ALPHA_NV",
+ },
+ {
+ 0x8765, "GL_BUFFER_USAGE",
+ },
+ {
+ 0x8764, "GL_BUFFER_SIZE",
+ },
+ {
+ 0x8B99, "GL_PALETTE8_RGB5_A1_OES",
+ },
+ {
+ 0x0503, "GL_STACK_OVERFLOW_KHR",
+ },
+ {
+ 0x0502, "GL_INVALID_OPERATION",
+ },
+ {
+ 0x0501, "GL_INVALID_VALUE",
+ },
+ {
+ 0x0500, "GL_INVALID_ENUM",
+ },
+ {
+ 64, "GL_MAILBOX_SIZE_CHROMIUM",
+ },
+ {
+ 0x0506, "GL_INVALID_FRAMEBUFFER_OPERATION",
+ },
+ {
+ 0x0505, "GL_OUT_OF_MEMORY",
+ },
+ {
+ 0x0504, "GL_STACK_UNDERFLOW_KHR",
+ },
+ {
+ 0x0B44, "GL_CULL_FACE",
+ },
+ {
+ 0x8B5E, "GL_SAMPLER_2D",
+ },
+ {
+ 0x0B46, "GL_FRONT_FACE",
+ },
+ {
+ 0x8FB3, "GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM",
+ },
+ {
+ 0x824A, "GL_DEBUG_SOURCE_APPLICATION_KHR",
+ },
+ {
+ 0x824B, "GL_DEBUG_SOURCE_OTHER_KHR",
+ },
+ {
+ 0x824C, "GL_DEBUG_TYPE_ERROR_KHR",
+ },
+ {
+ 0x824D, "GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR",
+ },
+ {
+ 0x824E, "GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR",
+ },
+ {
+ 0x824F, "GL_DEBUG_TYPE_PORTABILITY_KHR",
+ },
+ {
+ 0x8B31, "GL_VERTEX_SHADER",
+ },
+ {
+ 0x8B30, "GL_FRAGMENT_SHADER",
+ },
+ {
+ 0x8FB1, "GL_CPU_OPTIMIZED_QCOM",
+ },
+ {
+ 0x93D2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR",
+ },
+ {
+ 0x8B5A, "GL_FLOAT_MAT2",
+ },
+ {
+ 0x84D8, "GL_TEXTURE24",
+ },
+ {
+ 0x84D9, "GL_TEXTURE25",
+ },
+ {
+ 0x84D6, "GL_TEXTURE22",
+ },
+ {
+ 0x84D7, "GL_TEXTURE23",
+ },
+ {
+ 0x84D4, "GL_TEXTURE20",
+ },
+ {
+ 0x0D05, "GL_PACK_ALIGNMENT",
+ },
+ {
+ 0x84D2, "GL_TEXTURE18",
+ },
+ {
+ 0x84D3, "GL_TEXTURE19",
+ },
+ {
+ 0x84D0, "GL_TEXTURE16",
+ },
+ {
+ 0x84D1, "GL_TEXTURE17",
+ },
+ {
+ 0x93D1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR",
+ },
+ {
+ 0x84DF, "GL_TEXTURE31",
+ },
+ {
+ 0x8B97, "GL_PALETTE8_R5_G6_B5_OES",
+ },
+ {
+ 0x84DD, "GL_TEXTURE29",
+ },
+ {
+ 0x84DE, "GL_TEXTURE30",
+ },
+ {
+ 0x84DB, "GL_TEXTURE27",
+ },
+ {
+ 0x84DC, "GL_TEXTURE28",
+ },
+ {
+ 0x6002, "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM",
+ },
+ {
+ 0x84DA, "GL_TEXTURE26",
+ },
+ {
+ 0x8242, "GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR",
+ },
+ {
+ 0x8243, "GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR",
+ },
+ {
+ 0x8244, "GL_DEBUG_CALLBACK_FUNCTION_KHR",
+ },
+ {
+ 0x8245, "GL_DEBUG_CALLBACK_USER_PARAM_KHR",
+ },
+ {
+ 0x8246, "GL_DEBUG_SOURCE_API_KHR",
+ },
+ {
+ 0x8247, "GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR",
+ },
+ {
+ 0x8248, "GL_DEBUG_SOURCE_SHADER_COMPILER_KHR",
+ },
+ {
+ 0x8249, "GL_DEBUG_SOURCE_THIRD_PARTY_KHR",
+ },
+ {
+ 0x8B94, "GL_PALETTE4_RGB5_A1_OES",
+ },
+ {
+ 0x00000040, "GL_COLOR_BUFFER_BIT6_QCOM",
+ },
+ {
+ 0x8645, "GL_VERTEX_ATTRIB_ARRAY_POINTER",
+ },
+ {
+ 0x8865, "GL_CURRENT_QUERY_EXT",
+ },
+ {
+ 0x8866, "GL_QUERY_RESULT_EXT",
+ },
+ {
+ 0x8867, "GL_QUERY_RESULT_AVAILABLE_EXT",
+ },
+ {
+ 0x08000000, "GL_MULTISAMPLE_BUFFER_BIT3_QCOM",
+ },
+ {
+ 0x87FA, "GL_3DC_XY_AMD",
+ },
+ {
+ 0x84C4, "GL_TEXTURE4",
+ },
+ {
+ 0x85B5, "GL_VERTEX_ARRAY_BINDING_OES",
+ },
+ {
+ 0x8D6A, "GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT",
+ },
+ {
+ 0x8D6C, "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT",
+ },
+ {
+ 0x8252, "GL_LOSE_CONTEXT_ON_RESET_EXT",
+ },
+ {
+ 0x8C4C, "GL_COMPRESSED_SRGB_S3TC_DXT1_NV",
+ },
+ {
+ 0x8C4E, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV",
+ },
+ {
+ 0x1102, "GL_NICEST",
+ },
+ {
+ 0x8C4F, "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV",
+ },
+ {
+ 0x93E9, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES",
+ },
+ {
+ 0x93E8, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES",
+ },
+ {
+ 0x8C43, "GL_SRGB8_ALPHA8_EXT",
+ },
+ {
+ 0x8C42, "GL_SRGB_ALPHA_EXT",
+ },
+ {
+ 0x8C45, "GL_SLUMINANCE8_ALPHA8_NV",
+ },
+ {
+ 0x8C44, "GL_SLUMINANCE_ALPHA_NV",
+ },
+ {
+ 0x8C47, "GL_SLUMINANCE8_NV",
+ },
+ {
+ 0x8C46, "GL_SLUMINANCE_NV",
+ },
+ {
+ 0x93E1, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES",
+ },
+ {
+ 0x93E0, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES",
+ },
+ {
+ 0x93E3, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES",
+ },
+ {
+ 0x93E2, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES",
+ },
+ {
+ 0x93E5, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES",
+ },
+ {
+ 0x93E4, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES",
+ },
+ {
+ 0x93E7, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES",
+ },
+ {
+ 0x93E6, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES",
+ },
+ {
+ 0x8D68, "GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES",
+ },
+ {
+ 0x85BB, "GL_UNSIGNED_SHORT_8_8_REV_APPLE",
+ },
+ {
+ 0x8D61, "GL_HALF_FLOAT_OES",
+ },
+ {
+ 0x8D62, "GL_RGB565",
+ },
+ {
+ 0x8D64, "GL_ETC1_RGB8_OES",
+ },
+ {
+ 0x8D65, "GL_TEXTURE_EXTERNAL_OES",
+ },
+ {
+ 0x8D66, "GL_SAMPLER_EXTERNAL_OES",
+ },
+ {
+ 0x8D67, "GL_TEXTURE_BINDING_EXTERNAL_OES",
+ },
+ {
+ 0x04000000, "GL_MULTISAMPLE_BUFFER_BIT2_QCOM",
+ },
+ {
+ 0x8CEE, "GL_COLOR_ATTACHMENT14_EXT",
+ },
+ {
+ 0x2800, "GL_TEXTURE_MAG_FILTER",
+ },
+ {
+ 0x2801, "GL_TEXTURE_MIN_FILTER",
+ },
+ {
+ 0x2802, "GL_TEXTURE_WRAP_S",
+ },
+ {
+ 0x2803, "GL_TEXTURE_WRAP_T",
+ },
+ {
+ 0x2703, "GL_LINEAR_MIPMAP_LINEAR",
+ },
+ {
+ 0x8B98, "GL_PALETTE8_RGBA4_OES",
+ },
+ {
+ 0x84F3, "GL_FENCE_STATUS_NV",
+ },
+ {
+ 0x2702, "GL_NEAREST_MIPMAP_LINEAR",
+ },
+ {
+ 0x1F03, "GL_EXTENSIONS",
+ },
+ {
+ 0x1F02, "GL_VERSION",
+ },
+ {
+ 0x1F01, "GL_RENDERER",
+ },
+ {
+ 0x1F00, "GL_VENDOR",
+ },
+ {
+ 0x9247, "GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM",
+ },
+ {
+ 0x2701, "GL_LINEAR_MIPMAP_NEAREST",
+ },
+ {
+ 0x9245, "GL_OVERLAY_TRANSFORM_NONE_CHROMIUM",
+ },
+ {
+ 0x92B4, "GL_INVERT_OVG_NV",
+ },
+ {
+ 0x9249, "GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM",
+ },
+ {
+ 0x0B94, "GL_STENCIL_FAIL",
+ },
+ {
+ 0x8B4C, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS",
+ },
+ {
+ 0x8B4D, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS",
+ },
+ {
+ 0x8B4F, "GL_SHADER_TYPE",
+ },
+ {
+ 0x00004000, "GL_COLOR_BUFFER_BIT",
+ },
+ {
+ 0x00000010, "GL_COLOR_BUFFER_BIT4_QCOM",
+ },
+ {
+ 0x8834, "GL_DRAW_BUFFER15_EXT",
+ },
+ {
+ 0x8833, "GL_DRAW_BUFFER14_EXT",
+ },
+ {
+ 0x8832, "GL_DRAW_BUFFER13_EXT",
+ },
+ {
+ 0x8831, "GL_DRAW_BUFFER12_EXT",
+ },
+ {
+ 0x8830, "GL_DRAW_BUFFER11_EXT",
+ },
+ {
+ 0x8DC5, "GL_SAMPLER_CUBE_SHADOW_NV",
+ },
+ {
+ 0x93B8, "GL_COMPRESSED_RGBA_ASTC_10x5_KHR",
+ },
+ {
+ 0x9241, "GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM",
+ },
+ {
+ 0x00010000, "GL_STENCIL_BUFFER_BIT0_QCOM",
+ },
+ {
+ 0x0B93, "GL_STENCIL_VALUE_MASK",
+ },
+ {
+ 0x0B92, "GL_STENCIL_FUNC",
+ },
+ {
+ 0x0B91, "GL_STENCIL_CLEAR_VALUE",
+ },
+ {
+ 0x883D, "GL_BLEND_EQUATION_ALPHA",
+ },
+ {
+ 0x0B97, "GL_STENCIL_REF",
+ },
+ {
+ 0x0B96, "GL_STENCIL_PASS_DEPTH_PASS",
+ },
+ {
+ 0x0B95, "GL_STENCIL_PASS_DEPTH_FAIL",
+ },
+ {
+ 0x2700, "GL_NEAREST_MIPMAP_NEAREST",
+ },
+ {
+ 0x0B98, "GL_STENCIL_WRITEMASK",
+ },
+ {
+ 0x8B40, "GL_PROGRAM_OBJECT_EXT",
+ },
+ {
+ 0x1004, "GL_TEXTURE_BORDER_COLOR_NV",
+ },
+ {
+ 0x8B48, "GL_SHADER_OBJECT_EXT",
+ },
+ {
+ 0x912F, "GL_TEXTURE_IMMUTABLE_FORMAT_EXT",
+ },
+ {
+ 0x924A, "GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM",
+ },
+ {
+ 0x20000000, "GL_MULTISAMPLE_BUFFER_BIT5_QCOM",
+ },
+ {
+ 0x0DE1, "GL_TEXTURE_2D",
+ },
+ {
+ 0x80C9, "GL_BLEND_SRC_RGB",
+ },
+ {
+ 0x80C8, "GL_BLEND_DST_RGB",
+ },
+ {
+ 0x8059, "GL_RGB10_A2_EXT",
+ },
+ {
+ 0x8058, "GL_RGBA8_OES",
+ },
+ {
+ 0x8B93, "GL_PALETTE4_RGBA4_OES",
+ },
+ {
+ 0x00002000, "GL_DEPTH_BUFFER_BIT5_QCOM",
+ },
+ {
+ 0x8051, "GL_RGB8_OES",
+ },
+ {
+ 0x8052, "GL_RGB10_EXT",
+ },
+ {
+ 0x8CAB, "GL_RENDERBUFFER_SAMPLES_ANGLE",
+ },
+ {
+ 0x8057, "GL_RGB5_A1",
+ },
+ {
+ 0x8056, "GL_RGBA4",
+ },
+ {
+ 0x150A, "GL_INVERT",
+ },
+ {
+ 0x01000000, "GL_MULTISAMPLE_BUFFER_BIT0_QCOM",
+ },
+ {
+ 0x78ED, "GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM",
+ },
+ {
+ 0x78EE, "GL_PIXEL_PACK_TRANSFER_BUFFER_BINDING_CHROMIUM",
+ },
+ {
+ 0x78EF, "GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM",
+ },
+ {
+ 0x0B45, "GL_CULL_FACE_MODE",
+ },
+ {
+ 0x8B92, "GL_PALETTE4_R5_G6_B5_OES",
+ },
+ {
+ 0x00100000, "GL_STENCIL_BUFFER_BIT4_QCOM",
+ },
+ {
+ 0x9299, "GL_COLORDODGE_NV",
+ },
+ {
+ 0x8D20, "GL_STENCIL_ATTACHMENT",
+ },
+ {
+ 0x8B91, "GL_PALETTE4_RGBA8_OES",
+ },
+ {
+ 0x00000200, "GL_DEPTH_BUFFER_BIT1_QCOM",
+ },
+ {
+ 0x00008000, "GL_COVERAGE_BUFFER_BIT_NV",
+ },
+ {
+ 0x1506, "GL_XOR_NV",
+ },
+ {
+ 0x8CA8, "GL_READ_FRAMEBUFFER_ANGLE",
+ },
+ {
+ 0x8CA9, "GL_DRAW_FRAMEBUFFER_ANGLE",
+ },
+ {
+ 0x8CA6, "GL_FRAMEBUFFER_BINDING",
+ },
+ {
+ 0x8CA7, "GL_RENDERBUFFER_BINDING",
+ },
+ {
+ 0x8CA4, "GL_STENCIL_BACK_VALUE_MASK",
+ },
+ {
+ 0x8CA5, "GL_STENCIL_BACK_WRITEMASK",
+ },
+ {
+ 0x8B90, "GL_PALETTE4_RGB8_OES",
+ },
+ {
+ 0x8CA3, "GL_STENCIL_BACK_REF",
+ },
+ {
+ 0x80CB, "GL_BLEND_SRC_ALPHA",
+ },
+ {
+ 0x80CA, "GL_BLEND_DST_ALPHA",
+ },
+ {
+ 0x8CE7, "GL_COLOR_ATTACHMENT7_EXT",
+ },
+ {
+ 0x93B0, "GL_COMPRESSED_RGBA_ASTC_4x4_KHR",
+ },
+ {
+ 0x93B1, "GL_COMPRESSED_RGBA_ASTC_5x4_KHR",
+ },
+ {
+ 0x93B2, "GL_COMPRESSED_RGBA_ASTC_5x5_KHR",
+ },
+ {
+ 0x93B3, "GL_COMPRESSED_RGBA_ASTC_6x5_KHR",
+ },
+ {
+ 0x93B4, "GL_COMPRESSED_RGBA_ASTC_6x6_KHR",
+ },
+ {
+ 0x93B5, "GL_COMPRESSED_RGBA_ASTC_8x5_KHR",
+ },
+ {
+ 0x93B6, "GL_COMPRESSED_RGBA_ASTC_8x6_KHR",
+ },
+ {
+ 0x93B7, "GL_COMPRESSED_RGBA_ASTC_8x8_KHR",
+ },
+ {
+ 0x8CD6, "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT",
+ },
+ {
+ 0x93B9, "GL_COMPRESSED_RGBA_ASTC_10x6_KHR",
+ },
+ {
+ 0x8253, "GL_GUILTY_CONTEXT_RESET_EXT",
+ },
+ {
+ 0x8CE5, "GL_COLOR_ATTACHMENT5_EXT",
+ },
+ {
+ 0x8CE9, "GL_COLOR_ATTACHMENT9_EXT",
+ },
+ {
+ 0x8B96, "GL_PALETTE8_RGBA8_OES",
+ },
+ {
+ 0x8872, "GL_MAX_TEXTURE_IMAGE_UNITS",
+ },
+ {
+ 0x8508, "GL_DECR_WRAP",
+ },
+ {
+ 0x92AD, "GL_HSL_HUE_NV",
+ },
+ {
+ 0x92AE, "GL_HSL_SATURATION_NV",
+ },
+ {
+ 0x92AF, "GL_HSL_COLOR_NV",
+ },
+ {
+ 0x8DC4, "GL_SAMPLER_2D_ARRAY_SHADOW_NV",
+ },
+ {
+ 0x8507, "GL_INCR_WRAP",
+ },
+ {
+ 0x8895, "GL_ELEMENT_ARRAY_BUFFER_BINDING",
+ },
+ {
+ 0x8894, "GL_ARRAY_BUFFER_BINDING",
+ },
+ {
+ 0x92A3, "GL_INVERT_RGB_NV",
+ },
+ {
+ 0x92A4, "GL_LINEARDODGE_NV",
+ },
+ {
+ 0x92A5, "GL_LINEARBURN_NV",
+ },
+ {
+ 0x8893, "GL_ELEMENT_ARRAY_BUFFER",
+ },
+ {
+ 0x8892, "GL_ARRAY_BUFFER",
+ },
+ {
+ 0x92A8, "GL_PINLIGHT_NV",
+ },
+ {
+ 0x92A9, "GL_HARDMIX_NV",
+ },
+ {
+ 0x8BD8, "GL_TEXTURE_IMAGE_VALID_QCOM",
+ },
+ {
+ 0x84D5, "GL_TEXTURE21",
+ },
+ {
+ 0x9287, "GL_DST_NV",
+ },
+ {
+ 0x93BA, "GL_COMPRESSED_RGBA_ASTC_10x8_KHR",
+ },
+ {
+ 0x93BB, "GL_COMPRESSED_RGBA_ASTC_10x10_KHR",
+ },
+ {
+ 0x93BC, "GL_COMPRESSED_RGBA_ASTC_12x10_KHR",
+ },
+ {
+ 0x93BD, "GL_COMPRESSED_RGBA_ASTC_12x12_KHR",
+ },
+ {
+ 0x84E8, "GL_MAX_RENDERBUFFER_SIZE",
+ },
+ {
+ 0x9281, "GL_BLEND_OVERLAP_NV",
+ },
+ {
+ 0x9280, "GL_BLEND_PREMULTIPLIED_SRC_NV",
+ },
+ {
+ 0x8370, "GL_MIRRORED_REPEAT",
+ },
+ {
+ 0x84E0, "GL_ACTIVE_TEXTURE",
+ },
+ {
+ 0x8800, "GL_STENCIL_BACK_FUNC",
+ },
+ {
+ 0x8801, "GL_STENCIL_BACK_FAIL",
+ },
+ {
+ 0x0D33, "GL_MAX_TEXTURE_SIZE",
+ },
+ {
+ 0x8624, "GL_VERTEX_ATTRIB_ARRAY_STRIDE",
+ },
+ {
+ 0x8625, "GL_VERTEX_ATTRIB_ARRAY_TYPE",
+ },
+ {
+ 0x8622, "GL_VERTEX_ATTRIB_ARRAY_ENABLED",
+ },
+ {
+ 0x8623, "GL_VERTEX_ATTRIB_ARRAY_SIZE",
+ },
+ {
+ 0x8DB9, "GL_FRAMEBUFFER_SRGB_EXT",
+ },
+ {
+ 0x8259, "GL_ACTIVE_PROGRAM_EXT",
+ },
+ {
+ 0x8258, "GL_PROGRAM_SEPARABLE_EXT",
+ },
+ {
+ 0x8256, "GL_RESET_NOTIFICATION_STRATEGY_EXT",
+ },
+ {
+ 0x8255, "GL_UNKNOWN_CONTEXT_RESET_EXT",
+ },
+ {
+ 0x8254, "GL_INNOCENT_CONTEXT_RESET_EXT",
+ },
+ {
+ 0x1100, "GL_DONT_CARE",
+ },
+ {
+ 0x1101, "GL_FASTEST",
+ },
+ {
+ 0x8251, "GL_DEBUG_TYPE_OTHER_KHR",
+ },
+ {
+ 0x8250, "GL_DEBUG_TYPE_PERFORMANCE_KHR",
+ },
+ {
+ 0x8CEB, "GL_COLOR_ATTACHMENT11_EXT",
+ },
+ {
+ 0x8CEC, "GL_COLOR_ATTACHMENT12_EXT",
+ },
+ {
+ 0x0408, "GL_FRONT_AND_BACK",
+ },
+ {
+ 0x8CEA, "GL_COLOR_ATTACHMENT10_EXT",
+ },
+ {
+ 0x8CEF, "GL_COLOR_ATTACHMENT15_EXT",
+ },
+ {
+ 0x8CED, "GL_COLOR_ATTACHMENT13_EXT",
+ },
+ {
+ 0x8829, "GL_DRAW_BUFFER4_EXT",
+ },
+ {
+ 0x0404, "GL_FRONT",
+ },
+ {
+ 0x0405, "GL_BACK",
+ },
+ {
+ 0x88E1, "GL_STREAM_READ",
+ },
+ {
+ 0x88E0, "GL_STREAM_DRAW",
+ },
+ {
+ 0x88E4, "GL_STATIC_DRAW",
+ },
+ {
+ 0x93C6, "GL_COMPRESSED_RGBA_ASTC_5x5x5_OES",
+ },
+ {
+ 0x88E8, "GL_DYNAMIC_DRAW",
+ },
+ {
+ 0x9291, "GL_PLUS_NV",
+ },
+ {
+ 0x8CAA, "GL_READ_FRAMEBUFFER_BINDING_ANGLE",
+ },
+ {
+ 0x93C5, "GL_COMPRESSED_RGBA_ASTC_5x5x4_OES",
+ },
+ {
+ 0x40000000, "GL_MULTISAMPLE_BUFFER_BIT6_QCOM",
+ },
+ {
+ 0x9116, "GL_SYNC_FENCE_APPLE",
+ },
+ {
+ 0x93C4, "GL_COMPRESSED_RGBA_ASTC_5x4x4_OES",
+ },
+ {
+ 0x88EE, "GL_ETC1_SRGB8_NV",
+ },
+ {
+ 0x93C3, "GL_COMPRESSED_RGBA_ASTC_4x4x4_OES",
+ },
+ {
+ 0x00000800, "GL_DEPTH_BUFFER_BIT3_QCOM",
+ },
+ {
+ 0x1903, "GL_RED_EXT",
+ },
+ {
+ 0x93C2, "GL_COMPRESSED_RGBA_ASTC_4x4x3_OES",
+ },
+ {
+ 0x8CE2, "GL_COLOR_ATTACHMENT2_EXT",
+ },
+ {
+ 0x8BC1, "GL_COUNTER_RANGE_AMD",
+ },
+ {
+ 0x8CE0, "GL_COLOR_ATTACHMENT0",
+ },
+ {
+ 0x8CE1, "GL_COLOR_ATTACHMENT1_EXT",
+ },
+ {
+ 0x8CE6, "GL_COLOR_ATTACHMENT6_EXT",
+ },
+ {
+ 0x93C1, "GL_COMPRESSED_RGBA_ASTC_4x3x3_OES",
+ },
+ {
+ 0x8A1F, "GL_RGB_422_APPLE",
+ },
+ {
+ 0x93DC, "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR",
+ },
+ {
+ 0x9292, "GL_PLUS_DARKER_NV",
+ },
+ {
+ 0x8CE8, "GL_COLOR_ATTACHMENT8_EXT",
+ },
+ {
+ 0x93C0, "GL_COMPRESSED_RGBA_ASTC_3x3x3_OES",
+ },
+ {
+ 0x0C23, "GL_COLOR_WRITEMASK",
+ },
+ {
+ 0x0C22, "GL_COLOR_CLEAR_VALUE",
+ },
+ {
+ 0x8823, "GL_WRITEONLY_RENDERING_QCOM",
+ },
+ {
+ 0x8824, "GL_MAX_DRAW_BUFFERS_EXT",
+ },
+ {
+ 0x825A, "GL_PROGRAM_PIPELINE_BINDING_EXT",
+ },
+ {
+ 0x1909, "GL_LUMINANCE",
+ },
+ {
+ 0x0D3A, "GL_MAX_VIEWPORT_DIMS",
+ },
+ {
+ 0x8B53, "GL_INT_VEC2",
+ },
+ {
+ 0x8826, "GL_DRAW_BUFFER1_EXT",
+ },
+ {
+ 0x809E, "GL_SAMPLE_ALPHA_TO_COVERAGE",
+ },
+ {
+ 0x8BC0, "GL_COUNTER_TYPE_AMD",
+ },
+ {
+ 0x8BC3, "GL_PERCENTAGE_AMD",
+ },
+ {
+ 0x8BC2, "GL_UNSIGNED_INT64_AMD",
+ },
+ {
+ 0x8BC5, "GL_PERFMON_RESULT_SIZE_AMD",
+ },
+ {
+ 0x8BC4, "GL_PERFMON_RESULT_AVAILABLE_AMD",
+ },
+ {
+ 0x8BC6, "GL_PERFMON_RESULT_AMD",
+ },
+};
const GLES2Util::EnumToString* const GLES2Util::enum_to_string_table_ =
enum_to_string_table;
@@ -800,7 +2357,8 @@ std::string GLES2Util::GetStringAttachment(uint32 value) {
static const EnumToString string_table[] = {
{GL_COLOR_ATTACHMENT0, "GL_COLOR_ATTACHMENT0"},
{GL_DEPTH_ATTACHMENT, "GL_DEPTH_ATTACHMENT"},
- {GL_STENCIL_ATTACHMENT, "GL_STENCIL_ATTACHMENT"}, };
+ {GL_STENCIL_ATTACHMENT, "GL_STENCIL_ATTACHMENT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -809,22 +2367,24 @@ std::string GLES2Util::GetStringBackbufferAttachment(uint32 value) {
static const EnumToString string_table[] = {
{GL_COLOR_EXT, "GL_COLOR_EXT"},
{GL_DEPTH_EXT, "GL_DEPTH_EXT"},
- {GL_STENCIL_EXT, "GL_STENCIL_EXT"}, };
+ {GL_STENCIL_EXT, "GL_STENCIL_EXT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringBlitFilter(uint32 value) {
- static const EnumToString string_table[] = {{GL_NEAREST, "GL_NEAREST"},
- {GL_LINEAR, "GL_LINEAR"}, };
+ static const EnumToString string_table[] = {
+ {GL_NEAREST, "GL_NEAREST"}, {GL_LINEAR, "GL_LINEAR"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringBufferParameter(uint32 value) {
static const EnumToString string_table[] = {
- {GL_BUFFER_SIZE, "GL_BUFFER_SIZE"},
- {GL_BUFFER_USAGE, "GL_BUFFER_USAGE"}, };
+ {GL_BUFFER_SIZE, "GL_BUFFER_SIZE"}, {GL_BUFFER_USAGE, "GL_BUFFER_USAGE"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -832,7 +2392,8 @@ std::string GLES2Util::GetStringBufferParameter(uint32 value) {
std::string GLES2Util::GetStringBufferTarget(uint32 value) {
static const EnumToString string_table[] = {
{GL_ARRAY_BUFFER, "GL_ARRAY_BUFFER"},
- {GL_ELEMENT_ARRAY_BUFFER, "GL_ELEMENT_ARRAY_BUFFER"}, };
+ {GL_ELEMENT_ARRAY_BUFFER, "GL_ELEMENT_ARRAY_BUFFER"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -841,7 +2402,8 @@ std::string GLES2Util::GetStringBufferUsage(uint32 value) {
static const EnumToString string_table[] = {
{GL_STREAM_DRAW, "GL_STREAM_DRAW"},
{GL_STATIC_DRAW, "GL_STATIC_DRAW"},
- {GL_DYNAMIC_DRAW, "GL_DYNAMIC_DRAW"}, };
+ {GL_DYNAMIC_DRAW, "GL_DYNAMIC_DRAW"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -856,20 +2418,23 @@ std::string GLES2Util::GetStringCapability(uint32 value) {
{GL_SAMPLE_ALPHA_TO_COVERAGE, "GL_SAMPLE_ALPHA_TO_COVERAGE"},
{GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"},
{GL_SCISSOR_TEST, "GL_SCISSOR_TEST"},
- {GL_STENCIL_TEST, "GL_STENCIL_TEST"}, };
+ {GL_STENCIL_TEST, "GL_STENCIL_TEST"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringCmpFunction(uint32 value) {
- static const EnumToString string_table[] = {{GL_NEVER, "GL_NEVER"},
- {GL_LESS, "GL_LESS"},
- {GL_EQUAL, "GL_EQUAL"},
- {GL_LEQUAL, "GL_LEQUAL"},
- {GL_GREATER, "GL_GREATER"},
- {GL_NOTEQUAL, "GL_NOTEQUAL"},
- {GL_GEQUAL, "GL_GEQUAL"},
- {GL_ALWAYS, "GL_ALWAYS"}, };
+ static const EnumToString string_table[] = {
+ {GL_NEVER, "GL_NEVER"},
+ {GL_LESS, "GL_LESS"},
+ {GL_EQUAL, "GL_EQUAL"},
+ {GL_LEQUAL, "GL_LEQUAL"},
+ {GL_GREATER, "GL_GREATER"},
+ {GL_NOTEQUAL, "GL_NOTEQUAL"},
+ {GL_GEQUAL, "GL_GEQUAL"},
+ {GL_ALWAYS, "GL_ALWAYS"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -886,7 +2451,8 @@ std::string GLES2Util::GetStringDrawMode(uint32 value) {
{GL_LINES, "GL_LINES"},
{GL_TRIANGLE_STRIP, "GL_TRIANGLE_STRIP"},
{GL_TRIANGLE_FAN, "GL_TRIANGLE_FAN"},
- {GL_TRIANGLES, "GL_TRIANGLES"}, };
+ {GL_TRIANGLES, "GL_TRIANGLES"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -906,7 +2472,8 @@ std::string GLES2Util::GetStringDstBlendFactor(uint32 value) {
{GL_CONSTANT_COLOR, "GL_CONSTANT_COLOR"},
{GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"},
{GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"},
- {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"}, };
+ {GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -915,14 +2482,16 @@ std::string GLES2Util::GetStringEquation(uint32 value) {
static const EnumToString string_table[] = {
{GL_FUNC_ADD, "GL_FUNC_ADD"},
{GL_FUNC_SUBTRACT, "GL_FUNC_SUBTRACT"},
- {GL_FUNC_REVERSE_SUBTRACT, "GL_FUNC_REVERSE_SUBTRACT"}, };
+ {GL_FUNC_REVERSE_SUBTRACT, "GL_FUNC_REVERSE_SUBTRACT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringFaceMode(uint32 value) {
- static const EnumToString string_table[] = {{GL_CW, "GL_CW"},
- {GL_CCW, "GL_CCW"}, };
+ static const EnumToString string_table[] = {
+ {GL_CW, "GL_CW"}, {GL_CCW, "GL_CCW"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -931,7 +2500,8 @@ std::string GLES2Util::GetStringFaceType(uint32 value) {
static const EnumToString string_table[] = {
{GL_FRONT, "GL_FRONT"},
{GL_BACK, "GL_BACK"},
- {GL_FRONT_AND_BACK, "GL_FRONT_AND_BACK"}, };
+ {GL_FRONT_AND_BACK, "GL_FRONT_AND_BACK"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -945,14 +2515,16 @@ std::string GLES2Util::GetStringFrameBufferParameter(uint32 value) {
{GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL,
"GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"},
{GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE,
- "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"}, };
+ "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringFrameBufferTarget(uint32 value) {
static const EnumToString string_table[] = {
- {GL_FRAMEBUFFER, "GL_FRAMEBUFFER"}, };
+ {GL_FRAMEBUFFER, "GL_FRAMEBUFFER"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1062,7 +2634,8 @@ std::string GLES2Util::GetStringGLState(uint32 value) {
{GL_SAMPLE_ALPHA_TO_COVERAGE, "GL_SAMPLE_ALPHA_TO_COVERAGE"},
{GL_SAMPLE_COVERAGE, "GL_SAMPLE_COVERAGE"},
{GL_SCISSOR_TEST, "GL_SCISSOR_TEST"},
- {GL_STENCIL_TEST, "GL_STENCIL_TEST"}, };
+ {GL_STENCIL_TEST, "GL_STENCIL_TEST"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1071,7 +2644,8 @@ std::string GLES2Util::GetStringGetMaxIndexType(uint32 value) {
static const EnumToString string_table[] = {
{GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
{GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
- {GL_UNSIGNED_INT, "GL_UNSIGNED_INT"}, };
+ {GL_UNSIGNED_INT, "GL_UNSIGNED_INT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1079,22 +2653,26 @@ std::string GLES2Util::GetStringGetMaxIndexType(uint32 value) {
std::string GLES2Util::GetStringGetTexParamTarget(uint32 value) {
static const EnumToString string_table[] = {
{GL_TEXTURE_2D, "GL_TEXTURE_2D"},
- {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, };
+ {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringHintMode(uint32 value) {
- static const EnumToString string_table[] = {{GL_FASTEST, "GL_FASTEST"},
- {GL_NICEST, "GL_NICEST"},
- {GL_DONT_CARE, "GL_DONT_CARE"}, };
+ static const EnumToString string_table[] = {
+ {GL_FASTEST, "GL_FASTEST"},
+ {GL_NICEST, "GL_NICEST"},
+ {GL_DONT_CARE, "GL_DONT_CARE"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringHintTarget(uint32 value) {
static const EnumToString string_table[] = {
- {GL_GENERATE_MIPMAP_HINT, "GL_GENERATE_MIPMAP_HINT"}, };
+ {GL_GENERATE_MIPMAP_HINT, "GL_GENERATE_MIPMAP_HINT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1102,7 +2680,8 @@ std::string GLES2Util::GetStringHintTarget(uint32 value) {
std::string GLES2Util::GetStringIndexType(uint32 value) {
static const EnumToString string_table[] = {
{GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
- {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"}, };
+ {GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1115,7 +2694,8 @@ std::string GLES2Util::GetStringPixelStore(uint32 value) {
{GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
"GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM"},
{GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM,
- "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM"}, };
+ "GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1125,7 +2705,8 @@ std::string GLES2Util::GetStringPixelType(uint32 value) {
{GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
{GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5"},
{GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4"},
- {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"}, };
+ {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1140,7 +2721,8 @@ std::string GLES2Util::GetStringProgramParameter(uint32 value) {
{GL_ACTIVE_ATTRIBUTES, "GL_ACTIVE_ATTRIBUTES"},
{GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, "GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"},
{GL_ACTIVE_UNIFORMS, "GL_ACTIVE_UNIFORMS"},
- {GL_ACTIVE_UNIFORM_MAX_LENGTH, "GL_ACTIVE_UNIFORM_MAX_LENGTH"}, };
+ {GL_ACTIVE_UNIFORM_MAX_LENGTH, "GL_ACTIVE_UNIFORM_MAX_LENGTH"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1148,14 +2730,16 @@ std::string GLES2Util::GetStringProgramParameter(uint32 value) {
std::string GLES2Util::GetStringQueryObjectParameter(uint32 value) {
static const EnumToString string_table[] = {
{GL_QUERY_RESULT_EXT, "GL_QUERY_RESULT_EXT"},
- {GL_QUERY_RESULT_AVAILABLE_EXT, "GL_QUERY_RESULT_AVAILABLE_EXT"}, };
+ {GL_QUERY_RESULT_AVAILABLE_EXT, "GL_QUERY_RESULT_AVAILABLE_EXT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringQueryParameter(uint32 value) {
static const EnumToString string_table[] = {
- {GL_CURRENT_QUERY_EXT, "GL_CURRENT_QUERY_EXT"}, };
+ {GL_CURRENT_QUERY_EXT, "GL_CURRENT_QUERY_EXT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1171,14 +2755,16 @@ std::string GLES2Util::GetStringQueryTarget(uint32 value) {
"GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM"},
{GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM,
"GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM"},
- {GL_COMMANDS_COMPLETED_CHROMIUM, "GL_COMMANDS_COMPLETED_CHROMIUM"}, };
+ {GL_COMMANDS_COMPLETED_CHROMIUM, "GL_COMMANDS_COMPLETED_CHROMIUM"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringReadPixelFormat(uint32 value) {
static const EnumToString string_table[] = {
- {GL_ALPHA, "GL_ALPHA"}, {GL_RGB, "GL_RGB"}, {GL_RGBA, "GL_RGBA"}, };
+ {GL_ALPHA, "GL_ALPHA"}, {GL_RGB, "GL_RGB"}, {GL_RGBA, "GL_RGBA"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1188,7 +2774,8 @@ std::string GLES2Util::GetStringReadPixelType(uint32 value) {
{GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
{GL_UNSIGNED_SHORT_5_6_5, "GL_UNSIGNED_SHORT_5_6_5"},
{GL_UNSIGNED_SHORT_4_4_4_4, "GL_UNSIGNED_SHORT_4_4_4_4"},
- {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"}, };
+ {GL_UNSIGNED_SHORT_5_5_5_1, "GL_UNSIGNED_SHORT_5_5_5_1"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1199,7 +2786,8 @@ std::string GLES2Util::GetStringRenderBufferFormat(uint32 value) {
{GL_RGB565, "GL_RGB565"},
{GL_RGB5_A1, "GL_RGB5_A1"},
{GL_DEPTH_COMPONENT16, "GL_DEPTH_COMPONENT16"},
- {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"}, };
+ {GL_STENCIL_INDEX8, "GL_STENCIL_INDEX8"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1214,14 +2802,16 @@ std::string GLES2Util::GetStringRenderBufferParameter(uint32 value) {
{GL_RENDERBUFFER_STENCIL_SIZE, "GL_RENDERBUFFER_STENCIL_SIZE"},
{GL_RENDERBUFFER_WIDTH, "GL_RENDERBUFFER_WIDTH"},
{GL_RENDERBUFFER_HEIGHT, "GL_RENDERBUFFER_HEIGHT"},
- {GL_RENDERBUFFER_INTERNAL_FORMAT, "GL_RENDERBUFFER_INTERNAL_FORMAT"}, };
+ {GL_RENDERBUFFER_INTERNAL_FORMAT, "GL_RENDERBUFFER_INTERNAL_FORMAT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringRenderBufferTarget(uint32 value) {
static const EnumToString string_table[] = {
- {GL_RENDERBUFFER, "GL_RENDERBUFFER"}, };
+ {GL_RENDERBUFFER, "GL_RENDERBUFFER"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1230,7 +2820,8 @@ std::string GLES2Util::GetStringResetStatus(uint32 value) {
static const EnumToString string_table[] = {
{GL_GUILTY_CONTEXT_RESET_ARB, "GL_GUILTY_CONTEXT_RESET_ARB"},
{GL_INNOCENT_CONTEXT_RESET_ARB, "GL_INNOCENT_CONTEXT_RESET_ARB"},
- {GL_UNKNOWN_CONTEXT_RESET_ARB, "GL_UNKNOWN_CONTEXT_RESET_ARB"}, };
+ {GL_UNKNOWN_CONTEXT_RESET_ARB, "GL_UNKNOWN_CONTEXT_RESET_ARB"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1247,7 +2838,8 @@ std::string GLES2Util::GetStringShaderParameter(uint32 value) {
{GL_INFO_LOG_LENGTH, "GL_INFO_LOG_LENGTH"},
{GL_SHADER_SOURCE_LENGTH, "GL_SHADER_SOURCE_LENGTH"},
{GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE,
- "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE"}, };
+ "GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1259,7 +2851,8 @@ std::string GLES2Util::GetStringShaderPrecision(uint32 value) {
{GL_HIGH_FLOAT, "GL_HIGH_FLOAT"},
{GL_LOW_INT, "GL_LOW_INT"},
{GL_MEDIUM_INT, "GL_MEDIUM_INT"},
- {GL_HIGH_INT, "GL_HIGH_INT"}, };
+ {GL_HIGH_INT, "GL_HIGH_INT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1267,7 +2860,8 @@ std::string GLES2Util::GetStringShaderPrecision(uint32 value) {
std::string GLES2Util::GetStringShaderType(uint32 value) {
static const EnumToString string_table[] = {
{GL_VERTEX_SHADER, "GL_VERTEX_SHADER"},
- {GL_FRAGMENT_SHADER, "GL_FRAGMENT_SHADER"}, };
+ {GL_FRAGMENT_SHADER, "GL_FRAGMENT_SHADER"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1288,20 +2882,23 @@ std::string GLES2Util::GetStringSrcBlendFactor(uint32 value) {
{GL_ONE_MINUS_CONSTANT_COLOR, "GL_ONE_MINUS_CONSTANT_COLOR"},
{GL_CONSTANT_ALPHA, "GL_CONSTANT_ALPHA"},
{GL_ONE_MINUS_CONSTANT_ALPHA, "GL_ONE_MINUS_CONSTANT_ALPHA"},
- {GL_SRC_ALPHA_SATURATE, "GL_SRC_ALPHA_SATURATE"}, };
+ {GL_SRC_ALPHA_SATURATE, "GL_SRC_ALPHA_SATURATE"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringStencilOp(uint32 value) {
- static const EnumToString string_table[] = {{GL_KEEP, "GL_KEEP"},
- {GL_ZERO, "GL_ZERO"},
- {GL_REPLACE, "GL_REPLACE"},
- {GL_INCR, "GL_INCR"},
- {GL_INCR_WRAP, "GL_INCR_WRAP"},
- {GL_DECR, "GL_DECR"},
- {GL_DECR_WRAP, "GL_DECR_WRAP"},
- {GL_INVERT, "GL_INVERT"}, };
+ static const EnumToString string_table[] = {
+ {GL_KEEP, "GL_KEEP"},
+ {GL_ZERO, "GL_ZERO"},
+ {GL_REPLACE, "GL_REPLACE"},
+ {GL_INCR, "GL_INCR"},
+ {GL_INCR_WRAP, "GL_INCR_WRAP"},
+ {GL_DECR, "GL_DECR"},
+ {GL_DECR_WRAP, "GL_DECR_WRAP"},
+ {GL_INVERT, "GL_INVERT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1312,7 +2909,8 @@ std::string GLES2Util::GetStringStringType(uint32 value) {
{GL_RENDERER, "GL_RENDERER"},
{GL_VERSION, "GL_VERSION"},
{GL_SHADING_LANGUAGE_VERSION, "GL_SHADING_LANGUAGE_VERSION"},
- {GL_EXTENSIONS, "GL_EXTENSIONS"}, };
+ {GL_EXTENSIONS, "GL_EXTENSIONS"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1320,7 +2918,8 @@ std::string GLES2Util::GetStringStringType(uint32 value) {
std::string GLES2Util::GetStringTextureBindTarget(uint32 value) {
static const EnumToString string_table[] = {
{GL_TEXTURE_2D, "GL_TEXTURE_2D"},
- {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"}, };
+ {GL_TEXTURE_CUBE_MAP, "GL_TEXTURE_CUBE_MAP"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1331,7 +2930,8 @@ std::string GLES2Util::GetStringTextureFormat(uint32 value) {
{GL_LUMINANCE, "GL_LUMINANCE"},
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA"},
{GL_RGB, "GL_RGB"},
- {GL_RGBA, "GL_RGBA"}, };
+ {GL_RGBA, "GL_RGBA"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1342,7 +2942,8 @@ std::string GLES2Util::GetStringTextureInternalFormat(uint32 value) {
{GL_LUMINANCE, "GL_LUMINANCE"},
{GL_LUMINANCE_ALPHA, "GL_LUMINANCE_ALPHA"},
{GL_RGB, "GL_RGB"},
- {GL_RGBA, "GL_RGBA"}, };
+ {GL_RGBA, "GL_RGBA"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1356,14 +2957,16 @@ std::string GLES2Util::GetStringTextureInternalFormatStorage(uint32 value) {
{GL_LUMINANCE8_EXT, "GL_LUMINANCE8_EXT"},
{GL_LUMINANCE8_ALPHA8_EXT, "GL_LUMINANCE8_ALPHA8_EXT"},
{GL_RGB8_OES, "GL_RGB8_OES"},
- {GL_RGBA8_OES, "GL_RGBA8_OES"}, };
+ {GL_RGBA8_OES, "GL_RGBA8_OES"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringTextureMagFilterMode(uint32 value) {
- static const EnumToString string_table[] = {{GL_NEAREST, "GL_NEAREST"},
- {GL_LINEAR, "GL_LINEAR"}, };
+ static const EnumToString string_table[] = {
+ {GL_NEAREST, "GL_NEAREST"}, {GL_LINEAR, "GL_LINEAR"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1375,7 +2978,8 @@ std::string GLES2Util::GetStringTextureMinFilterMode(uint32 value) {
{GL_NEAREST_MIPMAP_NEAREST, "GL_NEAREST_MIPMAP_NEAREST"},
{GL_LINEAR_MIPMAP_NEAREST, "GL_LINEAR_MIPMAP_NEAREST"},
{GL_NEAREST_MIPMAP_LINEAR, "GL_NEAREST_MIPMAP_LINEAR"},
- {GL_LINEAR_MIPMAP_LINEAR, "GL_LINEAR_MIPMAP_LINEAR"}, };
+ {GL_LINEAR_MIPMAP_LINEAR, "GL_LINEAR_MIPMAP_LINEAR"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1386,7 +2990,8 @@ std::string GLES2Util::GetStringTextureParameter(uint32 value) {
{GL_TEXTURE_MIN_FILTER, "GL_TEXTURE_MIN_FILTER"},
{GL_TEXTURE_POOL_CHROMIUM, "GL_TEXTURE_POOL_CHROMIUM"},
{GL_TEXTURE_WRAP_S, "GL_TEXTURE_WRAP_S"},
- {GL_TEXTURE_WRAP_T, "GL_TEXTURE_WRAP_T"}, };
+ {GL_TEXTURE_WRAP_T, "GL_TEXTURE_WRAP_T"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1395,7 +3000,8 @@ std::string GLES2Util::GetStringTexturePool(uint32 value) {
static const EnumToString string_table[] = {
{GL_TEXTURE_POOL_MANAGED_CHROMIUM, "GL_TEXTURE_POOL_MANAGED_CHROMIUM"},
{GL_TEXTURE_POOL_UNMANAGED_CHROMIUM,
- "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM"}, };
+ "GL_TEXTURE_POOL_UNMANAGED_CHROMIUM"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1408,7 +3014,8 @@ std::string GLES2Util::GetStringTextureTarget(uint32 value) {
{GL_TEXTURE_CUBE_MAP_POSITIVE_Y, "GL_TEXTURE_CUBE_MAP_POSITIVE_Y"},
{GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"},
{GL_TEXTURE_CUBE_MAP_POSITIVE_Z, "GL_TEXTURE_CUBE_MAP_POSITIVE_Z"},
- {GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"}, };
+ {GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, "GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1416,7 +3023,8 @@ std::string GLES2Util::GetStringTextureTarget(uint32 value) {
std::string GLES2Util::GetStringTextureUsage(uint32 value) {
static const EnumToString string_table[] = {
{GL_NONE, "GL_NONE"},
- {GL_FRAMEBUFFER_ATTACHMENT_ANGLE, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE"}, };
+ {GL_FRAMEBUFFER_ATTACHMENT_ANGLE, "GL_FRAMEBUFFER_ATTACHMENT_ANGLE"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1425,7 +3033,8 @@ std::string GLES2Util::GetStringTextureWrapMode(uint32 value) {
static const EnumToString string_table[] = {
{GL_CLAMP_TO_EDGE, "GL_CLAMP_TO_EDGE"},
{GL_MIRRORED_REPEAT, "GL_MIRRORED_REPEAT"},
- {GL_REPEAT, "GL_REPEAT"}, };
+ {GL_REPEAT, "GL_REPEAT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1436,7 +3045,8 @@ std::string GLES2Util::GetStringVertexAttribType(uint32 value) {
{GL_UNSIGNED_BYTE, "GL_UNSIGNED_BYTE"},
{GL_SHORT, "GL_SHORT"},
{GL_UNSIGNED_SHORT, "GL_UNSIGNED_SHORT"},
- {GL_FLOAT, "GL_FLOAT"}, };
+ {GL_FLOAT, "GL_FLOAT"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
@@ -1450,14 +3060,16 @@ std::string GLES2Util::GetStringVertexAttribute(uint32 value) {
{GL_VERTEX_ATTRIB_ARRAY_SIZE, "GL_VERTEX_ATTRIB_ARRAY_SIZE"},
{GL_VERTEX_ATTRIB_ARRAY_STRIDE, "GL_VERTEX_ATTRIB_ARRAY_STRIDE"},
{GL_VERTEX_ATTRIB_ARRAY_TYPE, "GL_VERTEX_ATTRIB_ARRAY_TYPE"},
- {GL_CURRENT_VERTEX_ATTRIB, "GL_CURRENT_VERTEX_ATTRIB"}, };
+ {GL_CURRENT_VERTEX_ATTRIB, "GL_CURRENT_VERTEX_ATTRIB"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
std::string GLES2Util::GetStringVertexPointer(uint32 value) {
static const EnumToString string_table[] = {
- {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, };
+ {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
+ };
return GLES2Util::GetQualifiedEnumString(
string_table, arraysize(string_table), value);
}
diff --git a/gpu/command_buffer/service/context_state_impl_autogen.h b/gpu/command_buffer/service/context_state_impl_autogen.h
index 2e4d28a..5b3709c 100644
--- a/gpu/command_buffer/service/context_state_impl_autogen.h
+++ b/gpu/command_buffer/service/context_state_impl_autogen.h
@@ -21,7 +21,8 @@ ContextState::EnableFlags::EnableFlags()
sample_alpha_to_coverage(false),
sample_coverage(false),
scissor_test(false),
- stencil_test(false) {}
+ stencil_test(false) {
+}
void ContextState::Initialize() {
blend_color_red = 0.0f;
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
index 08d17d2..c94c0bf 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
@@ -1959,7 +1959,9 @@ error::Error GLES2DecoderImpl::HandleUniform1f(
const gles2::cmds::Uniform1f& c) {
GLint location = static_cast<GLint>(c.location);
GLfloat x = static_cast<GLfloat>(c.x);
- GLfloat temp[1] = {x, };
+ GLfloat temp[1] = {
+ x,
+ };
DoUniform1fv(location, 1, &temp[0]);
return error::kNoError;
}
@@ -2057,7 +2059,9 @@ error::Error GLES2DecoderImpl::HandleUniform2f(
GLint location = static_cast<GLint>(c.location);
GLfloat x = static_cast<GLfloat>(c.x);
GLfloat y = static_cast<GLfloat>(c.y);
- GLfloat temp[2] = {x, y, };
+ GLfloat temp[2] = {
+ x, y,
+ };
DoUniform2fv(location, 1, &temp[0]);
return error::kNoError;
}
@@ -2107,7 +2111,9 @@ error::Error GLES2DecoderImpl::HandleUniform2i(
GLint location = static_cast<GLint>(c.location);
GLint x = static_cast<GLint>(c.x);
GLint y = static_cast<GLint>(c.y);
- GLint temp[2] = {x, y, };
+ GLint temp[2] = {
+ x, y,
+ };
DoUniform2iv(location, 1, &temp[0]);
return error::kNoError;
}
@@ -2158,7 +2164,9 @@ error::Error GLES2DecoderImpl::HandleUniform3f(
GLfloat x = static_cast<GLfloat>(c.x);
GLfloat y = static_cast<GLfloat>(c.y);
GLfloat z = static_cast<GLfloat>(c.z);
- GLfloat temp[3] = {x, y, z, };
+ GLfloat temp[3] = {
+ x, y, z,
+ };
DoUniform3fv(location, 1, &temp[0]);
return error::kNoError;
}
@@ -2209,7 +2217,9 @@ error::Error GLES2DecoderImpl::HandleUniform3i(
GLint x = static_cast<GLint>(c.x);
GLint y = static_cast<GLint>(c.y);
GLint z = static_cast<GLint>(c.z);
- GLint temp[3] = {x, y, z, };
+ GLint temp[3] = {
+ x, y, z,
+ };
DoUniform3iv(location, 1, &temp[0]);
return error::kNoError;
}
@@ -2261,7 +2271,9 @@ error::Error GLES2DecoderImpl::HandleUniform4f(
GLfloat y = static_cast<GLfloat>(c.y);
GLfloat z = static_cast<GLfloat>(c.z);
GLfloat w = static_cast<GLfloat>(c.w);
- GLfloat temp[4] = {x, y, z, w, };
+ GLfloat temp[4] = {
+ x, y, z, w,
+ };
DoUniform4fv(location, 1, &temp[0]);
return error::kNoError;
}
@@ -2313,7 +2325,9 @@ error::Error GLES2DecoderImpl::HandleUniform4i(
GLint y = static_cast<GLint>(c.y);
GLint z = static_cast<GLint>(c.z);
GLint w = static_cast<GLint>(c.w);
- GLint temp[4] = {x, y, z, w, };
+ GLint temp[4] = {
+ x, y, z, w,
+ };
DoUniform4iv(location, 1, &temp[0]);
return error::kNoError;
}
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
index 5c764a1..49d9430 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
@@ -351,7 +351,9 @@ TEST_F(GLES2DecoderTest2, TexParameterfvImmediateValidArgs) {
cmds::TexParameterfvImmediate& cmd =
*GetImmediateAs<cmds::TexParameterfvImmediate>();
SpecializedSetup<cmds::TexParameterfvImmediate, 0>(true);
- GLfloat temp[1] = {GL_NEAREST, };
+ GLfloat temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, &temp[0]);
EXPECT_CALL(
*gl_,
@@ -367,7 +369,9 @@ TEST_F(GLES2DecoderTest2, TexParameterfvImmediateInvalidArgs0_0) {
*GetImmediateAs<cmds::TexParameterfvImmediate>();
EXPECT_CALL(*gl_, TexParameterf(_, _, _)).Times(0);
SpecializedSetup<cmds::TexParameterfvImmediate, 0>(false);
- GLfloat temp[1] = {GL_NEAREST, };
+ GLfloat temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_ENUM, GetGLError());
@@ -378,7 +382,9 @@ TEST_F(GLES2DecoderTest2, TexParameterfvImmediateInvalidArgs0_1) {
*GetImmediateAs<cmds::TexParameterfvImmediate>();
EXPECT_CALL(*gl_, TexParameterf(_, _, _)).Times(0);
SpecializedSetup<cmds::TexParameterfvImmediate, 0>(false);
- GLfloat temp[1] = {GL_NEAREST, };
+ GLfloat temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_ENUM, GetGLError());
@@ -389,7 +395,9 @@ TEST_F(GLES2DecoderTest2, TexParameterfvImmediateInvalidArgs1_0) {
*GetImmediateAs<cmds::TexParameterfvImmediate>();
EXPECT_CALL(*gl_, TexParameterf(_, _, _)).Times(0);
SpecializedSetup<cmds::TexParameterfvImmediate, 0>(false);
- GLfloat temp[1] = {GL_NEAREST, };
+ GLfloat temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_ENUM, GetGLError());
@@ -513,7 +521,9 @@ TEST_F(GLES2DecoderTest2, TexParameterivImmediateValidArgs) {
cmds::TexParameterivImmediate& cmd =
*GetImmediateAs<cmds::TexParameterivImmediate>();
SpecializedSetup<cmds::TexParameterivImmediate, 0>(true);
- GLint temp[1] = {GL_NEAREST, };
+ GLint temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, &temp[0]);
EXPECT_CALL(
*gl_,
@@ -529,7 +539,9 @@ TEST_F(GLES2DecoderTest2, TexParameterivImmediateInvalidArgs0_0) {
*GetImmediateAs<cmds::TexParameterivImmediate>();
EXPECT_CALL(*gl_, TexParameteri(_, _, _)).Times(0);
SpecializedSetup<cmds::TexParameterivImmediate, 0>(false);
- GLint temp[1] = {GL_NEAREST, };
+ GLint temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_ENUM, GetGLError());
@@ -540,7 +552,9 @@ TEST_F(GLES2DecoderTest2, TexParameterivImmediateInvalidArgs0_1) {
*GetImmediateAs<cmds::TexParameterivImmediate>();
EXPECT_CALL(*gl_, TexParameteri(_, _, _)).Times(0);
SpecializedSetup<cmds::TexParameterivImmediate, 0>(false);
- GLint temp[1] = {GL_NEAREST, };
+ GLint temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_ENUM, GetGLError());
@@ -551,7 +565,9 @@ TEST_F(GLES2DecoderTest2, TexParameterivImmediateInvalidArgs1_0) {
*GetImmediateAs<cmds::TexParameterivImmediate>();
EXPECT_CALL(*gl_, TexParameteri(_, _, _)).Times(0);
SpecializedSetup<cmds::TexParameterivImmediate, 0>(false);
- GLint temp[1] = {GL_NEAREST, };
+ GLint temp[1] = {
+ GL_NEAREST,
+ };
cmd.Init(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_ENUM, GetGLError());
@@ -625,7 +641,9 @@ TEST_F(GLES2DecoderTest2, Uniform1fvImmediateValidArgs) {
*gl_,
Uniform1fv(1, 2, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform1fvImmediate, 0>(true);
- GLfloat temp[1 * 2] = {0, };
+ GLfloat temp[1 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -701,7 +719,9 @@ TEST_F(GLES2DecoderTest2, Uniform2fvImmediateValidArgs) {
*gl_,
Uniform2fv(1, 2, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform2fvImmediate, 0>(true);
- GLfloat temp[2 * 2] = {0, };
+ GLfloat temp[2 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -772,7 +792,9 @@ TEST_F(GLES2DecoderTest2, Uniform2ivImmediateValidArgs) {
*gl_,
Uniform2iv(1, 2, reinterpret_cast<GLint*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform2ivImmediate, 0>(true);
- GLint temp[2 * 2] = {0, };
+ GLint temp[2 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -845,7 +867,9 @@ TEST_F(GLES2DecoderTest2, Uniform3fvImmediateValidArgs) {
*gl_,
Uniform3fv(1, 2, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform3fvImmediate, 0>(true);
- GLfloat temp[3 * 2] = {0, };
+ GLfloat temp[3 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -916,7 +940,9 @@ TEST_F(GLES2DecoderTest2, Uniform3ivImmediateValidArgs) {
*gl_,
Uniform3iv(1, 2, reinterpret_cast<GLint*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform3ivImmediate, 0>(true);
- GLint temp[3 * 2] = {0, };
+ GLint temp[3 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -989,7 +1015,9 @@ TEST_F(GLES2DecoderTest2, Uniform4fvImmediateValidArgs) {
*gl_,
Uniform4fv(1, 2, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform4fvImmediate, 0>(true);
- GLfloat temp[4 * 2] = {0, };
+ GLfloat temp[4 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -1060,7 +1088,9 @@ TEST_F(GLES2DecoderTest2, Uniform4ivImmediateValidArgs) {
*gl_,
Uniform4iv(1, 2, reinterpret_cast<GLint*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::Uniform4ivImmediate, 0>(true);
- GLint temp[4 * 2] = {0, };
+ GLint temp[4 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -1140,7 +1170,9 @@ TEST_F(GLES2DecoderTest2, UniformMatrix2fvImmediateValidArgs) {
UniformMatrix2fv(
1, 2, false, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::UniformMatrix2fvImmediate, 0>(true);
- GLfloat temp[4 * 2] = {0, };
+ GLfloat temp[4 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, false, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -1151,7 +1183,9 @@ TEST_F(GLES2DecoderTest2, UniformMatrix2fvImmediateInvalidArgs2_0) {
*GetImmediateAs<cmds::UniformMatrix2fvImmediate>();
EXPECT_CALL(*gl_, UniformMatrix2fv(_, _, _, _)).Times(0);
SpecializedSetup<cmds::UniformMatrix2fvImmediate, 0>(false);
- GLfloat temp[4 * 2] = {0, };
+ GLfloat temp[4 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, true, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
@@ -1231,7 +1265,9 @@ TEST_F(GLES2DecoderTest2, UniformMatrix3fvImmediateValidArgs) {
UniformMatrix3fv(
1, 2, false, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::UniformMatrix3fvImmediate, 0>(true);
- GLfloat temp[9 * 2] = {0, };
+ GLfloat temp[9 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, false, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -1242,7 +1278,9 @@ TEST_F(GLES2DecoderTest2, UniformMatrix3fvImmediateInvalidArgs2_0) {
*GetImmediateAs<cmds::UniformMatrix3fvImmediate>();
EXPECT_CALL(*gl_, UniformMatrix3fv(_, _, _, _)).Times(0);
SpecializedSetup<cmds::UniformMatrix3fvImmediate, 0>(false);
- GLfloat temp[9 * 2] = {0, };
+ GLfloat temp[9 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, true, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
@@ -1322,7 +1360,9 @@ TEST_F(GLES2DecoderTest2, UniformMatrix4fvImmediateValidArgs) {
UniformMatrix4fv(
1, 2, false, reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
SpecializedSetup<cmds::UniformMatrix4fvImmediate, 0>(true);
- GLfloat temp[16 * 2] = {0, };
+ GLfloat temp[16 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, false, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
@@ -1333,7 +1373,9 @@ TEST_F(GLES2DecoderTest2, UniformMatrix4fvImmediateInvalidArgs2_0) {
*GetImmediateAs<cmds::UniformMatrix4fvImmediate>();
EXPECT_CALL(*gl_, UniformMatrix4fv(_, _, _, _)).Times(0);
SpecializedSetup<cmds::UniformMatrix4fvImmediate, 0>(false);
- GLfloat temp[16 * 2] = {0, };
+ GLfloat temp[16 * 2] = {
+ 0,
+ };
cmd.Init(1, 2, true, &temp[0]);
EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_INVALID_VALUE, GetGLError());
@@ -1409,7 +1451,9 @@ TEST_F(GLES2DecoderTest2, VertexAttrib1fvImmediateValidArgs) {
cmds::VertexAttrib1fvImmediate& cmd =
*GetImmediateAs<cmds::VertexAttrib1fvImmediate>();
SpecializedSetup<cmds::VertexAttrib1fvImmediate, 0>(true);
- GLfloat temp[1] = {0, };
+ GLfloat temp[1] = {
+ 0,
+ };
cmd.Init(1, &temp[0]);
EXPECT_CALL(*gl_,
VertexAttrib1fv(
@@ -1461,7 +1505,9 @@ TEST_F(GLES2DecoderTest2, VertexAttrib2fvImmediateValidArgs) {
cmds::VertexAttrib2fvImmediate& cmd =
*GetImmediateAs<cmds::VertexAttrib2fvImmediate>();
SpecializedSetup<cmds::VertexAttrib2fvImmediate, 0>(true);
- GLfloat temp[2] = {0, };
+ GLfloat temp[2] = {
+ 0,
+ };
cmd.Init(1, &temp[0]);
EXPECT_CALL(*gl_,
VertexAttrib2fv(
@@ -1513,7 +1559,9 @@ TEST_F(GLES2DecoderTest2, VertexAttrib3fvImmediateValidArgs) {
cmds::VertexAttrib3fvImmediate& cmd =
*GetImmediateAs<cmds::VertexAttrib3fvImmediate>();
SpecializedSetup<cmds::VertexAttrib3fvImmediate, 0>(true);
- GLfloat temp[3] = {0, };
+ GLfloat temp[3] = {
+ 0,
+ };
cmd.Init(1, &temp[0]);
EXPECT_CALL(*gl_,
VertexAttrib3fv(
@@ -1565,7 +1613,9 @@ TEST_F(GLES2DecoderTest2, VertexAttrib4fvImmediateValidArgs) {
cmds::VertexAttrib4fvImmediate& cmd =
*GetImmediateAs<cmds::VertexAttrib4fvImmediate>();
SpecializedSetup<cmds::VertexAttrib4fvImmediate, 0>(true);
- GLfloat temp[4] = {0, };
+ GLfloat temp[4] = {
+ 0,
+ };
cmd.Init(1, &temp[0]);
EXPECT_CALL(*gl_,
VertexAttrib4fv(
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
index d296018..a297112 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -12,34 +12,44 @@
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_
static const GLenum valid_attachment_table[] = {
- GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT, };
+ GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT,
+};
static const GLenum valid_backbuffer_attachment_table[] = {
- GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT, };
+ GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT,
+};
-static const GLenum valid_blit_filter_table[] = {GL_NEAREST, GL_LINEAR, };
+static const GLenum valid_blit_filter_table[] = {
+ GL_NEAREST, GL_LINEAR,
+};
-static const GLenum valid_buffer_parameter_table[] = {GL_BUFFER_SIZE,
- GL_BUFFER_USAGE, };
+static const GLenum valid_buffer_parameter_table[] = {
+ GL_BUFFER_SIZE, GL_BUFFER_USAGE,
+};
-static const GLenum valid_buffer_target_table[] = {GL_ARRAY_BUFFER,
- GL_ELEMENT_ARRAY_BUFFER, };
+static const GLenum valid_buffer_target_table[] = {
+ GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER,
+};
static const GLenum valid_buffer_usage_table[] = {
- GL_STREAM_DRAW, GL_STATIC_DRAW, GL_DYNAMIC_DRAW, };
+ GL_STREAM_DRAW, GL_STATIC_DRAW, GL_DYNAMIC_DRAW,
+};
static const GLenum valid_capability_table[] = {
GL_BLEND, GL_CULL_FACE, GL_DEPTH_TEST,
GL_DITHER, GL_POLYGON_OFFSET_FILL, GL_SAMPLE_ALPHA_TO_COVERAGE,
- GL_SAMPLE_COVERAGE, GL_SCISSOR_TEST, GL_STENCIL_TEST, };
+ GL_SAMPLE_COVERAGE, GL_SCISSOR_TEST, GL_STENCIL_TEST,
+};
static const GLenum valid_cmp_function_table[] = {
GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL,
- GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, GL_ALWAYS, };
+ GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, GL_ALWAYS,
+};
static const GLenum valid_draw_mode_table[] = {
GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES,
- GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, };
+ GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES,
+};
static const GLenum valid_dst_blend_factor_table[] = {
GL_ZERO, GL_ONE,
@@ -48,25 +58,35 @@ static const GLenum valid_dst_blend_factor_table[] = {
GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA,
GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA,
GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR,
- GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, };
+ GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA,
+};
-static const GLenum valid_equation_table[] = {GL_FUNC_ADD, GL_FUNC_SUBTRACT,
- GL_FUNC_REVERSE_SUBTRACT, };
+static const GLenum valid_equation_table[] = {
+ GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT,
+};
-static const GLenum valid_face_mode_table[] = {GL_CW, GL_CCW, };
+static const GLenum valid_face_mode_table[] = {
+ GL_CW, GL_CCW,
+};
-static const GLenum valid_face_type_table[] = {GL_FRONT, GL_BACK,
- GL_FRONT_AND_BACK, };
+static const GLenum valid_face_type_table[] = {
+ GL_FRONT, GL_BACK, GL_FRONT_AND_BACK,
+};
-static const GLboolean valid_false_only_table[] = {false, };
+static const GLboolean valid_false_only_table[] = {
+ false,
+};
static const GLenum valid_frame_buffer_parameter_table[] = {
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL,
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, };
+ GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE,
+};
-static const GLenum valid_frame_buffer_target_table[] = {GL_FRAMEBUFFER, };
+static const GLenum valid_frame_buffer_target_table[] = {
+ GL_FRAMEBUFFER,
+};
static const GLenum valid_g_l_state_table[] = {
GL_ACTIVE_TEXTURE,
@@ -167,46 +187,61 @@ static const GLenum valid_g_l_state_table[] = {
GL_SAMPLE_ALPHA_TO_COVERAGE,
GL_SAMPLE_COVERAGE,
GL_SCISSOR_TEST,
- GL_STENCIL_TEST, };
+ GL_STENCIL_TEST,
+};
static const GLenum valid_get_max_index_type_table[] = {
- GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_UNSIGNED_INT, };
+ GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_UNSIGNED_INT,
+};
static const GLenum valid_get_tex_param_target_table[] = {
- GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, };
+ GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP,
+};
-static const GLenum valid_hint_mode_table[] = {GL_FASTEST, GL_NICEST,
- GL_DONT_CARE, };
+static const GLenum valid_hint_mode_table[] = {
+ GL_FASTEST, GL_NICEST, GL_DONT_CARE,
+};
-static const GLenum valid_hint_target_table[] = {GL_GENERATE_MIPMAP_HINT, };
+static const GLenum valid_hint_target_table[] = {
+ GL_GENERATE_MIPMAP_HINT,
+};
-static const GLenum valid_index_type_table[] = {GL_UNSIGNED_BYTE,
- GL_UNSIGNED_SHORT, };
+static const GLenum valid_index_type_table[] = {
+ GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT,
+};
static const GLenum valid_pixel_store_table[] = {
GL_PACK_ALIGNMENT,
GL_UNPACK_ALIGNMENT,
GL_UNPACK_FLIP_Y_CHROMIUM,
GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
- GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, };
+ GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM,
+};
-static const GLint valid_pixel_store_alignment_table[] = {1, 2, 4, 8, };
+static const GLint valid_pixel_store_alignment_table[] = {
+ 1, 2, 4, 8,
+};
static const GLenum valid_pixel_type_table[] = {
GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_4_4_4_4,
- GL_UNSIGNED_SHORT_5_5_5_1, };
+ GL_UNSIGNED_SHORT_5_5_5_1,
+};
static const GLenum valid_program_parameter_table[] = {
GL_DELETE_STATUS, GL_LINK_STATUS,
GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH,
GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES,
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS,
- GL_ACTIVE_UNIFORM_MAX_LENGTH, };
+ GL_ACTIVE_UNIFORM_MAX_LENGTH,
+};
static const GLenum valid_query_object_parameter_table[] = {
- GL_QUERY_RESULT_EXT, GL_QUERY_RESULT_AVAILABLE_EXT, };
+ GL_QUERY_RESULT_EXT, GL_QUERY_RESULT_AVAILABLE_EXT,
+};
-static const GLenum valid_query_parameter_table[] = {GL_CURRENT_QUERY_EXT, };
+static const GLenum valid_query_parameter_table[] = {
+ GL_CURRENT_QUERY_EXT,
+};
static const GLenum valid_query_target_table[] = {
GL_ANY_SAMPLES_PASSED_EXT,
@@ -215,42 +250,53 @@ static const GLenum valid_query_target_table[] = {
GL_LATENCY_QUERY_CHROMIUM,
GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM,
GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM,
- GL_COMMANDS_COMPLETED_CHROMIUM, };
+ GL_COMMANDS_COMPLETED_CHROMIUM,
+};
-static const GLenum valid_read_pixel_format_table[] = {GL_ALPHA, GL_RGB,
- GL_RGBA, };
+static const GLenum valid_read_pixel_format_table[] = {
+ GL_ALPHA, GL_RGB, GL_RGBA,
+};
static const GLenum valid_read_pixel_type_table[] = {
GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_4_4_4_4,
- GL_UNSIGNED_SHORT_5_5_5_1, };
+ GL_UNSIGNED_SHORT_5_5_5_1,
+};
static const GLenum valid_render_buffer_format_table[] = {
- GL_RGBA4, GL_RGB565, GL_RGB5_A1, GL_DEPTH_COMPONENT16, GL_STENCIL_INDEX8, };
+ GL_RGBA4, GL_RGB565, GL_RGB5_A1, GL_DEPTH_COMPONENT16, GL_STENCIL_INDEX8,
+};
static const GLenum valid_render_buffer_parameter_table[] = {
GL_RENDERBUFFER_RED_SIZE, GL_RENDERBUFFER_GREEN_SIZE,
GL_RENDERBUFFER_BLUE_SIZE, GL_RENDERBUFFER_ALPHA_SIZE,
GL_RENDERBUFFER_DEPTH_SIZE, GL_RENDERBUFFER_STENCIL_SIZE,
GL_RENDERBUFFER_WIDTH, GL_RENDERBUFFER_HEIGHT,
- GL_RENDERBUFFER_INTERNAL_FORMAT, };
+ GL_RENDERBUFFER_INTERNAL_FORMAT,
+};
-static const GLenum valid_render_buffer_target_table[] = {GL_RENDERBUFFER, };
+static const GLenum valid_render_buffer_target_table[] = {
+ GL_RENDERBUFFER,
+};
static const GLenum valid_reset_status_table[] = {
GL_GUILTY_CONTEXT_RESET_ARB, GL_INNOCENT_CONTEXT_RESET_ARB,
- GL_UNKNOWN_CONTEXT_RESET_ARB, };
+ GL_UNKNOWN_CONTEXT_RESET_ARB,
+};
static const GLenum valid_shader_parameter_table[] = {
GL_SHADER_TYPE, GL_DELETE_STATUS,
GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH,
- GL_SHADER_SOURCE_LENGTH, GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE, };
+ GL_SHADER_SOURCE_LENGTH, GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE,
+};
static const GLenum valid_shader_precision_table[] = {
GL_LOW_FLOAT, GL_MEDIUM_FLOAT, GL_HIGH_FLOAT,
- GL_LOW_INT, GL_MEDIUM_INT, GL_HIGH_INT, };
+ GL_LOW_INT, GL_MEDIUM_INT, GL_HIGH_INT,
+};
-static const GLenum valid_shader_type_table[] = {GL_VERTEX_SHADER,
- GL_FRAGMENT_SHADER, };
+static const GLenum valid_shader_type_table[] = {
+ GL_VERTEX_SHADER, GL_FRAGMENT_SHADER,
+};
static const GLenum valid_src_blend_factor_table[] = {
GL_ZERO, GL_ONE,
@@ -260,73 +306,96 @@ static const GLenum valid_src_blend_factor_table[] = {
GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA,
GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR,
GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA,
- GL_SRC_ALPHA_SATURATE, };
+ GL_SRC_ALPHA_SATURATE,
+};
static const GLenum valid_stencil_op_table[] = {
GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR,
- GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, GL_INVERT, };
+ GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, GL_INVERT,
+};
static const GLenum valid_string_type_table[] = {
GL_VENDOR, GL_RENDERER, GL_VERSION,
- GL_SHADING_LANGUAGE_VERSION, GL_EXTENSIONS, };
+ GL_SHADING_LANGUAGE_VERSION, GL_EXTENSIONS,
+};
-static const GLenum valid_texture_bind_target_table[] = {GL_TEXTURE_2D,
- GL_TEXTURE_CUBE_MAP, };
+static const GLenum valid_texture_bind_target_table[] = {
+ GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP,
+};
-static const GLint valid_texture_border_table[] = {0, };
+static const GLint valid_texture_border_table[] = {
+ 0,
+};
static const GLenum valid_texture_format_table[] = {
- GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA, };
+ GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA,
+};
static const GLenum valid_texture_internal_format_table[] = {
- GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA, };
+ GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA,
+};
static const GLenum valid_texture_internal_format_storage_table[] = {
GL_RGB565, GL_RGBA4, GL_RGB5_A1, GL_ALPHA8_EXT,
- GL_LUMINANCE8_EXT, GL_LUMINANCE8_ALPHA8_EXT, GL_RGB8_OES, GL_RGBA8_OES, };
+ GL_LUMINANCE8_EXT, GL_LUMINANCE8_ALPHA8_EXT, GL_RGB8_OES, GL_RGBA8_OES,
+};
-static const GLenum valid_texture_mag_filter_mode_table[] = {GL_NEAREST,
- GL_LINEAR, };
+static const GLenum valid_texture_mag_filter_mode_table[] = {
+ GL_NEAREST, GL_LINEAR,
+};
static const GLenum valid_texture_min_filter_mode_table[] = {
GL_NEAREST, GL_LINEAR,
GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST,
- GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR, };
+ GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR,
+};
static const GLenum valid_texture_parameter_table[] = {
GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_POOL_CHROMIUM,
- GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, };
+ GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T,
+};
static const GLenum valid_texture_pool_table[] = {
- GL_TEXTURE_POOL_MANAGED_CHROMIUM, GL_TEXTURE_POOL_UNMANAGED_CHROMIUM, };
+ GL_TEXTURE_POOL_MANAGED_CHROMIUM, GL_TEXTURE_POOL_UNMANAGED_CHROMIUM,
+};
static const GLenum valid_texture_target_table[] = {
GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X,
GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y,
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z,
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, };
+ GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,
+};
static const GLenum valid_texture_usage_table[] = {
- GL_NONE, GL_FRAMEBUFFER_ATTACHMENT_ANGLE, };
+ GL_NONE, GL_FRAMEBUFFER_ATTACHMENT_ANGLE,
+};
static const GLenum valid_texture_wrap_mode_table[] = {
- GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, GL_REPEAT, };
+ GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, GL_REPEAT,
+};
-static const GLint valid_vertex_attrib_size_table[] = {1, 2, 3, 4, };
+static const GLint valid_vertex_attrib_size_table[] = {
+ 1, 2, 3, 4,
+};
static const GLenum valid_vertex_attrib_type_table[] = {
- GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_FLOAT, };
+ GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_FLOAT,
+};
static const GLenum valid_vertex_attribute_table[] = {
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING,
GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE,
GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE,
- GL_CURRENT_VERTEX_ATTRIB, };
+ GL_CURRENT_VERTEX_ATTRIB,
+};
static const GLenum valid_vertex_pointer_table[] = {
- GL_VERTEX_ATTRIB_ARRAY_POINTER, };
+ GL_VERTEX_ATTRIB_ARRAY_POINTER,
+};
-static const GLint valid_zero_only_table[] = {0, };
+static const GLint valid_zero_only_table[] = {
+ 0,
+};
Validators::Validators()
: attachment(valid_attachment_table, arraysize(valid_attachment_table)),
@@ -429,6 +498,7 @@ Validators::Validators()
arraysize(valid_vertex_attribute_table)),
vertex_pointer(valid_vertex_pointer_table,
arraysize(valid_vertex_pointer_table)),
- zero_only(valid_zero_only_table, arraysize(valid_zero_only_table)) {}
+ zero_only(valid_zero_only_table, arraysize(valid_zero_only_table)) {
+}
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_