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 360983aecd15d2616f092215f6104ba3ec067098..4491f9b30155b14368f28b1ff69cc32a4975d741 100644 |
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
@@ -318,15 +318,6 @@ void CullFace(GLenum mode) { |
} |
} |
-void DeleteBuffers(GLsizei n, |
- uint32_t buffers_shm_id, |
- uint32_t buffers_shm_offset) { |
- gles2::cmds::DeleteBuffers* c = GetCmdSpace<gles2::cmds::DeleteBuffers>(); |
- if (c) { |
- c->Init(n, buffers_shm_id, buffers_shm_offset); |
- } |
-} |
- |
void DeleteBuffersImmediate(GLsizei n, const GLuint* buffers) { |
const uint32_t size = gles2::cmds::DeleteBuffersImmediate::ComputeSize(n); |
gles2::cmds::DeleteBuffersImmediate* c = |
@@ -336,16 +327,6 @@ void DeleteBuffersImmediate(GLsizei n, const GLuint* buffers) { |
} |
} |
-void DeleteFramebuffers(GLsizei n, |
- uint32_t framebuffers_shm_id, |
- uint32_t framebuffers_shm_offset) { |
- gles2::cmds::DeleteFramebuffers* c = |
- GetCmdSpace<gles2::cmds::DeleteFramebuffers>(); |
- if (c) { |
- c->Init(n, framebuffers_shm_id, framebuffers_shm_offset); |
- } |
-} |
- |
void DeleteFramebuffersImmediate(GLsizei n, const GLuint* framebuffers) { |
const uint32_t size = |
gles2::cmds::DeleteFramebuffersImmediate::ComputeSize(n); |
@@ -364,16 +345,6 @@ void DeleteProgram(GLuint program) { |
} |
} |
-void DeleteRenderbuffers(GLsizei n, |
- uint32_t renderbuffers_shm_id, |
- uint32_t renderbuffers_shm_offset) { |
- gles2::cmds::DeleteRenderbuffers* c = |
- GetCmdSpace<gles2::cmds::DeleteRenderbuffers>(); |
- if (c) { |
- c->Init(n, renderbuffers_shm_id, renderbuffers_shm_offset); |
- } |
-} |
- |
void DeleteRenderbuffersImmediate(GLsizei n, const GLuint* renderbuffers) { |
const uint32_t size = |
gles2::cmds::DeleteRenderbuffersImmediate::ComputeSize(n); |
@@ -392,15 +363,6 @@ void DeleteShader(GLuint shader) { |
} |
} |
-void DeleteTextures(GLsizei n, |
- uint32_t textures_shm_id, |
- uint32_t textures_shm_offset) { |
- gles2::cmds::DeleteTextures* c = GetCmdSpace<gles2::cmds::DeleteTextures>(); |
- if (c) { |
- c->Init(n, textures_shm_id, textures_shm_offset); |
- } |
-} |
- |
void DeleteTexturesImmediate(GLsizei n, const GLuint* textures) { |
const uint32_t size = gles2::cmds::DeleteTexturesImmediate::ComputeSize(n); |
gles2::cmds::DeleteTexturesImmediate* c = |
@@ -528,15 +490,6 @@ void FrontFace(GLenum mode) { |
} |
} |
-void GenBuffers(GLsizei n, |
- uint32_t buffers_shm_id, |
- uint32_t buffers_shm_offset) { |
- gles2::cmds::GenBuffers* c = GetCmdSpace<gles2::cmds::GenBuffers>(); |
- if (c) { |
- c->Init(n, buffers_shm_id, buffers_shm_offset); |
- } |
-} |
- |
void GenBuffersImmediate(GLsizei n, GLuint* buffers) { |
const uint32_t size = gles2::cmds::GenBuffersImmediate::ComputeSize(n); |
gles2::cmds::GenBuffersImmediate* c = |
@@ -553,15 +506,6 @@ void GenerateMipmap(GLenum target) { |
} |
} |
-void GenFramebuffers(GLsizei n, |
- uint32_t framebuffers_shm_id, |
- uint32_t framebuffers_shm_offset) { |
- gles2::cmds::GenFramebuffers* c = GetCmdSpace<gles2::cmds::GenFramebuffers>(); |
- if (c) { |
- c->Init(n, framebuffers_shm_id, framebuffers_shm_offset); |
- } |
-} |
- |
void GenFramebuffersImmediate(GLsizei n, GLuint* framebuffers) { |
const uint32_t size = gles2::cmds::GenFramebuffersImmediate::ComputeSize(n); |
gles2::cmds::GenFramebuffersImmediate* c = |
@@ -572,16 +516,6 @@ void GenFramebuffersImmediate(GLsizei n, GLuint* framebuffers) { |
} |
} |
-void GenRenderbuffers(GLsizei n, |
- uint32_t renderbuffers_shm_id, |
- uint32_t renderbuffers_shm_offset) { |
- gles2::cmds::GenRenderbuffers* c = |
- GetCmdSpace<gles2::cmds::GenRenderbuffers>(); |
- if (c) { |
- c->Init(n, renderbuffers_shm_id, renderbuffers_shm_offset); |
- } |
-} |
- |
void GenRenderbuffersImmediate(GLsizei n, GLuint* renderbuffers) { |
const uint32_t size = gles2::cmds::GenRenderbuffersImmediate::ComputeSize(n); |
gles2::cmds::GenRenderbuffersImmediate* c = |
@@ -592,15 +526,6 @@ void GenRenderbuffersImmediate(GLsizei n, GLuint* renderbuffers) { |
} |
} |
-void GenTextures(GLsizei n, |
- uint32_t textures_shm_id, |
- uint32_t textures_shm_offset) { |
- gles2::cmds::GenTextures* c = GetCmdSpace<gles2::cmds::GenTextures>(); |
- if (c) { |
- c->Init(n, textures_shm_id, textures_shm_offset); |
- } |
-} |
- |
void GenTexturesImmediate(GLsizei n, GLuint* textures) { |
const uint32_t size = gles2::cmds::GenTexturesImmediate::ComputeSize(n); |
gles2::cmds::GenTexturesImmediate* c = |
@@ -1116,16 +1041,6 @@ void TexParameterf(GLenum target, GLenum pname, GLfloat param) { |
} |
} |
-void TexParameterfv(GLenum target, |
- GLenum pname, |
- uint32_t params_shm_id, |
- uint32_t params_shm_offset) { |
- gles2::cmds::TexParameterfv* c = GetCmdSpace<gles2::cmds::TexParameterfv>(); |
- if (c) { |
- c->Init(target, pname, params_shm_id, params_shm_offset); |
- } |
-} |
- |
void TexParameterfvImmediate(GLenum target, |
GLenum pname, |
const GLfloat* params) { |
@@ -1144,16 +1059,6 @@ void TexParameteri(GLenum target, GLenum pname, GLint param) { |
} |
} |
-void TexParameteriv(GLenum target, |
- GLenum pname, |
- uint32_t params_shm_id, |
- uint32_t params_shm_offset) { |
- gles2::cmds::TexParameteriv* c = GetCmdSpace<gles2::cmds::TexParameteriv>(); |
- if (c) { |
- c->Init(target, pname, params_shm_id, params_shm_offset); |
- } |
-} |
- |
void TexParameterivImmediate(GLenum target, GLenum pname, const GLint* params) { |
const uint32_t size = gles2::cmds::TexParameterivImmediate::ComputeSize(); |
gles2::cmds::TexParameterivImmediate* c = |
@@ -1197,16 +1102,6 @@ void Uniform1f(GLint location, GLfloat x) { |
} |
} |
-void Uniform1fv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform1fv* c = GetCmdSpace<gles2::cmds::Uniform1fv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform1fvImmediate(GLint location, GLsizei count, const GLfloat* v) { |
const uint32_t size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count); |
gles2::cmds::Uniform1fvImmediate* c = |
@@ -1223,16 +1118,6 @@ void Uniform1i(GLint location, GLint x) { |
} |
} |
-void Uniform1iv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform1iv* c = GetCmdSpace<gles2::cmds::Uniform1iv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform1ivImmediate(GLint location, GLsizei count, const GLint* v) { |
const uint32_t size = gles2::cmds::Uniform1ivImmediate::ComputeSize(count); |
gles2::cmds::Uniform1ivImmediate* c = |
@@ -1249,16 +1134,6 @@ void Uniform2f(GLint location, GLfloat x, GLfloat y) { |
} |
} |
-void Uniform2fv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform2fv* c = GetCmdSpace<gles2::cmds::Uniform2fv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform2fvImmediate(GLint location, GLsizei count, const GLfloat* v) { |
const uint32_t size = gles2::cmds::Uniform2fvImmediate::ComputeSize(count); |
gles2::cmds::Uniform2fvImmediate* c = |
@@ -1275,16 +1150,6 @@ void Uniform2i(GLint location, GLint x, GLint y) { |
} |
} |
-void Uniform2iv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform2iv* c = GetCmdSpace<gles2::cmds::Uniform2iv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform2ivImmediate(GLint location, GLsizei count, const GLint* v) { |
const uint32_t size = gles2::cmds::Uniform2ivImmediate::ComputeSize(count); |
gles2::cmds::Uniform2ivImmediate* c = |
@@ -1301,16 +1166,6 @@ void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) { |
} |
} |
-void Uniform3fv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform3fv* c = GetCmdSpace<gles2::cmds::Uniform3fv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform3fvImmediate(GLint location, GLsizei count, const GLfloat* v) { |
const uint32_t size = gles2::cmds::Uniform3fvImmediate::ComputeSize(count); |
gles2::cmds::Uniform3fvImmediate* c = |
@@ -1327,16 +1182,6 @@ void Uniform3i(GLint location, GLint x, GLint y, GLint z) { |
} |
} |
-void Uniform3iv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform3iv* c = GetCmdSpace<gles2::cmds::Uniform3iv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform3ivImmediate(GLint location, GLsizei count, const GLint* v) { |
const uint32_t size = gles2::cmds::Uniform3ivImmediate::ComputeSize(count); |
gles2::cmds::Uniform3ivImmediate* c = |
@@ -1353,16 +1198,6 @@ void Uniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { |
} |
} |
-void Uniform4fv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform4fv* c = GetCmdSpace<gles2::cmds::Uniform4fv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform4fvImmediate(GLint location, GLsizei count, const GLfloat* v) { |
const uint32_t size = gles2::cmds::Uniform4fvImmediate::ComputeSize(count); |
gles2::cmds::Uniform4fvImmediate* c = |
@@ -1379,16 +1214,6 @@ void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) { |
} |
} |
-void Uniform4iv(GLint location, |
- GLsizei count, |
- uint32_t v_shm_id, |
- uint32_t v_shm_offset) { |
- gles2::cmds::Uniform4iv* c = GetCmdSpace<gles2::cmds::Uniform4iv>(); |
- if (c) { |
- c->Init(location, count, v_shm_id, v_shm_offset); |
- } |
-} |
- |
void Uniform4ivImmediate(GLint location, GLsizei count, const GLint* v) { |
const uint32_t size = gles2::cmds::Uniform4ivImmediate::ComputeSize(count); |
gles2::cmds::Uniform4ivImmediate* c = |
@@ -1398,17 +1223,6 @@ void Uniform4ivImmediate(GLint location, GLsizei count, const GLint* v) { |
} |
} |
-void UniformMatrix2fv(GLint location, |
- GLsizei count, |
- uint32_t value_shm_id, |
- uint32_t value_shm_offset) { |
- gles2::cmds::UniformMatrix2fv* c = |
- GetCmdSpace<gles2::cmds::UniformMatrix2fv>(); |
- if (c) { |
- c->Init(location, count, value_shm_id, value_shm_offset); |
- } |
-} |
- |
void UniformMatrix2fvImmediate(GLint location, |
GLsizei count, |
const GLfloat* value) { |
@@ -1422,17 +1236,6 @@ void UniformMatrix2fvImmediate(GLint location, |
} |
} |
-void UniformMatrix3fv(GLint location, |
- GLsizei count, |
- uint32_t value_shm_id, |
- uint32_t value_shm_offset) { |
- gles2::cmds::UniformMatrix3fv* c = |
- GetCmdSpace<gles2::cmds::UniformMatrix3fv>(); |
- if (c) { |
- c->Init(location, count, value_shm_id, value_shm_offset); |
- } |
-} |
- |
void UniformMatrix3fvImmediate(GLint location, |
GLsizei count, |
const GLfloat* value) { |
@@ -1446,17 +1249,6 @@ void UniformMatrix3fvImmediate(GLint location, |
} |
} |
-void UniformMatrix4fv(GLint location, |
- GLsizei count, |
- uint32_t value_shm_id, |
- uint32_t value_shm_offset) { |
- gles2::cmds::UniformMatrix4fv* c = |
- GetCmdSpace<gles2::cmds::UniformMatrix4fv>(); |
- if (c) { |
- c->Init(location, count, value_shm_id, value_shm_offset); |
- } |
-} |
- |
void UniformMatrix4fvImmediate(GLint location, |
GLsizei count, |
const GLfloat* value) { |
@@ -1491,15 +1283,6 @@ void VertexAttrib1f(GLuint indx, GLfloat x) { |
} |
} |
-void VertexAttrib1fv(GLuint indx, |
- uint32_t values_shm_id, |
- uint32_t values_shm_offset) { |
- gles2::cmds::VertexAttrib1fv* c = GetCmdSpace<gles2::cmds::VertexAttrib1fv>(); |
- if (c) { |
- c->Init(indx, values_shm_id, values_shm_offset); |
- } |
-} |
- |
void VertexAttrib1fvImmediate(GLuint indx, const GLfloat* values) { |
const uint32_t size = gles2::cmds::VertexAttrib1fvImmediate::ComputeSize(); |
gles2::cmds::VertexAttrib1fvImmediate* c = |
@@ -1517,15 +1300,6 @@ void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) { |
} |
} |
-void VertexAttrib2fv(GLuint indx, |
- uint32_t values_shm_id, |
- uint32_t values_shm_offset) { |
- gles2::cmds::VertexAttrib2fv* c = GetCmdSpace<gles2::cmds::VertexAttrib2fv>(); |
- if (c) { |
- c->Init(indx, values_shm_id, values_shm_offset); |
- } |
-} |
- |
void VertexAttrib2fvImmediate(GLuint indx, const GLfloat* values) { |
const uint32_t size = gles2::cmds::VertexAttrib2fvImmediate::ComputeSize(); |
gles2::cmds::VertexAttrib2fvImmediate* c = |
@@ -1543,15 +1317,6 @@ void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) { |
} |
} |
-void VertexAttrib3fv(GLuint indx, |
- uint32_t values_shm_id, |
- uint32_t values_shm_offset) { |
- gles2::cmds::VertexAttrib3fv* c = GetCmdSpace<gles2::cmds::VertexAttrib3fv>(); |
- if (c) { |
- c->Init(indx, values_shm_id, values_shm_offset); |
- } |
-} |
- |
void VertexAttrib3fvImmediate(GLuint indx, const GLfloat* values) { |
const uint32_t size = gles2::cmds::VertexAttrib3fvImmediate::ComputeSize(); |
gles2::cmds::VertexAttrib3fvImmediate* c = |
@@ -1569,15 +1334,6 @@ void VertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { |
} |
} |
-void VertexAttrib4fv(GLuint indx, |
- uint32_t values_shm_id, |
- uint32_t values_shm_offset) { |
- gles2::cmds::VertexAttrib4fv* c = GetCmdSpace<gles2::cmds::VertexAttrib4fv>(); |
- if (c) { |
- c->Init(indx, values_shm_id, values_shm_offset); |
- } |
-} |
- |
void VertexAttrib4fvImmediate(GLuint indx, const GLfloat* values) { |
const uint32_t size = gles2::cmds::VertexAttrib4fvImmediate::ComputeSize(); |
gles2::cmds::VertexAttrib4fvImmediate* c = |
@@ -1673,15 +1429,6 @@ void TexStorage2DEXT(GLenum target, |
} |
} |
-void GenQueriesEXT(GLsizei n, |
- uint32_t queries_shm_id, |
- uint32_t queries_shm_offset) { |
- gles2::cmds::GenQueriesEXT* c = GetCmdSpace<gles2::cmds::GenQueriesEXT>(); |
- if (c) { |
- c->Init(n, queries_shm_id, queries_shm_offset); |
- } |
-} |
- |
void GenQueriesEXTImmediate(GLsizei n, GLuint* queries) { |
const uint32_t size = gles2::cmds::GenQueriesEXTImmediate::ComputeSize(n); |
gles2::cmds::GenQueriesEXTImmediate* c = |
@@ -1691,16 +1438,6 @@ void GenQueriesEXTImmediate(GLsizei n, GLuint* queries) { |
} |
} |
-void DeleteQueriesEXT(GLsizei n, |
- uint32_t queries_shm_id, |
- uint32_t queries_shm_offset) { |
- gles2::cmds::DeleteQueriesEXT* c = |
- GetCmdSpace<gles2::cmds::DeleteQueriesEXT>(); |
- if (c) { |
- c->Init(n, queries_shm_id, queries_shm_offset); |
- } |
-} |
- |
void DeleteQueriesEXTImmediate(GLsizei n, const GLuint* queries) { |
const uint32_t size = gles2::cmds::DeleteQueriesEXTImmediate::ComputeSize(n); |
gles2::cmds::DeleteQueriesEXTImmediate* c = |
@@ -1752,16 +1489,6 @@ void PopGroupMarkerEXT() { |
} |
} |
-void GenVertexArraysOES(GLsizei n, |
- uint32_t arrays_shm_id, |
- uint32_t arrays_shm_offset) { |
- gles2::cmds::GenVertexArraysOES* c = |
- GetCmdSpace<gles2::cmds::GenVertexArraysOES>(); |
- if (c) { |
- c->Init(n, arrays_shm_id, arrays_shm_offset); |
- } |
-} |
- |
void GenVertexArraysOESImmediate(GLsizei n, GLuint* arrays) { |
const uint32_t size = |
gles2::cmds::GenVertexArraysOESImmediate::ComputeSize(n); |
@@ -1773,16 +1500,6 @@ void GenVertexArraysOESImmediate(GLsizei n, GLuint* arrays) { |
} |
} |
-void DeleteVertexArraysOES(GLsizei n, |
- uint32_t arrays_shm_id, |
- uint32_t arrays_shm_offset) { |
- gles2::cmds::DeleteVertexArraysOES* c = |
- GetCmdSpace<gles2::cmds::DeleteVertexArraysOES>(); |
- if (c) { |
- c->Init(n, arrays_shm_id, arrays_shm_offset); |
- } |
-} |
- |
void DeleteVertexArraysOESImmediate(GLsizei n, const GLuint* arrays) { |
const uint32_t size = |
gles2::cmds::DeleteVertexArraysOESImmediate::ComputeSize(n); |
@@ -1997,16 +1714,6 @@ void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
} |
} |
-void ProduceTextureCHROMIUM(GLenum target, |
- uint32_t mailbox_shm_id, |
- uint32_t mailbox_shm_offset) { |
- gles2::cmds::ProduceTextureCHROMIUM* c = |
- GetCmdSpace<gles2::cmds::ProduceTextureCHROMIUM>(); |
- if (c) { |
- c->Init(target, mailbox_shm_id, mailbox_shm_offset); |
- } |
-} |
- |
void ProduceTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) { |
const uint32_t size = |
gles2::cmds::ProduceTextureCHROMIUMImmediate::ComputeSize(); |
@@ -2018,16 +1725,6 @@ void ProduceTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) { |
} |
} |
-void ConsumeTextureCHROMIUM(GLenum target, |
- uint32_t mailbox_shm_id, |
- uint32_t mailbox_shm_offset) { |
- gles2::cmds::ConsumeTextureCHROMIUM* c = |
- GetCmdSpace<gles2::cmds::ConsumeTextureCHROMIUM>(); |
- if (c) { |
- c->Init(target, mailbox_shm_id, mailbox_shm_offset); |
- } |
-} |
- |
void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) { |
const uint32_t size = |
gles2::cmds::ConsumeTextureCHROMIUMImmediate::ComputeSize(); |
@@ -2171,17 +1868,6 @@ void WaitAllAsyncTexImage2DCHROMIUM() { |
} |
} |
-void DiscardFramebufferEXT(GLenum target, |
- GLsizei count, |
- uint32_t attachments_shm_id, |
- uint32_t attachments_shm_offset) { |
- gles2::cmds::DiscardFramebufferEXT* c = |
- GetCmdSpace<gles2::cmds::DiscardFramebufferEXT>(); |
- if (c) { |
- c->Init(target, count, attachments_shm_id, attachments_shm_offset); |
- } |
-} |
- |
void DiscardFramebufferEXTImmediate(GLenum target, |
GLsizei count, |
const GLenum* attachments) { |
@@ -2211,15 +1897,6 @@ void WaitSyncPointCHROMIUM(GLuint sync_point) { |
} |
} |
-void DrawBuffersEXT(GLsizei count, |
- uint32_t bufs_shm_id, |
- uint32_t bufs_shm_offset) { |
- gles2::cmds::DrawBuffersEXT* c = GetCmdSpace<gles2::cmds::DrawBuffersEXT>(); |
- if (c) { |
- c->Init(count, bufs_shm_id, bufs_shm_offset); |
- } |
-} |
- |
void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) { |
const uint32_t size = |
gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count); |