| Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| index dea500335efa1816361323950f912613c2d2a445..7597a511d0148ea6a97c737a1c7f4fa7234f2fe3 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| @@ -10730,6 +10730,40 @@ COMPILE_ASSERT(offsetof(AsyncTexImage2DCHROMIUM, pixels_shm_id) == 36,
|
| COMPILE_ASSERT(offsetof(AsyncTexImage2DCHROMIUM, pixels_shm_offset) == 40,
|
| OffsetOf_AsyncTexImage2DCHROMIUM_pixels_shm_offset_not_40);
|
|
|
| +struct WaitAsyncTexImage2DCHROMIUM {
|
| + typedef WaitAsyncTexImage2DCHROMIUM ValueType;
|
| + static const CommandId kCmdId = kWaitAsyncTexImage2DCHROMIUM;
|
| + static const cmd::ArgFlags kArgFlags = cmd::kFixed;
|
| +
|
| + static uint32 ComputeSize() {
|
| + return static_cast<uint32>(sizeof(ValueType)); // NOLINT
|
| + }
|
| +
|
| + void SetHeader() {
|
| + header.SetCmd<ValueType>();
|
| + }
|
| +
|
| + void Init(GLenum _target) {
|
| + SetHeader();
|
| + target = _target;
|
| + }
|
| +
|
| + void* Set(void* cmd, GLenum _target) {
|
| + static_cast<ValueType*>(cmd)->Init(_target);
|
| + return NextCmdAddress<ValueType>(cmd);
|
| + }
|
| +
|
| + gpu::CommandHeader header;
|
| + uint32 target;
|
| +};
|
| +
|
| +COMPILE_ASSERT(sizeof(WaitAsyncTexImage2DCHROMIUM) == 8,
|
| + Sizeof_WaitAsyncTexImage2DCHROMIUM_is_not_8);
|
| +COMPILE_ASSERT(offsetof(WaitAsyncTexImage2DCHROMIUM, header) == 0,
|
| + OffsetOf_WaitAsyncTexImage2DCHROMIUM_header_not_0);
|
| +COMPILE_ASSERT(offsetof(WaitAsyncTexImage2DCHROMIUM, target) == 4,
|
| + OffsetOf_WaitAsyncTexImage2DCHROMIUM_target_not_4);
|
| +
|
| struct DiscardFramebufferEXT {
|
| typedef DiscardFramebufferEXT ValueType;
|
| static const CommandId kCmdId = kDiscardFramebufferEXT;
|
|
|