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

Unified Diff: cc/scheduler/draw_swap_readback_result.h

Issue 246753008: cc: Unify use of DidSwapBuffers() and did_request_swap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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 | « cc/scheduler/draw_result.h ('k') | cc/scheduler/scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/draw_swap_readback_result.h
diff --git a/cc/scheduler/draw_swap_readback_result.h b/cc/scheduler/draw_swap_readback_result.h
deleted file mode 100644
index 852b89720a0d006bc4c0247887ae9d15a778eb13..0000000000000000000000000000000000000000
--- a/cc/scheduler/draw_swap_readback_result.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// 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 CC_SCHEDULER_DRAW_SWAP_READBACK_RESULT_H_
-#define CC_SCHEDULER_DRAW_SWAP_READBACK_RESULT_H_
-
-namespace cc {
-
-struct DrawSwapReadbackResult {
- enum DrawResult {
- INVALID_RESULT,
- DRAW_SUCCESS,
- DRAW_ABORTED_CHECKERBOARD_ANIMATIONS,
- DRAW_ABORTED_MISSING_HIGH_RES_CONTENT,
- DRAW_ABORTED_CANT_READBACK,
- DRAW_ABORTED_CONTEXT_LOST,
- DRAW_ABORTED_CANT_DRAW,
- };
-
- DrawSwapReadbackResult()
- : draw_result(INVALID_RESULT),
- did_request_swap(false),
- did_readback(false) {}
- DrawSwapReadbackResult(DrawResult draw_result,
- bool did_request_swap,
- bool did_readback)
- : draw_result(draw_result),
- did_request_swap(did_request_swap),
- did_readback(did_readback) {}
- DrawResult draw_result;
- bool did_request_swap;
- bool did_readback;
-};
-
-} // namespace cc
-
-#endif // CC_SCHEDULER_DRAW_SWAP_READBACK_RESULT_H_
« no previous file with comments | « cc/scheduler/draw_result.h ('k') | cc/scheduler/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698