Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h |
=================================================================== |
--- gpu/command_buffer/client/gles2_cmd_helper_autogen.h (revision 134729) |
+++ gpu/command_buffer/client/gles2_cmd_helper_autogen.h (working copy) |
@@ -1752,5 +1752,50 @@ |
} |
} |
+ void GenMailboxCHROMIUM(GLuint bucket_id) { |
+ gles2::GenMailboxCHROMIUM* c = GetCmdSpace<gles2::GenMailboxCHROMIUM>(); |
+ if (c) { |
+ c->Init(bucket_id); |
+ } |
+ } |
+ |
+ void ProduceTextureCHROMIUM( |
+ GLenum target, uint32 mailbox_shm_id, uint32 mailbox_shm_offset) { |
+ gles2::ProduceTextureCHROMIUM* c = |
+ GetCmdSpace<gles2::ProduceTextureCHROMIUM>(); |
+ if (c) { |
+ c->Init(target, mailbox_shm_id, mailbox_shm_offset); |
+ } |
+ } |
+ |
+ void ProduceTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) { |
+ const uint32 size = gles2::ProduceTextureCHROMIUMImmediate::ComputeSize(); |
+ gles2::ProduceTextureCHROMIUMImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::ProduceTextureCHROMIUMImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(target, mailbox); |
+ } |
+ } |
+ |
+ void ConsumeTextureCHROMIUM( |
+ GLenum target, uint32 mailbox_shm_id, uint32 mailbox_shm_offset) { |
+ gles2::ConsumeTextureCHROMIUM* c = |
+ GetCmdSpace<gles2::ConsumeTextureCHROMIUM>(); |
+ if (c) { |
+ c->Init(target, mailbox_shm_id, mailbox_shm_offset); |
+ } |
+ } |
+ |
+ void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) { |
+ const uint32 size = gles2::ConsumeTextureCHROMIUMImmediate::ComputeSize(); |
+ gles2::ConsumeTextureCHROMIUMImmediate* c = |
+ GetImmediateCmdSpaceTotalSize<gles2::ConsumeTextureCHROMIUMImmediate>( |
+ size); |
+ if (c) { |
+ c->Init(target, mailbox); |
+ } |
+ } |
+ |
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ |