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

Side by Side Diff: cc/scheduler/scheduler_settings.cc

Issue 54913003: Scheduler: Switch from high to low latency mode if possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add checks for MainThreadIsInHighLatencyMode. Created 7 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « cc/scheduler/scheduler_settings.h ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/scheduler/scheduler_settings.h" 5 #include "cc/scheduler/scheduler_settings.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 SchedulerSettings::SchedulerSettings() 9 SchedulerSettings::SchedulerSettings()
10 : deadline_scheduling_enabled(false), 10 : deadline_scheduling_enabled(false),
11 impl_side_painting(false), 11 impl_side_painting(false),
12 timeout_and_draw_when_animation_checkerboards(true), 12 timeout_and_draw_when_animation_checkerboards(true),
13 maximum_number_of_failed_draws_before_draw_is_forced_(3), 13 maximum_number_of_failed_draws_before_draw_is_forced_(3),
14 using_synchronous_renderer_compositor(false), 14 using_synchronous_renderer_compositor(false),
15 throttle_frame_production(true) {} 15 throttle_frame_production(true),
16 switch_to_low_latency_if_possible(false) {}
16 17
17 SchedulerSettings::~SchedulerSettings() {} 18 SchedulerSettings::~SchedulerSettings() {}
18 19
19 } // namespace cc 20 } // namespace cc
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_settings.h ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698