Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
index 75796a20983a2296fe199d7da9a1053c6adbc7ae..b8e3b66d1b7fcb43f250c9949e58feb4bd4f7a13 100644 |
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
@@ -243,6 +243,18 @@ void CompressedTexSubImage2D(GLenum target, |
} |
} |
+void CopyBufferSubData(GLenum readtarget, |
+ GLenum writetarget, |
+ GLintptr readoffset, |
+ GLintptr writeoffset, |
+ GLsizeiptr size) { |
+ gles2::cmds::CopyBufferSubData* c = |
+ GetCmdSpace<gles2::cmds::CopyBufferSubData>(); |
+ if (c) { |
+ c->Init(readtarget, writetarget, readoffset, writeoffset, size); |
+ } |
+} |
+ |
void CopyTexImage2D(GLenum target, |
GLint level, |
GLenum internalformat, |
@@ -457,6 +469,18 @@ void FramebufferTexture2D(GLenum target, |
} |
} |
+void FramebufferTextureLayer(GLenum target, |
+ GLenum attachment, |
+ GLuint texture, |
+ GLint level, |
+ GLint layer) { |
+ gles2::cmds::FramebufferTextureLayer* c = |
+ GetCmdSpace<gles2::cmds::FramebufferTextureLayer>(); |
+ if (c) { |
+ c->Init(target, attachment, texture, level, layer); |
+ } |
+} |
+ |
void FrontFace(GLenum mode) { |
gles2::cmds::FrontFace* c = GetCmdSpace<gles2::cmds::FrontFace>(); |
if (c) { |
@@ -611,6 +635,19 @@ void GetIntegerv(GLenum pname, |
} |
} |
+void GetInternalformativ(GLenum target, |
+ GLenum format, |
+ GLenum pname, |
+ GLsizei bufSize, |
+ uint32_t params_shm_id, |
+ uint32_t params_shm_offset) { |
+ gles2::cmds::GetInternalformativ* c = |
+ GetCmdSpace<gles2::cmds::GetInternalformativ>(); |
+ if (c) { |
+ c->Init(target, format, pname, bufSize, params_shm_id, params_shm_offset); |
+ } |
+} |
+ |
void GetProgramiv(GLuint program, |
GLenum pname, |
uint32_t params_shm_id, |
@@ -1033,6 +1070,18 @@ void TexParameterivImmediate(GLenum target, GLenum pname, const GLint* params) { |
} |
} |
+void TexStorage3D(GLenum target, |
+ GLsizei levels, |
+ GLenum internalFormat, |
+ GLsizei width, |
+ GLsizei height, |
+ GLsizei depth) { |
+ gles2::cmds::TexStorage3D* c = GetCmdSpace<gles2::cmds::TexStorage3D>(); |
+ if (c) { |
+ c->Init(target, levels, internalFormat, width, height, depth); |
+ } |
+} |
+ |
void TexSubImage2D(GLenum target, |
GLint level, |
GLint xoffset, |
@@ -1083,6 +1132,22 @@ void Uniform1ivImmediate(GLint location, GLsizei count, const GLint* v) { |
} |
} |
+void Uniform1ui(GLint location, GLuint x) { |
+ gles2::cmds::Uniform1ui* c = GetCmdSpace<gles2::cmds::Uniform1ui>(); |
+ if (c) { |
+ c->Init(location, x); |
+ } |
+} |
+ |
+void Uniform1uivImmediate(GLint location, GLsizei count, const GLuint* v) { |
+ const uint32_t size = gles2::cmds::Uniform1uivImmediate::ComputeSize(count); |
+ gles2::cmds::Uniform1uivImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform1uivImmediate>(size); |
+ if (c) { |
+ c->Init(location, count, v); |
+ } |
+} |
+ |
void Uniform2f(GLint location, GLfloat x, GLfloat y) { |
gles2::cmds::Uniform2f* c = GetCmdSpace<gles2::cmds::Uniform2f>(); |
if (c) { |
@@ -1115,6 +1180,22 @@ void Uniform2ivImmediate(GLint location, GLsizei count, const GLint* v) { |
} |
} |
+void Uniform2ui(GLint location, GLuint x, GLuint y) { |
+ gles2::cmds::Uniform2ui* c = GetCmdSpace<gles2::cmds::Uniform2ui>(); |
+ if (c) { |
+ c->Init(location, x, y); |
+ } |
+} |
+ |
+void Uniform2uivImmediate(GLint location, GLsizei count, const GLuint* v) { |
+ const uint32_t size = gles2::cmds::Uniform2uivImmediate::ComputeSize(count); |
+ gles2::cmds::Uniform2uivImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform2uivImmediate>(size); |
+ if (c) { |
+ c->Init(location, count, v); |
+ } |
+} |
+ |
void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { |
gles2::cmds::Uniform3f* c = GetCmdSpace<gles2::cmds::Uniform3f>(); |
if (c) { |
@@ -1147,6 +1228,22 @@ void Uniform3ivImmediate(GLint location, GLsizei count, const GLint* v) { |
} |
} |
+void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) { |
+ gles2::cmds::Uniform3ui* c = GetCmdSpace<gles2::cmds::Uniform3ui>(); |
+ if (c) { |
+ c->Init(location, x, y, z); |
+ } |
+} |
+ |
+void Uniform3uivImmediate(GLint location, GLsizei count, const GLuint* v) { |
+ const uint32_t size = gles2::cmds::Uniform3uivImmediate::ComputeSize(count); |
+ gles2::cmds::Uniform3uivImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform3uivImmediate>(size); |
+ if (c) { |
+ c->Init(location, count, v); |
+ } |
+} |
+ |
void Uniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { |
gles2::cmds::Uniform4f* c = GetCmdSpace<gles2::cmds::Uniform4f>(); |
if (c) { |
@@ -1179,6 +1276,22 @@ void Uniform4ivImmediate(GLint location, GLsizei count, const GLint* v) { |
} |
} |
+void Uniform4ui(GLint location, GLuint x, GLuint y, GLuint z, GLuint w) { |
+ gles2::cmds::Uniform4ui* c = GetCmdSpace<gles2::cmds::Uniform4ui>(); |
+ if (c) { |
+ c->Init(location, x, y, z, w); |
+ } |
+} |
+ |
+void Uniform4uivImmediate(GLint location, GLsizei count, const GLuint* v) { |
+ const uint32_t size = gles2::cmds::Uniform4uivImmediate::ComputeSize(count); |
+ gles2::cmds::Uniform4uivImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform4uivImmediate>(size); |
+ if (c) { |
+ c->Init(location, count, v); |
+ } |
+} |
+ |
void UniformMatrix2fvImmediate(GLint location, |
GLsizei count, |
const GLfloat* value) { |
@@ -1192,6 +1305,32 @@ void UniformMatrix2fvImmediate(GLint location, |
} |
} |
+void UniformMatrix2x3fvImmediate(GLint location, |
+ GLsizei count, |
+ const GLfloat* value) { |
+ const uint32_t size = |
+ gles2::cmds::UniformMatrix2x3fvImmediate::ComputeSize(count); |
+ gles2::cmds::UniformMatrix2x3fvImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2x3fvImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(location, count, value); |
+ } |
+} |
+ |
+void UniformMatrix2x4fvImmediate(GLint location, |
+ GLsizei count, |
+ const GLfloat* value) { |
+ const uint32_t size = |
+ gles2::cmds::UniformMatrix2x4fvImmediate::ComputeSize(count); |
+ gles2::cmds::UniformMatrix2x4fvImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2x4fvImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(location, count, value); |
+ } |
+} |
+ |
void UniformMatrix3fvImmediate(GLint location, |
GLsizei count, |
const GLfloat* value) { |
@@ -1205,6 +1344,32 @@ void UniformMatrix3fvImmediate(GLint location, |
} |
} |
+void UniformMatrix3x2fvImmediate(GLint location, |
+ GLsizei count, |
+ const GLfloat* value) { |
+ const uint32_t size = |
+ gles2::cmds::UniformMatrix3x2fvImmediate::ComputeSize(count); |
+ gles2::cmds::UniformMatrix3x2fvImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix3x2fvImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(location, count, value); |
+ } |
+} |
+ |
+void UniformMatrix3x4fvImmediate(GLint location, |
+ GLsizei count, |
+ const GLfloat* value) { |
+ const uint32_t size = |
+ gles2::cmds::UniformMatrix3x4fvImmediate::ComputeSize(count); |
+ gles2::cmds::UniformMatrix3x4fvImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix3x4fvImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(location, count, value); |
+ } |
+} |
+ |
void UniformMatrix4fvImmediate(GLint location, |
GLsizei count, |
const GLfloat* value) { |
@@ -1218,6 +1383,32 @@ void UniformMatrix4fvImmediate(GLint location, |
} |
} |
+void UniformMatrix4x2fvImmediate(GLint location, |
+ GLsizei count, |
+ const GLfloat* value) { |
+ const uint32_t size = |
+ gles2::cmds::UniformMatrix4x2fvImmediate::ComputeSize(count); |
+ gles2::cmds::UniformMatrix4x2fvImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix4x2fvImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(location, count, value); |
+ } |
+} |
+ |
+void UniformMatrix4x3fvImmediate(GLint location, |
+ GLsizei count, |
+ const GLfloat* value) { |
+ const uint32_t size = |
+ gles2::cmds::UniformMatrix4x3fvImmediate::ComputeSize(count); |
+ gles2::cmds::UniformMatrix4x3fvImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix4x3fvImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(location, count, value); |
+ } |
+} |
+ |
void UseProgram(GLuint program) { |
gles2::cmds::UseProgram* c = GetCmdSpace<gles2::cmds::UseProgram>(); |
if (c) { |
@@ -1300,6 +1491,53 @@ void VertexAttrib4fvImmediate(GLuint indx, const GLfloat* values) { |
} |
} |
+void VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) { |
+ gles2::cmds::VertexAttribI4i* c = GetCmdSpace<gles2::cmds::VertexAttribI4i>(); |
+ if (c) { |
+ c->Init(indx, x, y, z, w); |
+ } |
+} |
+ |
+void VertexAttribI4ivImmediate(GLuint indx, const GLint* values) { |
+ const uint32_t size = gles2::cmds::VertexAttribI4ivImmediate::ComputeSize(); |
+ gles2::cmds::VertexAttribI4ivImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::VertexAttribI4ivImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(indx, values); |
+ } |
+} |
+ |
+void VertexAttribI4ui(GLuint indx, GLuint x, GLuint y, GLuint z, GLuint w) { |
+ gles2::cmds::VertexAttribI4ui* c = |
+ GetCmdSpace<gles2::cmds::VertexAttribI4ui>(); |
+ if (c) { |
+ c->Init(indx, x, y, z, w); |
+ } |
+} |
+ |
+void VertexAttribI4uivImmediate(GLuint indx, const GLuint* values) { |
+ const uint32_t size = gles2::cmds::VertexAttribI4uivImmediate::ComputeSize(); |
+ gles2::cmds::VertexAttribI4uivImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::VertexAttribI4uivImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(indx, values); |
+ } |
+} |
+ |
+void VertexAttribIPointer(GLuint indx, |
+ GLint size, |
+ GLenum type, |
+ GLsizei stride, |
+ GLuint offset) { |
+ gles2::cmds::VertexAttribIPointer* c = |
+ GetCmdSpace<gles2::cmds::VertexAttribIPointer>(); |
+ if (c) { |
+ c->Init(indx, size, type, stride, offset); |
+ } |
+} |
+ |
void VertexAttribPointer(GLuint indx, |
GLint size, |
GLenum type, |