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 contains the common parts of command buffer formats. | 5 // This file contains the common parts of command buffer formats. |
6 | 6 |
7 #ifndef GPU_COMMAND_BUFFER_COMMON_CMD_BUFFER_COMMON_H_ | 7 #ifndef GPU_COMMAND_BUFFER_COMMON_CMD_BUFFER_COMMON_H_ |
8 #define GPU_COMMAND_BUFFER_COMMON_CMD_BUFFER_COMMON_H_ | 8 #define GPU_COMMAND_BUFFER_COMMON_CMD_BUFFER_COMMON_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include "../../gpu_export.h" | 12 #include "gpu/command_buffer/common/bitfield_helpers.h" |
13 #include "../common/types.h" | 13 #include "gpu/command_buffer/common/logging.h" |
14 #include "../common/bitfield_helpers.h" | 14 #include "gpu/command_buffer/common/types.h" |
15 #include "../common/logging.h" | 15 #include "gpu/gpu_export.h" |
16 | 16 |
17 namespace gpu { | 17 namespace gpu { |
18 | 18 |
19 namespace cmd { | 19 namespace cmd { |
20 enum ArgFlags { | 20 enum ArgFlags { |
21 kFixed = 0x0, | 21 kFixed = 0x0, |
22 kAtLeastN = 0x1 | 22 kAtLeastN = 0x1 |
23 }; | 23 }; |
24 } // namespace cmd | 24 } // namespace cmd |
25 | 25 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 Offsetof_GetBucketData_shared_memory_offset_not_20); | 520 Offsetof_GetBucketData_shared_memory_offset_not_20); |
521 | 521 |
522 } // namespace cmd | 522 } // namespace cmd |
523 | 523 |
524 #pragma pack(pop) | 524 #pragma pack(pop) |
525 | 525 |
526 } // namespace gpu | 526 } // namespace gpu |
527 | 527 |
528 #endif // GPU_COMMAND_BUFFER_COMMON_CMD_BUFFER_COMMON_H_ | 528 #endif // GPU_COMMAND_BUFFER_COMMON_CMD_BUFFER_COMMON_H_ |
529 | 529 |
OLD | NEW |