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 b8e3b66d1b7fcb43f250c9949e58feb4bd4f7a13..dc43a41a7e31a10e374a9c21ea72c430a21171c7 100644 |
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
@@ -813,6 +813,36 @@ void Hint(GLenum target, GLenum mode) { |
} |
} |
+void InvalidateFramebufferImmediate(GLenum target, |
+ GLsizei count, |
+ const GLenum* attachments) { |
+ const uint32_t size = |
+ gles2::cmds::InvalidateFramebufferImmediate::ComputeSize(count); |
+ gles2::cmds::InvalidateFramebufferImmediate* c = |
+ GetImmediateCmdSpaceTotalSize< |
+ gles2::cmds::InvalidateFramebufferImmediate>(size); |
+ if (c) { |
+ c->Init(target, count, attachments); |
+ } |
+} |
+ |
+void InvalidateSubFramebufferImmediate(GLenum target, |
+ GLsizei count, |
+ const GLenum* attachments, |
+ GLint x, |
+ GLint y, |
+ GLsizei width, |
+ GLsizei height) { |
+ const uint32_t size = |
+ gles2::cmds::InvalidateSubFramebufferImmediate::ComputeSize(count); |
+ gles2::cmds::InvalidateSubFramebufferImmediate* c = |
+ GetImmediateCmdSpaceTotalSize< |
+ gles2::cmds::InvalidateSubFramebufferImmediate>(size); |
+ if (c) { |
+ c->Init(target, count, attachments, x, y, width, height); |
+ } |
+} |
+ |
void IsBuffer(GLuint buffer, |
uint32_t result_shm_id, |
uint32_t result_shm_offset) { |
@@ -902,6 +932,13 @@ void PolygonOffset(GLfloat factor, GLfloat units) { |
} |
} |
+void ReadBuffer(GLenum src) { |
+ gles2::cmds::ReadBuffer* c = GetCmdSpace<gles2::cmds::ReadBuffer>(); |
+ if (c) { |
+ c->Init(src); |
+ } |
+} |
+ |
void ReadPixels(GLint x, |
GLint y, |
GLsizei width, |