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 force_antialiasing(false), |
18 throttle_frame_production(true), | 19 throttle_frame_production(true), |
19 single_thread_proxy_scheduler(true), | 20 single_thread_proxy_scheduler(true), |
20 begin_frame_scheduling_enabled(false), | 21 begin_frame_scheduling_enabled(false), |
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 disable_hi_res_timer_tasks_on_battery(false), | 24 disable_hi_res_timer_tasks_on_battery(false), |
24 report_overscroll_only_for_scrollable_axes(false), | 25 report_overscroll_only_for_scrollable_axes(false), |
25 per_tile_painting_enabled(false), | 26 per_tile_painting_enabled(false), |
26 partial_swap_enabled(false), | 27 partial_swap_enabled(false), |
27 accelerated_animation_enabled(true), | 28 accelerated_animation_enabled(true), |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 ignore_root_layer_flings(false), | 67 ignore_root_layer_flings(false), |
67 use_rgba_4444_textures(false), | 68 use_rgba_4444_textures(false), |
68 texture_id_allocation_chunk_size(64), | 69 texture_id_allocation_chunk_size(64), |
69 use_occlusion_for_tile_prioritization(false), | 70 use_occlusion_for_tile_prioritization(false), |
70 record_full_layer(false) { | 71 record_full_layer(false) { |
71 } | 72 } |
72 | 73 |
73 LayerTreeSettings::~LayerTreeSettings() {} | 74 LayerTreeSettings::~LayerTreeSettings() {} |
74 | 75 |
75 } // namespace cc | 76 } // namespace cc |
OLD | NEW |