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 69a0d5e3d377177d93a445abcf0c9249b64d44ac..3f288cb3ebd45f1e2df76470057a9a3d52ea21a1 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
@@ -14381,4 +14381,32 @@ static_assert(sizeof(BlendBarrierKHR) == 4, |
static_assert(offsetof(BlendBarrierKHR, header) == 0, |
"offset of BlendBarrierKHR header should be 0"); |
+struct ApplyScreenSpaceAntialiasingCHROMIUM { |
+ typedef ApplyScreenSpaceAntialiasingCHROMIUM ValueType; |
+ static const CommandId kCmdId = kApplyScreenSpaceAntialiasingCHROMIUM; |
+ static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
+ static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3); |
+ |
+ static uint32_t ComputeSize() { |
+ return static_cast<uint32_t>(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; |
+}; |
+ |
+static_assert(sizeof(ApplyScreenSpaceAntialiasingCHROMIUM) == 4, |
+ "size of ApplyScreenSpaceAntialiasingCHROMIUM should be 4"); |
+static_assert( |
+ offsetof(ApplyScreenSpaceAntialiasingCHROMIUM, header) == 0, |
+ "offset of ApplyScreenSpaceAntialiasingCHROMIUM header should be 0"); |
+ |
#endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_AUTOGEN_H_ |