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 9e2fc49778ca667aa0db042810c4b0e835f70605..8d4553a0de840a787119ee7793ab516580212d4f 100644 |
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
@@ -71,6 +71,14 @@ void BindTexture(GLenum target, GLuint texture) { |
} |
} |
+void BindTransformFeedback(GLenum target, GLuint transformfeedback) { |
+ gles2::cmds::BindTransformFeedback* c = |
+ GetCmdSpace<gles2::cmds::BindTransformFeedback>(); |
+ if (c) { |
+ c->Init(target, transformfeedback); |
+ } |
+} |
+ |
void BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { |
gles2::cmds::BlendColor* c = GetCmdSpace<gles2::cmds::BlendColor>(); |
if (c) { |
@@ -374,6 +382,17 @@ void DeleteTexturesImmediate(GLsizei n, const GLuint* textures) { |
} |
} |
+void DeleteTransformFeedbacksImmediate(GLsizei n, const GLuint* ids) { |
+ const uint32_t size = |
+ gles2::cmds::DeleteTransformFeedbacksImmediate::ComputeSize(n); |
+ gles2::cmds::DeleteTransformFeedbacksImmediate* c = |
+ GetImmediateCmdSpaceTotalSize< |
+ gles2::cmds::DeleteTransformFeedbacksImmediate>(size); |
+ if (c) { |
+ c->Init(n, ids); |
+ } |
+} |
+ |
void DepthFunc(GLenum func) { |
gles2::cmds::DepthFunc* c = GetCmdSpace<gles2::cmds::DepthFunc>(); |
if (c) { |
@@ -558,6 +577,17 @@ void GenTexturesImmediate(GLsizei n, GLuint* textures) { |
} |
} |
+void GenTransformFeedbacksImmediate(GLsizei n, GLuint* ids) { |
+ const uint32_t size = |
+ gles2::cmds::GenTransformFeedbacksImmediate::ComputeSize(n); |
+ gles2::cmds::GenTransformFeedbacksImmediate* c = |
+ GetImmediateCmdSpaceTotalSize< |
+ gles2::cmds::GenTransformFeedbacksImmediate>(size); |
+ if (c) { |
+ c->Init(n, ids); |
+ } |
+} |
+ |
void GetActiveAttrib(GLuint program, |
GLuint index, |
uint32_t name_bucket_id, |
@@ -960,6 +990,16 @@ void IsTexture(GLuint texture, |
} |
} |
+void IsTransformFeedback(GLuint transformfeedback, |
+ uint32_t result_shm_id, |
+ uint32_t result_shm_offset) { |
+ gles2::cmds::IsTransformFeedback* c = |
+ GetCmdSpace<gles2::cmds::IsTransformFeedback>(); |
+ if (c) { |
+ c->Init(transformfeedback, result_shm_id, result_shm_offset); |
+ } |
+} |
+ |
void LineWidth(GLfloat width) { |
gles2::cmds::LineWidth* c = GetCmdSpace<gles2::cmds::LineWidth>(); |
if (c) { |
@@ -974,6 +1014,14 @@ void LinkProgram(GLuint program) { |
} |
} |
+void PauseTransformFeedback() { |
+ gles2::cmds::PauseTransformFeedback* c = |
+ GetCmdSpace<gles2::cmds::PauseTransformFeedback>(); |
+ if (c) { |
+ c->Init(); |
+ } |
+} |
+ |
void PixelStorei(GLenum pname, GLint param) { |
gles2::cmds::PixelStorei* c = GetCmdSpace<gles2::cmds::PixelStorei>(); |
if (c) { |
@@ -1032,6 +1080,14 @@ void RenderbufferStorage(GLenum target, |
} |
} |
+void ResumeTransformFeedback() { |
+ gles2::cmds::ResumeTransformFeedback* c = |
+ GetCmdSpace<gles2::cmds::ResumeTransformFeedback>(); |
+ if (c) { |
+ c->Init(); |
+ } |
+} |
+ |
void SampleCoverage(GLclampf value, GLboolean invert) { |
gles2::cmds::SampleCoverage* c = GetCmdSpace<gles2::cmds::SampleCoverage>(); |
if (c) { |
@@ -1785,6 +1841,14 @@ void BeginQueryEXT(GLenum target, |
} |
} |
+void BeginTransformFeedback(GLenum primitivemode) { |
+ gles2::cmds::BeginTransformFeedback* c = |
+ GetCmdSpace<gles2::cmds::BeginTransformFeedback>(); |
+ if (c) { |
+ c->Init(primitivemode); |
+ } |
+} |
+ |
void EndQueryEXT(GLenum target, GLuint submit_count) { |
gles2::cmds::EndQueryEXT* c = GetCmdSpace<gles2::cmds::EndQueryEXT>(); |
if (c) { |
@@ -1792,6 +1856,14 @@ void EndQueryEXT(GLenum target, GLuint submit_count) { |
} |
} |
+void EndTransformFeedback() { |
+ gles2::cmds::EndTransformFeedback* c = |
+ GetCmdSpace<gles2::cmds::EndTransformFeedback>(); |
+ if (c) { |
+ c->Init(); |
+ } |
+} |
+ |
void InsertEventMarkerEXT(GLuint bucket_id) { |
gles2::cmds::InsertEventMarkerEXT* c = |
GetCmdSpace<gles2::cmds::InsertEventMarkerEXT>(); |