OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/trees/layer_tree_settings.h" | 5 #include "cc/trees/layer_tree_settings.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 | 14 |
15 LayerTreeSettings::LayerTreeSettings() | 15 LayerTreeSettings::LayerTreeSettings() |
16 : impl_side_painting(false), | 16 : impl_side_painting(false), |
17 allow_antialiasing(true), | 17 allow_antialiasing(true), |
18 throttle_frame_production(true), | 18 throttle_frame_production(true), |
| 19 single_thread_proxy_scheduler(true), |
19 begin_frame_scheduling_enabled(false), | 20 begin_frame_scheduling_enabled(false), |
20 main_frame_before_draw_enabled(true), | 21 main_frame_before_draw_enabled(true), |
21 main_frame_before_activation_enabled(false), | 22 main_frame_before_activation_enabled(false), |
22 using_synchronous_renderer_compositor(false), | 23 using_synchronous_renderer_compositor(false), |
23 report_overscroll_only_for_scrollable_axes(false), | 24 report_overscroll_only_for_scrollable_axes(false), |
24 per_tile_painting_enabled(false), | 25 per_tile_painting_enabled(false), |
25 partial_swap_enabled(false), | 26 partial_swap_enabled(false), |
26 accelerated_animation_enabled(true), | 27 accelerated_animation_enabled(true), |
27 can_use_lcd_text(true), | 28 can_use_lcd_text(true), |
28 should_clear_root_render_pass(true), | 29 should_clear_root_render_pass(true), |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 ignore_root_layer_flings(false), | 64 ignore_root_layer_flings(false), |
64 use_rgba_4444_textures(false), | 65 use_rgba_4444_textures(false), |
65 touch_hit_testing(true), | 66 touch_hit_testing(true), |
66 texture_id_allocation_chunk_size(64), | 67 texture_id_allocation_chunk_size(64), |
67 use_occlusion_for_tile_prioritization(false) { | 68 use_occlusion_for_tile_prioritization(false) { |
68 } | 69 } |
69 | 70 |
70 LayerTreeSettings::~LayerTreeSettings() {} | 71 LayerTreeSettings::~LayerTreeSettings() {} |
71 | 72 |
72 } // namespace cc | 73 } // namespace cc |
OLD | NEW |