Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h |
=================================================================== |
--- gpu/command_buffer/common/gles2_cmd_format_autogen.h (revision 95857) |
+++ gpu/command_buffer/common/gles2_cmd_format_autogen.h (working copy) |
@@ -8767,46 +8767,6 @@ |
COMPILE_ASSERT(offsetof(CommandBufferEnableCHROMIUM, result_shm_offset) == 12, |
OffsetOf_CommandBufferEnableCHROMIUM_result_shm_offset_not_12); |
-struct CopyTextureToParentTextureCHROMIUM { |
- typedef CopyTextureToParentTextureCHROMIUM ValueType; |
- static const CommandId kCmdId = kCopyTextureToParentTextureCHROMIUM; |
- static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
- |
- static uint32 ComputeSize() { |
- return static_cast<uint32>(sizeof(ValueType)); // NOLINT |
- } |
- |
- void SetHeader() { |
- header.SetCmd<ValueType>(); |
- } |
- |
- void Init(GLuint _client_child_id, GLuint _client_parent_id) { |
- SetHeader(); |
- client_child_id = _client_child_id; |
- client_parent_id = _client_parent_id; |
- } |
- |
- void* Set(void* cmd, GLuint _client_child_id, GLuint _client_parent_id) { |
- static_cast<ValueType*>(cmd)->Init(_client_child_id, _client_parent_id); |
- return NextCmdAddress<ValueType>(cmd); |
- } |
- |
- gpu::CommandHeader header; |
- uint32 client_child_id; |
- uint32 client_parent_id; |
-}; |
- |
-COMPILE_ASSERT(sizeof(CopyTextureToParentTextureCHROMIUM) == 12, |
- Sizeof_CopyTextureToParentTextureCHROMIUM_is_not_12); |
-COMPILE_ASSERT(offsetof(CopyTextureToParentTextureCHROMIUM, header) == 0, |
- OffsetOf_CopyTextureToParentTextureCHROMIUM_header_not_0); |
-COMPILE_ASSERT( |
- offsetof(CopyTextureToParentTextureCHROMIUM, client_child_id) == 4, |
- OffsetOf_CopyTextureToParentTextureCHROMIUM_client_child_id_not_4); // NOLINT |
-COMPILE_ASSERT( |
- offsetof(CopyTextureToParentTextureCHROMIUM, client_parent_id) == 8, |
- OffsetOf_CopyTextureToParentTextureCHROMIUM_client_parent_id_not_8); // NOLINT |
- |
struct ResizeCHROMIUM { |
typedef ResizeCHROMIUM ValueType; |
static const CommandId kCmdId = kResizeCHROMIUM; |