Index: gpu/command_buffer/common/constants.h |
diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h |
index d06836c0d71ea9e5a5c871db8ef79f75ea424eca..e14c06db541c60a7daba17dcff8d2a75c6484237 100644 |
--- a/gpu/command_buffer/common/constants.h |
+++ b/gpu/command_buffer/common/constants.h |
@@ -66,6 +66,18 @@ const int32_t kCommandBufferSharedMemoryId = 4; |
// The size to set for the program cache. |
const size_t kDefaultMaxProgramCacheMemoryBytes = 6 * 1024 * 1024; |
+// Namespace used to separate various command buffer types. |
+enum CommandBufferNamespace { |
+ INVALID = -1, |
+ |
+ GPU_IO, |
+ IN_PROCESS, |
+ MOJO, |
+ |
+ NUM_COMMAND_BUFFER_NAMESPACES |
+}; |
+ |
+ |
} // namespace gpu |
#endif // GPU_COMMAND_BUFFER_COMMON_CONSTANTS_H_ |