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

Unified Diff: cc/scheduler/scheduler_settings.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 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.cc ('k') | cc/scheduler/scheduler_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_settings.h
diff --git a/cc/scheduler/scheduler_settings.h b/cc/scheduler/scheduler_settings.h
index bc047179444b5e0f283eee54cf2005d242c0457b..70388b454c61ea05ca860fb79faf205ea3a15353 100644
--- a/cc/scheduler/scheduler_settings.h
+++ b/cc/scheduler/scheduler_settings.h
@@ -26,17 +26,17 @@ class CC_EXPORT SchedulerSettings {
SchedulerSettings(const SchedulerSettings& other);
~SchedulerSettings();
- bool use_external_begin_frame_source;
- bool main_frame_while_swap_throttled_enabled;
- bool main_frame_before_activation_enabled;
- bool commit_to_active_tree;
- bool timeout_and_draw_when_animation_checkerboards;
- bool using_synchronous_renderer_compositor;
- bool throttle_frame_production;
- bool abort_commit_before_output_surface_creation;
-
- int maximum_number_of_failed_draws_before_draw_is_forced;
- base::TimeDelta background_frame_interval;
+ bool use_external_begin_frame_source = false;
+ bool main_frame_while_swap_throttled_enabled = false;
+ bool main_frame_before_activation_enabled = false;
+ bool commit_to_active_tree = false;
+ bool timeout_and_draw_when_animation_checkerboards = true;
+ bool using_synchronous_renderer_compositor = false;
+ bool throttle_frame_production = true;
+ bool abort_commit_before_compositor_frame_sink_creation = true;
+
+ int maximum_number_of_failed_draws_before_draw_is_forced = 3;
+ base::TimeDelta background_frame_interval = base::TimeDelta::FromSeconds(1);
std::unique_ptr<base::trace_event::ConvertableToTraceFormat> AsValue() const;
};
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698