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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 other.max_memory_for_prepaint_percentage && | 107 other.max_memory_for_prepaint_percentage && |
108 use_zero_copy == other.use_zero_copy && | 108 use_zero_copy == other.use_zero_copy && |
109 use_partial_raster == other.use_partial_raster && | 109 use_partial_raster == other.use_partial_raster && |
110 enable_elastic_overscroll == other.enable_elastic_overscroll && | 110 enable_elastic_overscroll == other.enable_elastic_overscroll && |
111 use_image_texture_targets == other.use_image_texture_targets && | 111 use_image_texture_targets == other.use_image_texture_targets && |
112 ignore_root_layer_flings == other.ignore_root_layer_flings && | 112 ignore_root_layer_flings == other.ignore_root_layer_flings && |
113 scheduled_raster_task_limit == other.scheduled_raster_task_limit && | 113 scheduled_raster_task_limit == other.scheduled_raster_task_limit && |
114 use_occlusion_for_tile_prioritization == | 114 use_occlusion_for_tile_prioritization == |
115 other.use_occlusion_for_tile_prioritization && | 115 other.use_occlusion_for_tile_prioritization && |
116 verify_clip_tree_calculations == other.verify_clip_tree_calculations && | 116 verify_clip_tree_calculations == other.verify_clip_tree_calculations && |
| 117 verify_transform_tree_calculations == |
| 118 other.verify_transform_tree_calculations && |
117 image_decode_tasks_enabled == other.image_decode_tasks_enabled && | 119 image_decode_tasks_enabled == other.image_decode_tasks_enabled && |
118 wait_for_beginframe_interval == other.wait_for_beginframe_interval && | 120 wait_for_beginframe_interval == other.wait_for_beginframe_interval && |
119 max_staging_buffer_usage_in_bytes == | 121 max_staging_buffer_usage_in_bytes == |
120 other.max_staging_buffer_usage_in_bytes && | 122 other.max_staging_buffer_usage_in_bytes && |
121 memory_policy_ == other.memory_policy_ && | 123 memory_policy_ == other.memory_policy_ && |
122 LayerTreeDebugState::Equal(initial_debug_state, | 124 LayerTreeDebugState::Equal(initial_debug_state, |
123 other.initial_debug_state) && | 125 other.initial_debug_state) && |
124 use_cached_picture_raster == other.use_cached_picture_raster; | 126 use_cached_picture_raster == other.use_cached_picture_raster; |
125 } | 127 } |
126 | 128 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 using_synchronous_renderer_compositor; | 261 using_synchronous_renderer_compositor; |
260 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; | 262 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; |
261 scheduler_settings.background_frame_interval = | 263 scheduler_settings.background_frame_interval = |
262 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); | 264 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); |
263 scheduler_settings.abort_commit_before_output_surface_creation = | 265 scheduler_settings.abort_commit_before_output_surface_creation = |
264 abort_commit_before_output_surface_creation; | 266 abort_commit_before_output_surface_creation; |
265 return scheduler_settings; | 267 return scheduler_settings; |
266 } | 268 } |
267 | 269 |
268 } // namespace cc | 270 } // namespace cc |
OLD | NEW |