| 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 6270b69a2f329856fc35eee6b9098b33cae5f799..de1da442bf0a3e6af30388b5006cecf84cba5715 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| @@ -14662,4 +14662,31 @@ static_assert(sizeof(BlendBarrierKHR) == 4,
|
| static_assert(offsetof(BlendBarrierKHR, header) == 0,
|
| "offset of BlendBarrierKHR header should be 0");
|
|
|
| +struct ApplyScreenSpaceAntialiasing {
|
| + typedef ApplyScreenSpaceAntialiasing ValueType;
|
| + static const CommandId kCmdId = kApplyScreenSpaceAntialiasing;
|
| + 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(ApplyScreenSpaceAntialiasing) == 4,
|
| + "size of ApplyScreenSpaceAntialiasing should be 4");
|
| +static_assert(offsetof(ApplyScreenSpaceAntialiasing, header) == 0,
|
| + "offset of ApplyScreenSpaceAntialiasing header should be 0");
|
| +
|
| #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_AUTOGEN_H_
|
|
|