| 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 1bf837a5030c186575c058d7c03fb701b0f188d6..ad6106caa0390b58b900b8b97fca1c2e21a214d3 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
| @@ -13814,6 +13814,138 @@ static_assert(sizeof(FlushDriverCachesCHROMIUM) == 4,
|
| static_assert(offsetof(FlushDriverCachesCHROMIUM, header) == 0,
|
| "offset of FlushDriverCachesCHROMIUM header should be 0");
|
|
|
| +struct ScheduleDCLayerSharedStateCHROMIUM {
|
| + typedef ScheduleDCLayerSharedStateCHROMIUM ValueType;
|
| + static const CommandId kCmdId = kScheduleDCLayerSharedStateCHROMIUM;
|
| + static const cmd::ArgFlags kArgFlags = cmd::kFixed;
|
| + static const uint8_t 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(GLfloat _opacity,
|
| + GLboolean _is_clipped,
|
| + GLint _z_order,
|
| + GLuint _shm_id,
|
| + GLuint _shm_offset) {
|
| + SetHeader();
|
| + opacity = _opacity;
|
| + is_clipped = _is_clipped;
|
| + z_order = _z_order;
|
| + shm_id = _shm_id;
|
| + shm_offset = _shm_offset;
|
| + }
|
| +
|
| + void* Set(void* cmd,
|
| + GLfloat _opacity,
|
| + GLboolean _is_clipped,
|
| + GLint _z_order,
|
| + GLuint _shm_id,
|
| + GLuint _shm_offset) {
|
| + static_cast<ValueType*>(cmd)->Init(_opacity, _is_clipped, _z_order, _shm_id,
|
| + _shm_offset);
|
| + return NextCmdAddress<ValueType>(cmd);
|
| + }
|
| +
|
| + gpu::CommandHeader header;
|
| + float opacity;
|
| + uint32_t is_clipped;
|
| + int32_t z_order;
|
| + uint32_t shm_id;
|
| + uint32_t shm_offset;
|
| +};
|
| +
|
| +static_assert(sizeof(ScheduleDCLayerSharedStateCHROMIUM) == 24,
|
| + "size of ScheduleDCLayerSharedStateCHROMIUM should be 24");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerSharedStateCHROMIUM, header) == 0,
|
| + "offset of ScheduleDCLayerSharedStateCHROMIUM header should be 0");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerSharedStateCHROMIUM, opacity) == 4,
|
| + "offset of ScheduleDCLayerSharedStateCHROMIUM opacity should be 4");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerSharedStateCHROMIUM, is_clipped) == 8,
|
| + "offset of ScheduleDCLayerSharedStateCHROMIUM is_clipped should be 8");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerSharedStateCHROMIUM, z_order) == 12,
|
| + "offset of ScheduleDCLayerSharedStateCHROMIUM z_order should be 12");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerSharedStateCHROMIUM, shm_id) == 16,
|
| + "offset of ScheduleDCLayerSharedStateCHROMIUM shm_id should be 16");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerSharedStateCHROMIUM, shm_offset) == 20,
|
| + "offset of ScheduleDCLayerSharedStateCHROMIUM shm_offset should be 20");
|
| +
|
| +struct ScheduleDCLayerCHROMIUM {
|
| + typedef ScheduleDCLayerCHROMIUM ValueType;
|
| + static const CommandId kCmdId = kScheduleDCLayerCHROMIUM;
|
| + static const cmd::ArgFlags kArgFlags = cmd::kFixed;
|
| + static const uint8_t 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(GLuint _contents_texture_id,
|
| + GLuint _background_color,
|
| + GLuint _edge_aa_mask,
|
| + GLuint _filter,
|
| + GLuint _shm_id,
|
| + GLuint _shm_offset) {
|
| + SetHeader();
|
| + contents_texture_id = _contents_texture_id;
|
| + background_color = _background_color;
|
| + edge_aa_mask = _edge_aa_mask;
|
| + filter = _filter;
|
| + shm_id = _shm_id;
|
| + shm_offset = _shm_offset;
|
| + }
|
| +
|
| + void* Set(void* cmd,
|
| + GLuint _contents_texture_id,
|
| + GLuint _background_color,
|
| + GLuint _edge_aa_mask,
|
| + GLuint _filter,
|
| + GLuint _shm_id,
|
| + GLuint _shm_offset) {
|
| + static_cast<ValueType*>(cmd)->Init(_contents_texture_id, _background_color,
|
| + _edge_aa_mask, _filter, _shm_id,
|
| + _shm_offset);
|
| + return NextCmdAddress<ValueType>(cmd);
|
| + }
|
| +
|
| + gpu::CommandHeader header;
|
| + uint32_t contents_texture_id;
|
| + uint32_t background_color;
|
| + uint32_t edge_aa_mask;
|
| + uint32_t filter;
|
| + uint32_t shm_id;
|
| + uint32_t shm_offset;
|
| +};
|
| +
|
| +static_assert(sizeof(ScheduleDCLayerCHROMIUM) == 28,
|
| + "size of ScheduleDCLayerCHROMIUM should be 28");
|
| +static_assert(offsetof(ScheduleDCLayerCHROMIUM, header) == 0,
|
| + "offset of ScheduleDCLayerCHROMIUM header should be 0");
|
| +static_assert(
|
| + offsetof(ScheduleDCLayerCHROMIUM, contents_texture_id) == 4,
|
| + "offset of ScheduleDCLayerCHROMIUM contents_texture_id should be 4");
|
| +static_assert(offsetof(ScheduleDCLayerCHROMIUM, background_color) == 8,
|
| + "offset of ScheduleDCLayerCHROMIUM background_color should be 8");
|
| +static_assert(offsetof(ScheduleDCLayerCHROMIUM, edge_aa_mask) == 12,
|
| + "offset of ScheduleDCLayerCHROMIUM edge_aa_mask should be 12");
|
| +static_assert(offsetof(ScheduleDCLayerCHROMIUM, filter) == 16,
|
| + "offset of ScheduleDCLayerCHROMIUM filter should be 16");
|
| +static_assert(offsetof(ScheduleDCLayerCHROMIUM, shm_id) == 20,
|
| + "offset of ScheduleDCLayerCHROMIUM shm_id should be 20");
|
| +static_assert(offsetof(ScheduleDCLayerCHROMIUM, shm_offset) == 24,
|
| + "offset of ScheduleDCLayerCHROMIUM shm_offset should be 24");
|
| +
|
| struct MatrixLoadfCHROMIUMImmediate {
|
| typedef MatrixLoadfCHROMIUMImmediate ValueType;
|
| static const CommandId kCmdId = kMatrixLoadfCHROMIUMImmediate;
|
|
|