OLD | NEW |
1 // This file is auto-generated. DO NOT EDIT! | 1 // This file is auto-generated. DO NOT EDIT! |
2 | 2 |
3 #pragma pack(push, 1) | |
4 | |
5 struct ActiveTexture { | 3 struct ActiveTexture { |
6 typedef ActiveTexture ValueType; | 4 typedef ActiveTexture ValueType; |
7 static const CommandId kCmdId = kActiveTexture; | 5 static const CommandId kCmdId = kActiveTexture; |
8 static const cmd::ArgFlags kArgFlags = cmd::kFixed; | 6 static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
9 | 7 |
10 static uint32 ComputeSize() { | 8 static uint32 ComputeSize() { |
11 return static_cast<uint32>(sizeof(ValueType)); // NOLINT | 9 return static_cast<uint32>(sizeof(ValueType)); // NOLINT |
12 } | 10 } |
13 | 11 |
14 void SetHeader() { | 12 void SetHeader() { |
(...skipping 8060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8075 } | 8073 } |
8076 | 8074 |
8077 gpu::CommandHeader header; | 8075 gpu::CommandHeader header; |
8078 }; | 8076 }; |
8079 | 8077 |
8080 COMPILE_ASSERT(sizeof(SwapBuffers) == 4, | 8078 COMPILE_ASSERT(sizeof(SwapBuffers) == 4, |
8081 Sizeof_SwapBuffers_is_not_4); | 8079 Sizeof_SwapBuffers_is_not_4); |
8082 COMPILE_ASSERT(offsetof(SwapBuffers, header) == 0, | 8080 COMPILE_ASSERT(offsetof(SwapBuffers, header) == 0, |
8083 OffsetOf_SwapBuffers_header_not_0); | 8081 OffsetOf_SwapBuffers_header_not_0); |
8084 | 8082 |
8085 #pragma pack(pop) | |
8086 | 8083 |
OLD | NEW |