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 "third_party/khronos/GLES2/gl2.h" | 7 #include "third_party/khronos/GLES2/gl2.h" |
8 | 8 |
9 namespace cc { | 9 namespace cc { |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 bool LayerTreeSettings::operator==(const LayerTreeSettings& other) const { | 25 bool LayerTreeSettings::operator==(const LayerTreeSettings& other) const { |
26 return renderer_settings == other.renderer_settings && | 26 return renderer_settings == other.renderer_settings && |
27 single_thread_proxy_scheduler == other.single_thread_proxy_scheduler && | 27 single_thread_proxy_scheduler == other.single_thread_proxy_scheduler && |
28 main_frame_before_activation_enabled == | 28 main_frame_before_activation_enabled == |
29 other.main_frame_before_activation_enabled && | 29 other.main_frame_before_activation_enabled && |
30 using_synchronous_renderer_compositor == | 30 using_synchronous_renderer_compositor == |
31 other.using_synchronous_renderer_compositor && | 31 other.using_synchronous_renderer_compositor && |
32 enable_latency_recovery == other.enable_latency_recovery && | 32 enable_latency_recovery == other.enable_latency_recovery && |
33 can_use_lcd_text == other.can_use_lcd_text && | 33 can_use_lcd_text == other.can_use_lcd_text && |
34 use_distance_field_text == other.use_distance_field_text && | 34 use_distance_field_text == other.use_distance_field_text && |
35 gpu_rasterization_enabled == other.gpu_rasterization_enabled && | |
36 gpu_rasterization_forced == other.gpu_rasterization_forced && | 35 gpu_rasterization_forced == other.gpu_rasterization_forced && |
37 async_worker_context_enabled == other.async_worker_context_enabled && | 36 async_worker_context_enabled == other.async_worker_context_enabled && |
38 gpu_rasterization_msaa_sample_count == | 37 gpu_rasterization_msaa_sample_count == |
39 other.gpu_rasterization_msaa_sample_count && | 38 other.gpu_rasterization_msaa_sample_count && |
40 create_low_res_tiling == other.create_low_res_tiling && | 39 create_low_res_tiling == other.create_low_res_tiling && |
41 scrollbar_animator == other.scrollbar_animator && | 40 scrollbar_animator == other.scrollbar_animator && |
42 scrollbar_fade_delay == other.scrollbar_fade_delay && | 41 scrollbar_fade_delay == other.scrollbar_fade_delay && |
43 scrollbar_fade_resize_delay == other.scrollbar_fade_resize_delay && | 42 scrollbar_fade_resize_delay == other.scrollbar_fade_resize_delay && |
44 scrollbar_fade_duration == other.scrollbar_fade_duration && | 43 scrollbar_fade_duration == other.scrollbar_fade_duration && |
45 solid_color_scrollbar_color == other.solid_color_scrollbar_color && | 44 solid_color_scrollbar_color == other.solid_color_scrollbar_color && |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 timeout_and_draw_when_animation_checkerboards; | 89 timeout_and_draw_when_animation_checkerboards; |
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.enable_latency_recovery = enable_latency_recovery; | 92 scheduler_settings.enable_latency_recovery = enable_latency_recovery; |
94 scheduler_settings.background_frame_interval = | 93 scheduler_settings.background_frame_interval = |
95 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); | 94 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |
96 return scheduler_settings; | 95 return scheduler_settings; |
97 } | 96 } |
98 | 97 |
99 } // namespace cc | 98 } // namespace cc |
OLD | NEW |