OLD | NEW |
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 #include "base/trace_event/trace_event_argument.h" | 7 #include "base/trace_event/trace_event_argument.h" |
8 | 8 |
9 namespace cc { | 9 namespace cc { |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 state->SetBoolean("timeout_and_draw_when_animation_checkerboards", | 26 state->SetBoolean("timeout_and_draw_when_animation_checkerboards", |
27 timeout_and_draw_when_animation_checkerboards); | 27 timeout_and_draw_when_animation_checkerboards); |
28 state->SetInteger("maximum_number_of_failed_draws_before_draw_is_forced", | 28 state->SetInteger("maximum_number_of_failed_draws_before_draw_is_forced", |
29 maximum_number_of_failed_draws_before_draw_is_forced); | 29 maximum_number_of_failed_draws_before_draw_is_forced); |
30 state->SetBoolean("using_synchronous_renderer_compositor", | 30 state->SetBoolean("using_synchronous_renderer_compositor", |
31 using_synchronous_renderer_compositor); | 31 using_synchronous_renderer_compositor); |
32 state->SetInteger("background_frame_interval", | 32 state->SetInteger("background_frame_interval", |
33 background_frame_interval.InMicroseconds()); | 33 background_frame_interval.InMicroseconds()); |
34 state->SetBoolean("abort_commit_before_compositor_frame_sink_creation", | 34 state->SetBoolean("abort_commit_before_compositor_frame_sink_creation", |
35 abort_commit_before_compositor_frame_sink_creation); | 35 abort_commit_before_compositor_frame_sink_creation); |
| 36 state->SetBoolean("enable_latency_recovery", enable_latency_recovery); |
36 return std::move(state); | 37 return std::move(state); |
37 } | 38 } |
38 | 39 |
39 } // namespace cc | 40 } // namespace cc |
OLD | NEW |