Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: gpu/command_buffer/common/gles2_cmd_format_autogen.h

Issue 7538008: Delete copy_texture_to_parent_texture from GPU command buffer code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698