summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/gles2_cmd_helper_autogen.h')
-rw-r--r--gpu/command_buffer/client/gles2_cmd_helper_autogen.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 4491f9b..f56713f 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1725,6 +1725,19 @@ void ProduceTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
}
}
+void ProduceTextureDirectCHROMIUMImmediate(GLuint texture,
+ GLenum target,
+ const GLbyte* mailbox) {
+ const uint32_t size =
+ gles2::cmds::ProduceTextureDirectCHROMIUMImmediate::ComputeSize();
+ gles2::cmds::ProduceTextureDirectCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::ProduceTextureDirectCHROMIUMImmediate>(size);
+ if (c) {
+ c->Init(texture, target, mailbox);
+ }
+}
+
void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
const uint32_t size =
gles2::cmds::ConsumeTextureCHROMIUMImmediate::ComputeSize();