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

Unified Diff: cc/scheduler/draw_swap_readback_result.h

Issue 199523002: cc: Throttle swaps in Scheduler instead of OutputSurface (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Actually, unittests need CC_EXPORT. Created 6 years, 8 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/output/output_surface_unittest.cc ('k') | cc/scheduler/frame_rate_controller.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
index a87a08bb7e05c008f5600fb7316958a3aa61704a..852b89720a0d006bc4c0247887ae9d15a778eb13 100644
--- a/cc/scheduler/draw_swap_readback_result.h
+++ b/cc/scheduler/draw_swap_readback_result.h
@@ -19,15 +19,17 @@ struct DrawSwapReadbackResult {
};
DrawSwapReadbackResult()
- : draw_result(INVALID_RESULT), did_swap(false), did_readback(false) {}
+ : draw_result(INVALID_RESULT),
+ did_request_swap(false),
+ did_readback(false) {}
DrawSwapReadbackResult(DrawResult draw_result,
- bool did_swap,
+ bool did_request_swap,
bool did_readback)
: draw_result(draw_result),
- did_swap(did_swap),
+ did_request_swap(did_request_swap),
did_readback(did_readback) {}
DrawResult draw_result;
- bool did_swap;
+ bool did_request_swap;
bool did_readback;
};
« no previous file with comments | « cc/output/output_surface_unittest.cc ('k') | cc/scheduler/frame_rate_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698