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

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

Issue 23503003: cc: Add readback and forced draw states to the Scheduler (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedReorg3
Patch Set: Add a readback during forced draw test Created 7 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 unified diff | Download patch
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 : impl_side_painting(false), 10 : impl_side_painting(false),
11 timeout_and_draw_when_animation_checkerboards(true), 11 timeout_and_draw_when_animation_checkerboards(true),
12 maximum_number_of_failed_draws_before_draw_is_forced_(3),
enne (OOO) 2013/09/04 23:24:33 I like that this is bumped up to be a setting.
12 using_synchronous_renderer_compositor(false), 13 using_synchronous_renderer_compositor(false),
13 throttle_frame_production(true) {} 14 throttle_frame_production(true) {}
14 15
15 SchedulerSettings::~SchedulerSettings() {} 16 SchedulerSettings::~SchedulerSettings() {}
16 17
17 } // namespace cc 18 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698