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

Unified Diff: ui/gfx/swap_result.h

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set SWAP_RESULT_LAST properly Created 5 years, 7 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 | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/swap_result.h
diff --git a/ui/gfx/swap_result.h b/ui/gfx/swap_result.h
new file mode 100644
index 0000000000000000000000000000000000000000..32a6c5ac35c947e3ec3025467b8277d0e1e16ef7
--- /dev/null
+++ b/ui/gfx/swap_result.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
nasko 2015/05/26 18:20:16 Update the year and drop the "(c)".
achaulk 2015/05/26 21:09:36 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GFX_SWAP_RESULT_H_
+#define UI_GFX_SWAP_RESULT_H_
+
+namespace gfx {
+
+enum class SwapResult {
nasko 2015/05/26 18:20:16 Is there another gfx header file for this to be in
achaulk 2015/05/26 21:09:36 I'm not sure there's an appropriate one really. Gp
nasko 2015/05/26 21:18:47 If it is unrelated, that's fine. I just want to av
achaulk 2015/05/27 17:57:09 Added
+ SWAP_ACK,
+ SWAP_FAILED,
+ SWAP_NAK_RECREATE_BUFFERS,
+ SWAP_RESULT_LAST = SWAP_NAK_RECREATE_BUFFERS,
+};
+
+} // namespace gfx
+
+#endif // UI_GFX_SWAP_RESULT_H_
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698