Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: content/common/gpu/gpu_result_codes.h

Issue 383303004: Added more detailed result codes for CreateViewCommandBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deleted commented-out code from test. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_result_codes.h
diff --git a/content/common/gpu/gpu_result_codes.h b/content/common/gpu/gpu_result_codes.h
new file mode 100644
index 0000000000000000000000000000000000000000..11f4272a2aedee10a59e290e615985deab1c9f2e
--- /dev/null
+++ b/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_
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698