| 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 15 matching lines...) Expand all Loading... |
| 26 main_frame_before_activation_enabled(false), | 26 main_frame_before_activation_enabled(false), |
| 27 using_synchronous_renderer_compositor(false), | 27 using_synchronous_renderer_compositor(false), |
| 28 accelerated_animation_enabled(true), | 28 accelerated_animation_enabled(true), |
| 29 can_use_lcd_text(true), | 29 can_use_lcd_text(true), |
| 30 use_distance_field_text(false), | 30 use_distance_field_text(false), |
| 31 gpu_rasterization_enabled(false), | 31 gpu_rasterization_enabled(false), |
| 32 gpu_rasterization_forced(false), | 32 gpu_rasterization_forced(false), |
| 33 gpu_rasterization_msaa_sample_count(0), | 33 gpu_rasterization_msaa_sample_count(0), |
| 34 gpu_rasterization_skewport_target_time_in_seconds(0.2f), | 34 gpu_rasterization_skewport_target_time_in_seconds(0.2f), |
| 35 create_low_res_tiling(false), | 35 create_low_res_tiling(false), |
| 36 blink_synchronized_painting_enabled(false), |
| 36 scrollbar_animator(NO_ANIMATOR), | 37 scrollbar_animator(NO_ANIMATOR), |
| 37 scrollbar_fade_delay_ms(0), | 38 scrollbar_fade_delay_ms(0), |
| 38 scrollbar_fade_resize_delay_ms(0), | 39 scrollbar_fade_resize_delay_ms(0), |
| 39 scrollbar_fade_duration_ms(0), | 40 scrollbar_fade_duration_ms(0), |
| 40 solid_color_scrollbar_color(SK_ColorWHITE), | 41 solid_color_scrollbar_color(SK_ColorWHITE), |
| 41 timeout_and_draw_when_animation_checkerboards(true), | 42 timeout_and_draw_when_animation_checkerboards(true), |
| 42 layer_transforms_should_scale_layer_contents(false), | 43 layer_transforms_should_scale_layer_contents(false), |
| 43 layers_always_allowed_lcd_text(false), | 44 layers_always_allowed_lcd_text(false), |
| 44 minimum_contents_scale(0.0625f), | 45 minimum_contents_scale(0.0625f), |
| 45 low_res_contents_scale_factor(0.25f), | 46 low_res_contents_scale_factor(0.25f), |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 timeout_and_draw_when_animation_checkerboards; | 88 timeout_and_draw_when_animation_checkerboards; |
| 88 scheduler_settings.using_synchronous_renderer_compositor = | 89 scheduler_settings.using_synchronous_renderer_compositor = |
| 89 using_synchronous_renderer_compositor; | 90 using_synchronous_renderer_compositor; |
| 90 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; | 91 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; |
| 91 scheduler_settings.background_frame_interval = | 92 scheduler_settings.background_frame_interval = |
| 92 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); | 93 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |
| 93 return scheduler_settings; | 94 return scheduler_settings; |
| 94 } | 95 } |
| 95 | 96 |
| 96 } // namespace cc | 97 } // namespace cc |
| OLD | NEW |