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

Unified Diff: cc/scheduler/scheduler_settings.cc

Issue 2156933003: cc: Add SwapAck watchdog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to 8 seconds Created 4 years, 4 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/scheduler_settings.h ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_settings.cc
diff --git a/cc/scheduler/scheduler_settings.cc b/cc/scheduler/scheduler_settings.cc
index 6f174fa1ba9c6f5a34a119bcb4332c1dce0fc10a..e828510df9d90c4a30a010ad21d011abe5c48aa9 100644
--- a/cc/scheduler/scheduler_settings.cc
+++ b/cc/scheduler/scheduler_settings.cc
@@ -18,7 +18,8 @@ SchedulerSettings::SchedulerSettings()
throttle_frame_production(true),
abort_commit_before_output_surface_creation(true),
maximum_number_of_failed_draws_before_draw_is_forced(3),
- background_frame_interval(base::TimeDelta::FromSeconds(1)) {}
+ background_frame_interval(base::TimeDelta::FromSeconds(1)),
+ swap_ack_watchdog_enabled(false) {}
SchedulerSettings::SchedulerSettings(const SchedulerSettings& other) = default;
@@ -46,6 +47,7 @@ SchedulerSettings::AsValue() const {
background_frame_interval.InMicroseconds());
state->SetBoolean("abort_commit_before_output_surface_creation",
abort_commit_before_output_surface_creation);
+ state->SetBoolean("swap_ack_watchdog_enabled", swap_ack_watchdog_enabled);
return std::move(state);
}
« no previous file with comments | « cc/scheduler/scheduler_settings.h ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698