| 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 single_thread_proxy_scheduler(true), |
| 20 begin_frame_scheduling_enabled(false), | 20 begin_frame_receiver(false), |
| 21 begin_frame_publisher(false), |
| 21 main_frame_before_draw_enabled(true), | 22 main_frame_before_draw_enabled(true), |
| 22 main_frame_before_activation_enabled(false), | 23 main_frame_before_activation_enabled(false), |
| 23 using_synchronous_renderer_compositor(false), | 24 using_synchronous_renderer_compositor(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), |
| 28 can_use_lcd_text(true), | 29 can_use_lcd_text(true), |
| 29 should_clear_root_render_pass(true), | 30 should_clear_root_render_pass(true), |
| 30 gpu_rasterization_enabled(false), | 31 gpu_rasterization_enabled(false), |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 ignore_root_layer_flings(false), | 65 ignore_root_layer_flings(false), |
| 65 use_rgba_4444_textures(false), | 66 use_rgba_4444_textures(false), |
| 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 record_full_layer(false) { | 69 record_full_layer(false) { |
| 69 } | 70 } |
| 70 | 71 |
| 71 LayerTreeSettings::~LayerTreeSettings() {} | 72 LayerTreeSettings::~LayerTreeSettings() {} |
| 72 | 73 |
| 73 } // namespace cc | 74 } // namespace cc |
| OLD | NEW |