| 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 ef34bad515259c17da32f668ba13e5157b2a046f..c2fd2ef9348f8c6fa3dea6139a07ec90750cb93f 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| @@ -9165,6 +9165,40 @@ COMPILE_ASSERT(offsetof(GetTranslatedShaderSourceANGLE, shader) == 4,
|
| COMPILE_ASSERT(offsetof(GetTranslatedShaderSourceANGLE, bucket_id) == 8,
|
| OffsetOf_GetTranslatedShaderSourceANGLE_bucket_id_not_8);
|
|
|
| +struct SetSurfaceVisibleCHROMIUM {
|
| + typedef SetSurfaceVisibleCHROMIUM ValueType;
|
| + static const CommandId kCmdId = kSetSurfaceVisibleCHROMIUM;
|
| + static const cmd::ArgFlags kArgFlags = cmd::kFixed;
|
| +
|
| + static uint32 ComputeSize() {
|
| + return static_cast<uint32>(sizeof(ValueType)); // NOLINT
|
| + }
|
| +
|
| + void SetHeader() {
|
| + header.SetCmd<ValueType>();
|
| + }
|
| +
|
| + void Init(GLboolean _visible) {
|
| + SetHeader();
|
| + visible = _visible;
|
| + }
|
| +
|
| + void* Set(void* cmd, GLboolean _visible) {
|
| + static_cast<ValueType*>(cmd)->Init(_visible);
|
| + return NextCmdAddress<ValueType>(cmd);
|
| + }
|
| +
|
| + gpu::CommandHeader header;
|
| + uint32 visible;
|
| +};
|
| +
|
| +COMPILE_ASSERT(sizeof(SetSurfaceVisibleCHROMIUM) == 8,
|
| + Sizeof_SetSurfaceVisibleCHROMIUM_is_not_8);
|
| +COMPILE_ASSERT(offsetof(SetSurfaceVisibleCHROMIUM, header) == 0,
|
| + OffsetOf_SetSurfaceVisibleCHROMIUM_header_not_0);
|
| +COMPILE_ASSERT(offsetof(SetSurfaceVisibleCHROMIUM, visible) == 4,
|
| + OffsetOf_SetSurfaceVisibleCHROMIUM_visible_not_4);
|
| +
|
|
|
| #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_AUTOGEN_H_
|
|
|
|
|