summaryrefslogtreecommitdiffstats
path: root/chromium/content/common/gpu/gpu_result_codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/gpu/gpu_result_codes.h')
-rw-r--r--chromium/content/common/gpu/gpu_result_codes.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/chromium/content/common/gpu/gpu_result_codes.h b/chromium/content/common/gpu/gpu_result_codes.h
new file mode 100644
index 00000000000..11f4272a2ae
--- /dev/null
+++ b/chromium/content/common/gpu/gpu_result_codes.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_GPU_GPU_RESULT_CODES_H_
+#define CONTENT_COMMON_GPU_GPU_RESULT_CODES_H_
+
+namespace content {
+
+enum CreateCommandBufferResult {
+ CREATE_COMMAND_BUFFER_SUCCEEDED,
+ CREATE_COMMAND_BUFFER_FAILED,
+ CREATE_COMMAND_BUFFER_FAILED_AND_CHANNEL_LOST,
+ CREATE_COMMAND_BUFFER_RESULT_LAST =
+ CREATE_COMMAND_BUFFER_FAILED_AND_CHANNEL_LOST
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_GPU_GPU_RESULT_CODES_H_