OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines the GLES2 command buffer commands. | 5 // This file defines the GLES2 command buffer commands. |
6 | 6 |
7 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ | 7 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ |
8 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ | 8 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ |
9 | 9 |
10 | 10 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 "offset of UniformBlockInfo.referenced_by_fragment_shader " | 301 "offset of UniformBlockInfo.referenced_by_fragment_shader " |
302 "should be 28"); | 302 "should be 28"); |
303 | 303 |
304 static_assert(sizeof(UniformBlocksHeader) == 4, | 304 static_assert(sizeof(UniformBlocksHeader) == 4, |
305 "size of UniformBlocksHeader should be 4"); | 305 "size of UniformBlocksHeader should be 4"); |
306 static_assert(offsetof(UniformBlocksHeader, num_uniform_blocks) == 0, | 306 static_assert(offsetof(UniformBlocksHeader, num_uniform_blocks) == 0, |
307 "offset of UniformBlocksHeader.num_uniform_blocks should be 0"); | 307 "offset of UniformBlocksHeader.num_uniform_blocks should be 0"); |
308 | 308 |
309 namespace cmds { | 309 namespace cmds { |
310 | 310 |
311 #include "../common/gles2_cmd_format_autogen.h" | 311 #include "gpu/command_buffer/common/gles2_cmd_format_autogen.h" |
312 | 312 |
313 #pragma pack(pop) | 313 #pragma pack(pop) |
314 | 314 |
315 } // namespace cmd | 315 } // namespace cmd |
316 } // namespace gles2 | 316 } // namespace gles2 |
317 } // namespace gpu | 317 } // namespace gpu |
318 | 318 |
319 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ | 319 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ |
OLD | NEW |