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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper.h ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index b1181ae19982bc6d1dd6706bcc42523e05df06c5..727d39a50a133c6092f93dafeaf24bb222cb0328 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -116,6 +116,14 @@ void GLES2CompressedTexSubImage2D(GLenum target,
gles2::GetGLContext()->CompressedTexSubImage2D(
target, level, xoffset, yoffset, width, height, format, imageSize, data);
}
+void GLES2CopyBufferSubData(GLenum readtarget,
+ GLenum writetarget,
+ GLintptr readoffset,
+ GLintptr writeoffset,
+ GLsizeiptr size) {
+ gles2::GetGLContext()->CopyBufferSubData(readtarget, writetarget, readoffset,
+ writeoffset, size);
+}
void GLES2CopyTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
@@ -219,6 +227,14 @@ void GLES2FramebufferTexture2D(GLenum target,
gles2::GetGLContext()->FramebufferTexture2D(target, attachment, textarget,
texture, level);
}
+void GLES2FramebufferTextureLayer(GLenum target,
+ GLenum attachment,
+ GLuint texture,
+ GLint level,
+ GLint layer) {
+ gles2::GetGLContext()->FramebufferTextureLayer(target, attachment, texture,
+ level, layer);
+}
void GLES2FrontFace(GLenum mode) {
gles2::GetGLContext()->FrontFace(mode);
}
@@ -288,6 +304,14 @@ void GLES2GetFramebufferAttachmentParameteriv(GLenum target,
void GLES2GetIntegerv(GLenum pname, GLint* params) {
gles2::GetGLContext()->GetIntegerv(pname, params);
}
+void GLES2GetInternalformativ(GLenum target,
+ GLenum format,
+ GLenum pname,
+ GLsizei bufSize,
+ GLint* params) {
+ gles2::GetGLContext()->GetInternalformativ(target, format, pname, bufSize,
+ params);
+}
void GLES2GetProgramiv(GLuint program, GLenum pname, GLint* params) {
gles2::GetGLContext()->GetProgramiv(program, pname, params);
}
@@ -479,6 +503,15 @@ void GLES2TexParameteri(GLenum target, GLenum pname, GLint param) {
void GLES2TexParameteriv(GLenum target, GLenum pname, const GLint* params) {
gles2::GetGLContext()->TexParameteriv(target, pname, params);
}
+void GLES2TexStorage3D(GLenum target,
+ GLsizei levels,
+ GLenum internalFormat,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth) {
+ gles2::GetGLContext()->TexStorage3D(target, levels, internalFormat, width,
+ height, depth);
+}
void GLES2TexSubImage2D(GLenum target,
GLint level,
GLint xoffset,
@@ -503,6 +536,12 @@ void GLES2Uniform1i(GLint location, GLint x) {
void GLES2Uniform1iv(GLint location, GLsizei count, const GLint* v) {
gles2::GetGLContext()->Uniform1iv(location, count, v);
}
+void GLES2Uniform1ui(GLint location, GLuint x) {
+ gles2::GetGLContext()->Uniform1ui(location, x);
+}
+void GLES2Uniform1uiv(GLint location, GLsizei count, const GLuint* v) {
+ gles2::GetGLContext()->Uniform1uiv(location, count, v);
+}
void GLES2Uniform2f(GLint location, GLfloat x, GLfloat y) {
gles2::GetGLContext()->Uniform2f(location, x, y);
}
@@ -515,6 +554,12 @@ void GLES2Uniform2i(GLint location, GLint x, GLint y) {
void GLES2Uniform2iv(GLint location, GLsizei count, const GLint* v) {
gles2::GetGLContext()->Uniform2iv(location, count, v);
}
+void GLES2Uniform2ui(GLint location, GLuint x, GLuint y) {
+ gles2::GetGLContext()->Uniform2ui(location, x, y);
+}
+void GLES2Uniform2uiv(GLint location, GLsizei count, const GLuint* v) {
+ gles2::GetGLContext()->Uniform2uiv(location, count, v);
+}
void GLES2Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) {
gles2::GetGLContext()->Uniform3f(location, x, y, z);
}
@@ -527,6 +572,12 @@ void GLES2Uniform3i(GLint location, GLint x, GLint y, GLint z) {
void GLES2Uniform3iv(GLint location, GLsizei count, const GLint* v) {
gles2::GetGLContext()->Uniform3iv(location, count, v);
}
+void GLES2Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) {
+ gles2::GetGLContext()->Uniform3ui(location, x, y, z);
+}
+void GLES2Uniform3uiv(GLint location, GLsizei count, const GLuint* v) {
+ gles2::GetGLContext()->Uniform3uiv(location, count, v);
+}
void GLES2Uniform4f(GLint location,
GLfloat x,
GLfloat y,
@@ -543,24 +594,66 @@ void GLES2Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) {
void GLES2Uniform4iv(GLint location, GLsizei count, const GLint* v) {
gles2::GetGLContext()->Uniform4iv(location, count, v);
}
+void GLES2Uniform4ui(GLint location, GLuint x, GLuint y, GLuint z, GLuint w) {
+ gles2::GetGLContext()->Uniform4ui(location, x, y, z, w);
+}
+void GLES2Uniform4uiv(GLint location, GLsizei count, const GLuint* v) {
+ gles2::GetGLContext()->Uniform4uiv(location, count, v);
+}
void GLES2UniformMatrix2fv(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value) {
gles2::GetGLContext()->UniformMatrix2fv(location, count, transpose, value);
}
+void GLES2UniformMatrix2x3fv(GLint location,
+ GLsizei count,
+ GLboolean transpose,
+ const GLfloat* value) {
+ gles2::GetGLContext()->UniformMatrix2x3fv(location, count, transpose, value);
+}
+void GLES2UniformMatrix2x4fv(GLint location,
+ GLsizei count,
+ GLboolean transpose,
+ const GLfloat* value) {
+ gles2::GetGLContext()->UniformMatrix2x4fv(location, count, transpose, value);
+}
void GLES2UniformMatrix3fv(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value) {
gles2::GetGLContext()->UniformMatrix3fv(location, count, transpose, value);
}
+void GLES2UniformMatrix3x2fv(GLint location,
+ GLsizei count,
+ GLboolean transpose,
+ const GLfloat* value) {
+ gles2::GetGLContext()->UniformMatrix3x2fv(location, count, transpose, value);
+}
+void GLES2UniformMatrix3x4fv(GLint location,
+ GLsizei count,
+ GLboolean transpose,
+ const GLfloat* value) {
+ gles2::GetGLContext()->UniformMatrix3x4fv(location, count, transpose, value);
+}
void GLES2UniformMatrix4fv(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value) {
gles2::GetGLContext()->UniformMatrix4fv(location, count, transpose, value);
}
+void GLES2UniformMatrix4x2fv(GLint location,
+ GLsizei count,
+ GLboolean transpose,
+ const GLfloat* value) {
+ gles2::GetGLContext()->UniformMatrix4x2fv(location, count, transpose, value);
+}
+void GLES2UniformMatrix4x3fv(GLint location,
+ GLsizei count,
+ GLboolean transpose,
+ const GLfloat* value) {
+ gles2::GetGLContext()->UniformMatrix4x3fv(location, count, transpose, value);
+}
void GLES2UseProgram(GLuint program) {
gles2::GetGLContext()->UseProgram(program);
}
@@ -595,6 +688,29 @@ void GLES2VertexAttrib4f(GLuint indx,
void GLES2VertexAttrib4fv(GLuint indx, const GLfloat* values) {
gles2::GetGLContext()->VertexAttrib4fv(indx, values);
}
+void GLES2VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) {
+ gles2::GetGLContext()->VertexAttribI4i(indx, x, y, z, w);
+}
+void GLES2VertexAttribI4iv(GLuint indx, const GLint* values) {
+ gles2::GetGLContext()->VertexAttribI4iv(indx, values);
+}
+void GLES2VertexAttribI4ui(GLuint indx,
+ GLuint x,
+ GLuint y,
+ GLuint z,
+ GLuint w) {
+ gles2::GetGLContext()->VertexAttribI4ui(indx, x, y, z, w);
+}
+void GLES2VertexAttribI4uiv(GLuint indx, const GLuint* values) {
+ gles2::GetGLContext()->VertexAttribI4uiv(indx, values);
+}
+void GLES2VertexAttribIPointer(GLuint indx,
+ GLint size,
+ GLenum type,
+ GLsizei stride,
+ const void* ptr) {
+ gles2::GetGLContext()->VertexAttribIPointer(indx, size, type, stride, ptr);
+}
void GLES2VertexAttribPointer(GLuint indx,
GLint size,
GLenum type,
@@ -1054,6 +1170,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
},
{
+ "glCopyBufferSubData",
+ reinterpret_cast<GLES2FunctionPointer>(glCopyBufferSubData),
+ },
+ {
"glCopyTexImage2D",
reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
},
@@ -1154,6 +1274,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
},
{
+ "glFramebufferTextureLayer",
+ reinterpret_cast<GLES2FunctionPointer>(glFramebufferTextureLayer),
+ },
+ {
"glFrontFace",
reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
},
@@ -1219,6 +1343,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
},
{
+ "glGetInternalformativ",
+ reinterpret_cast<GLES2FunctionPointer>(glGetInternalformativ),
+ },
+ {
"glGetProgramiv",
reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
},
@@ -1411,6 +1539,10 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
},
{
+ "glTexStorage3D",
+ reinterpret_cast<GLES2FunctionPointer>(glTexStorage3D),
+ },
+ {
"glTexSubImage2D",
reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
},
@@ -1431,6 +1563,14 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
},
{
+ "glUniform1ui",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform1ui),
+ },
+ {
+ "glUniform1uiv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform1uiv),
+ },
+ {
"glUniform2f",
reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
},
@@ -1447,6 +1587,14 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
},
{
+ "glUniform2ui",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform2ui),
+ },
+ {
+ "glUniform2uiv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform2uiv),
+ },
+ {
"glUniform3f",
reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
},
@@ -1463,6 +1611,14 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
},
{
+ "glUniform3ui",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform3ui),
+ },
+ {
+ "glUniform3uiv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform3uiv),
+ },
+ {
"glUniform4f",
reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
},
@@ -1479,18 +1635,50 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
},
{
+ "glUniform4ui",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform4ui),
+ },
+ {
+ "glUniform4uiv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniform4uiv),
+ },
+ {
"glUniformMatrix2fv",
reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
},
{
+ "glUniformMatrix2x3fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x3fv),
+ },
+ {
+ "glUniformMatrix2x4fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2x4fv),
+ },
+ {
"glUniformMatrix3fv",
reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
},
{
+ "glUniformMatrix3x2fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x2fv),
+ },
+ {
+ "glUniformMatrix3x4fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3x4fv),
+ },
+ {
"glUniformMatrix4fv",
reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
},
{
+ "glUniformMatrix4x2fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x2fv),
+ },
+ {
+ "glUniformMatrix4x3fv",
+ reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4x3fv),
+ },
+ {
"glUseProgram",
reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
},
@@ -1531,6 +1719,26 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
},
{
+ "glVertexAttribI4i",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4i),
+ },
+ {
+ "glVertexAttribI4iv",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4iv),
+ },
+ {
+ "glVertexAttribI4ui",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4ui),
+ },
+ {
+ "glVertexAttribI4uiv",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribI4uiv),
+ },
+ {
+ "glVertexAttribIPointer",
+ reinterpret_cast<GLES2FunctionPointer>(glVertexAttribIPointer),
+ },
+ {
"glVertexAttribPointer",
reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
},
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper.h ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698