| 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 force_antialiasing(false), |
| 19 throttle_frame_production(true), | 19 throttle_frame_production(true), |
| 20 single_thread_proxy_scheduler(true), | 20 single_thread_proxy_scheduler(true), |
| 21 begin_frame_scheduling_enabled(false), | 21 begin_frame_receiver(false), |
| 22 begin_frame_publisher(false), |
| 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 disable_hi_res_timer_tasks_on_battery(false), | 25 disable_hi_res_timer_tasks_on_battery(false), |
| 25 report_overscroll_only_for_scrollable_axes(false), | 26 report_overscroll_only_for_scrollable_axes(false), |
| 26 per_tile_painting_enabled(false), | 27 per_tile_painting_enabled(false), |
| 27 partial_swap_enabled(false), | 28 partial_swap_enabled(false), |
| 28 accelerated_animation_enabled(true), | 29 accelerated_animation_enabled(true), |
| 29 can_use_lcd_text(true), | 30 can_use_lcd_text(true), |
| 30 use_distance_field_text(false), | 31 use_distance_field_text(false), |
| 31 should_clear_root_render_pass(true), | 32 should_clear_root_render_pass(true), |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 use_rgba_4444_textures(false), | 69 use_rgba_4444_textures(false), |
| 69 texture_id_allocation_chunk_size(64), | 70 texture_id_allocation_chunk_size(64), |
| 70 scheduled_raster_task_limit(32), | 71 scheduled_raster_task_limit(32), |
| 71 use_occlusion_for_tile_prioritization(false), | 72 use_occlusion_for_tile_prioritization(false), |
| 72 record_full_layer(false) { | 73 record_full_layer(false) { |
| 73 } | 74 } |
| 74 | 75 |
| 75 LayerTreeSettings::~LayerTreeSettings() {} | 76 LayerTreeSettings::~LayerTreeSettings() {} |
| 76 | 77 |
| 77 } // namespace cc | 78 } // namespace cc |
| OLD | NEW |