| 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 7dea6b589e2b25f47cd50f9e0fade5e030d959d3..ce8c1120dd04acff9e0e4ec65a25f623bf54afa9 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| @@ -13757,6 +13757,103 @@ static_assert(offsetof(ScheduleOverlayPlaneCHROMIUM, uv_width) == 40,
|
| static_assert(offsetof(ScheduleOverlayPlaneCHROMIUM, uv_height) == 44,
|
| "offset of ScheduleOverlayPlaneCHROMIUM uv_height should be 44");
|
|
|
| +struct ScheduleSolidColorOverlayPlaneCHROMIUM {
|
| + typedef ScheduleSolidColorOverlayPlaneCHROMIUM ValueType;
|
| + static const CommandId kCmdId = kScheduleSolidColorOverlayPlaneCHROMIUM;
|
| + 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(GLint _plane_z_order,
|
| + GLint _bounds_x,
|
| + GLint _bounds_y,
|
| + GLint _bounds_width,
|
| + GLint _bounds_height,
|
| + GLclampf _red,
|
| + GLclampf _green,
|
| + GLclampf _blue,
|
| + GLclampf _alpha) {
|
| + SetHeader();
|
| + plane_z_order = _plane_z_order;
|
| + bounds_x = _bounds_x;
|
| + bounds_y = _bounds_y;
|
| + bounds_width = _bounds_width;
|
| + bounds_height = _bounds_height;
|
| + red = _red;
|
| + green = _green;
|
| + blue = _blue;
|
| + alpha = _alpha;
|
| + }
|
| +
|
| + void* Set(void* cmd,
|
| + GLint _plane_z_order,
|
| + GLint _bounds_x,
|
| + GLint _bounds_y,
|
| + GLint _bounds_width,
|
| + GLint _bounds_height,
|
| + GLclampf _red,
|
| + GLclampf _green,
|
| + GLclampf _blue,
|
| + GLclampf _alpha) {
|
| + static_cast<ValueType*>(cmd)->Init(_plane_z_order, _bounds_x, _bounds_y,
|
| + _bounds_width, _bounds_height, _red,
|
| + _green, _blue, _alpha);
|
| + return NextCmdAddress<ValueType>(cmd);
|
| + }
|
| +
|
| + gpu::CommandHeader header;
|
| + int32_t plane_z_order;
|
| + int32_t bounds_x;
|
| + int32_t bounds_y;
|
| + int32_t bounds_width;
|
| + int32_t bounds_height;
|
| + float red;
|
| + float green;
|
| + float blue;
|
| + float alpha;
|
| +};
|
| +
|
| +static_assert(sizeof(ScheduleSolidColorOverlayPlaneCHROMIUM) == 40,
|
| + "size of ScheduleSolidColorOverlayPlaneCHROMIUM should be 40");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, header) == 0,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM header should be 0");
|
| +static_assert(offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, plane_z_order) ==
|
| + 4,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM plane_z_order "
|
| + "should be 4");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, bounds_x) == 8,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM bounds_x should be 8");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, bounds_y) == 12,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM bounds_y should be 12");
|
| +static_assert(offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, bounds_width) ==
|
| + 16,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM bounds_width "
|
| + "should be 16");
|
| +static_assert(offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, bounds_height) ==
|
| + 20,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM bounds_height "
|
| + "should be 20");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, red) == 24,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM red should be 24");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, green) == 28,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM green should be 28");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, blue) == 32,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM blue should be 32");
|
| +static_assert(
|
| + offsetof(ScheduleSolidColorOverlayPlaneCHROMIUM, alpha) == 36,
|
| + "offset of ScheduleSolidColorOverlayPlaneCHROMIUM alpha should be 36");
|
| +
|
| struct SwapInterval {
|
| typedef SwapInterval ValueType;
|
| static const CommandId kCmdId = kSwapInterval;
|
|
|