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 "cc/proto/gfx_conversions.h" | 7 #include "cc/proto/gfx_conversions.h" |
8 #include "cc/proto/layer_tree_settings.pb.h" | 8 #include "cc/proto/layer_tree_settings.pb.h" |
9 #include "third_party/khronos/GLES2/gl2.h" | 9 #include "third_party/khronos/GLES2/gl2.h" |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 max_memory_for_prepaint_percentage == | 103 max_memory_for_prepaint_percentage == |
104 other.max_memory_for_prepaint_percentage && | 104 other.max_memory_for_prepaint_percentage && |
105 use_zero_copy == other.use_zero_copy && | 105 use_zero_copy == other.use_zero_copy && |
106 use_partial_raster == other.use_partial_raster && | 106 use_partial_raster == other.use_partial_raster && |
107 enable_elastic_overscroll == other.enable_elastic_overscroll && | 107 enable_elastic_overscroll == other.enable_elastic_overscroll && |
108 ignore_root_layer_flings == other.ignore_root_layer_flings && | 108 ignore_root_layer_flings == other.ignore_root_layer_flings && |
109 scheduled_raster_task_limit == other.scheduled_raster_task_limit && | 109 scheduled_raster_task_limit == other.scheduled_raster_task_limit && |
110 use_occlusion_for_tile_prioritization == | 110 use_occlusion_for_tile_prioritization == |
111 other.use_occlusion_for_tile_prioritization && | 111 other.use_occlusion_for_tile_prioritization && |
112 verify_clip_tree_calculations == other.verify_clip_tree_calculations && | 112 verify_clip_tree_calculations == other.verify_clip_tree_calculations && |
113 verify_transform_tree_calculations == | |
114 other.verify_transform_tree_calculations && | |
115 image_decode_tasks_enabled == other.image_decode_tasks_enabled && | 113 image_decode_tasks_enabled == other.image_decode_tasks_enabled && |
116 wait_for_beginframe_interval == other.wait_for_beginframe_interval && | 114 wait_for_beginframe_interval == other.wait_for_beginframe_interval && |
117 max_staging_buffer_usage_in_bytes == | 115 max_staging_buffer_usage_in_bytes == |
118 other.max_staging_buffer_usage_in_bytes && | 116 other.max_staging_buffer_usage_in_bytes && |
119 memory_policy_ == other.memory_policy_ && | 117 memory_policy_ == other.memory_policy_ && |
120 LayerTreeDebugState::Equal(initial_debug_state, | 118 LayerTreeDebugState::Equal(initial_debug_state, |
121 other.initial_debug_state) && | 119 other.initial_debug_state) && |
122 use_cached_picture_raster == other.use_cached_picture_raster; | 120 use_cached_picture_raster == other.use_cached_picture_raster; |
123 } | 121 } |
124 | 122 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 using_synchronous_renderer_compositor; | 247 using_synchronous_renderer_compositor; |
250 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; | 248 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; |
251 scheduler_settings.background_frame_interval = | 249 scheduler_settings.background_frame_interval = |
252 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); | 250 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |
253 scheduler_settings.abort_commit_before_output_surface_creation = | 251 scheduler_settings.abort_commit_before_output_surface_creation = |
254 abort_commit_before_output_surface_creation; | 252 abort_commit_before_output_surface_creation; |
255 return scheduler_settings; | 253 return scheduler_settings; |
256 } | 254 } |
257 | 255 |
258 } // namespace cc | 256 } // namespace cc |
OLD | NEW |