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 3557348325033f352a663d6f5d7fe3b7c7a84892..a61bbddd3b3521420f4960cf40f440c571885061 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
@@ -11023,6 +11023,36 @@ COMPILE_ASSERT(offsetof(DrawBuffersEXTImmediate, header) == 0, |
COMPILE_ASSERT(offsetof(DrawBuffersEXTImmediate, count) == 4, |
OffsetOf_DrawBuffersEXTImmediate_count_not_4); |
+struct EncodeBackbufferCHROMIUM { |
+ typedef EncodeBackbufferCHROMIUM ValueType; |
+ static const CommandId kCmdId = kEncodeBackbufferCHROMIUM; |
+ static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
+ |
+ static uint32 ComputeSize() { |
+ return static_cast<uint32>(sizeof(ValueType)); // NOLINT |
+ } |
+ |
+ void SetHeader() { |
+ header.SetCmd<ValueType>(); |
+ } |
+ |
+ void Init() { |
+ SetHeader(); |
+ } |
+ |
+ void* Set(void* cmd) { |
+ static_cast<ValueType*>(cmd)->Init(); |
+ return NextCmdAddress<ValueType>(cmd); |
+ } |
+ |
+ gpu::CommandHeader header; |
+}; |
+ |
+COMPILE_ASSERT(sizeof(EncodeBackbufferCHROMIUM) == 4, |
+ Sizeof_EncodeBackbufferCHROMIUM_is_not_4); |
+COMPILE_ASSERT(offsetof(EncodeBackbufferCHROMIUM, header) == 0, |
+ OffsetOf_EncodeBackbufferCHROMIUM_header_not_0); |
+ |
#endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_AUTOGEN_H_ |