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 #ifndef GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ | 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ |
6 #define GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ | 6 #define GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const size_t kDefaultMaxProgramCacheMemoryBytes = 6 * 1024 * 1024; | 71 const size_t kDefaultMaxProgramCacheMemoryBytes = 6 * 1024 * 1024; |
72 | 72 |
73 // Namespace used to separate various command buffer types. | 73 // Namespace used to separate various command buffer types. |
74 enum CommandBufferNamespace : int8_t { | 74 enum CommandBufferNamespace : int8_t { |
75 INVALID = -1, | 75 INVALID = -1, |
76 | 76 |
77 GPU_IO, | 77 GPU_IO, |
78 IN_PROCESS, | 78 IN_PROCESS, |
79 MOJO, | 79 MOJO, |
80 MOJO_LOCAL, | 80 MOJO_LOCAL, |
81 OLD_SYNC_POINTS, | |
82 | 81 |
83 NUM_COMMAND_BUFFER_NAMESPACES | 82 NUM_COMMAND_BUFFER_NAMESPACES |
84 }; | 83 }; |
85 | 84 |
86 } // namespace gpu | 85 } // namespace gpu |
87 | 86 |
88 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ | 87 #endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ |
OLD | NEW |