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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_format_autogen.h

Issue 511001: Adds a GLMock object so we can check the code is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format.h ('k') | gpu/command_buffer/service/gl_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format.h ('k') | gpu/command_buffer/service/gl_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698