| 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 <GLES2/gl2.h> | 7 #include <GLES2/gl2.h> |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 main_frame_before_activation_enabled(false), | 22 main_frame_before_activation_enabled(false), |
| 23 using_synchronous_renderer_compositor(false), | 23 using_synchronous_renderer_compositor(false), |
| 24 report_overscroll_only_for_scrollable_axes(false), | 24 report_overscroll_only_for_scrollable_axes(false), |
| 25 per_tile_painting_enabled(false), | 25 per_tile_painting_enabled(false), |
| 26 accelerated_animation_enabled(true), | 26 accelerated_animation_enabled(true), |
| 27 can_use_lcd_text(true), | 27 can_use_lcd_text(true), |
| 28 use_distance_field_text(false), | 28 use_distance_field_text(false), |
| 29 gpu_rasterization_enabled(false), | 29 gpu_rasterization_enabled(false), |
| 30 gpu_rasterization_forced(false), | 30 gpu_rasterization_forced(false), |
| 31 gpu_rasterization_msaa_sample_count(0), | 31 gpu_rasterization_msaa_sample_count(0), |
| 32 gpu_rasterization_skewport_target_time_in_seconds(0.0f), | 32 gpu_rasterization_skewport_target_time_in_seconds(0.2f), |
| 33 threaded_gpu_rasterization_enabled(false), | |
| 34 create_low_res_tiling(false), | 33 create_low_res_tiling(false), |
| 35 scrollbar_animator(NO_ANIMATOR), | 34 scrollbar_animator(NO_ANIMATOR), |
| 36 scrollbar_fade_delay_ms(0), | 35 scrollbar_fade_delay_ms(0), |
| 37 scrollbar_fade_resize_delay_ms(0), | 36 scrollbar_fade_resize_delay_ms(0), |
| 38 scrollbar_fade_duration_ms(0), | 37 scrollbar_fade_duration_ms(0), |
| 39 scrollbar_show_scale_threshold(1.0f), | 38 scrollbar_show_scale_threshold(1.0f), |
| 40 solid_color_scrollbar_color(SK_ColorWHITE), | 39 solid_color_scrollbar_color(SK_ColorWHITE), |
| 41 timeout_and_draw_when_animation_checkerboards(true), | 40 timeout_and_draw_when_animation_checkerboards(true), |
| 42 maximum_number_of_failed_draws_before_draw_is_forced_(3), | 41 maximum_number_of_failed_draws_before_draw_is_forced_(3), |
| 43 layer_transforms_should_scale_layer_contents(false), | 42 layer_transforms_should_scale_layer_contents(false), |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 scheduler_settings.using_synchronous_renderer_compositor = | 90 scheduler_settings.using_synchronous_renderer_compositor = |
| 92 using_synchronous_renderer_compositor; | 91 using_synchronous_renderer_compositor; |
| 93 scheduler_settings.throttle_frame_production = throttle_frame_production; | 92 scheduler_settings.throttle_frame_production = throttle_frame_production; |
| 94 scheduler_settings.main_thread_should_always_be_low_latency = false; | 93 scheduler_settings.main_thread_should_always_be_low_latency = false; |
| 95 scheduler_settings.background_frame_interval = | 94 scheduler_settings.background_frame_interval = |
| 96 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); | 95 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |
| 97 return scheduler_settings; | 96 return scheduler_settings; |
| 98 } | 97 } |
| 99 | 98 |
| 100 } // namespace cc | 99 } // namespace cc |
| OLD | NEW |