| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ancestors_are_invertible(true), | 130 ancestors_are_invertible(true), |
| 131 is_animated(false), | 131 is_animated(false), |
| 132 to_screen_is_animated(false), | 132 to_screen_is_animated(false), |
| 133 has_only_translation_animations(true), | 133 has_only_translation_animations(true), |
| 134 to_screen_has_scale_animation(false), | 134 to_screen_has_scale_animation(false), |
| 135 flattens_inherited_transform(false), | 135 flattens_inherited_transform(false), |
| 136 node_and_ancestors_are_flat(true), | 136 node_and_ancestors_are_flat(true), |
| 137 node_and_ancestors_have_only_integer_translation(true), | 137 node_and_ancestors_have_only_integer_translation(true), |
| 138 scrolls(false), | 138 scrolls(false), |
| 139 needs_sublayer_scale(false), | 139 needs_sublayer_scale(false), |
| 140 is_3d_sorted(false), |
| 140 affected_by_inner_viewport_bounds_delta_x(false), | 141 affected_by_inner_viewport_bounds_delta_x(false), |
| 141 affected_by_inner_viewport_bounds_delta_y(false), | 142 affected_by_inner_viewport_bounds_delta_y(false), |
| 142 affected_by_outer_viewport_bounds_delta_x(false), | 143 affected_by_outer_viewport_bounds_delta_x(false), |
| 143 affected_by_outer_viewport_bounds_delta_y(false), | 144 affected_by_outer_viewport_bounds_delta_y(false), |
| 144 in_subtree_of_page_scale_layer(false), | 145 in_subtree_of_page_scale_layer(false), |
| 145 post_local_scale_factor(1.0f), | 146 post_local_scale_factor(1.0f), |
| 146 local_maximum_animation_target_scale(0.f), | 147 local_maximum_animation_target_scale(0.f), |
| 147 local_starting_animation_scale(0.f), | 148 local_starting_animation_scale(0.f), |
| 148 combined_maximum_animation_target_scale(0.f), | 149 combined_maximum_animation_target_scale(0.f), |
| 149 combined_starting_animation_scale(0.f) {} | 150 combined_starting_animation_scale(0.f) {} |
| (...skipping 16 matching lines...) Expand all Loading... |
| 166 to_screen_is_animated == other.to_screen_is_animated && | 167 to_screen_is_animated == other.to_screen_is_animated && |
| 167 has_only_translation_animations == | 168 has_only_translation_animations == |
| 168 other.has_only_translation_animations && | 169 other.has_only_translation_animations && |
| 169 to_screen_has_scale_animation == other.to_screen_has_scale_animation && | 170 to_screen_has_scale_animation == other.to_screen_has_scale_animation && |
| 170 flattens_inherited_transform == other.flattens_inherited_transform && | 171 flattens_inherited_transform == other.flattens_inherited_transform && |
| 171 node_and_ancestors_are_flat == other.node_and_ancestors_are_flat && | 172 node_and_ancestors_are_flat == other.node_and_ancestors_are_flat && |
| 172 node_and_ancestors_have_only_integer_translation == | 173 node_and_ancestors_have_only_integer_translation == |
| 173 other.node_and_ancestors_have_only_integer_translation && | 174 other.node_and_ancestors_have_only_integer_translation && |
| 174 scrolls == other.scrolls && | 175 scrolls == other.scrolls && |
| 175 needs_sublayer_scale == other.needs_sublayer_scale && | 176 needs_sublayer_scale == other.needs_sublayer_scale && |
| 177 is_3d_sorted == other.is_3d_sorted && |
| 176 affected_by_inner_viewport_bounds_delta_x == | 178 affected_by_inner_viewport_bounds_delta_x == |
| 177 other.affected_by_inner_viewport_bounds_delta_x && | 179 other.affected_by_inner_viewport_bounds_delta_x && |
| 178 affected_by_inner_viewport_bounds_delta_y == | 180 affected_by_inner_viewport_bounds_delta_y == |
| 179 other.affected_by_inner_viewport_bounds_delta_y && | 181 other.affected_by_inner_viewport_bounds_delta_y && |
| 180 affected_by_outer_viewport_bounds_delta_x == | 182 affected_by_outer_viewport_bounds_delta_x == |
| 181 other.affected_by_outer_viewport_bounds_delta_x && | 183 other.affected_by_outer_viewport_bounds_delta_x && |
| 182 affected_by_outer_viewport_bounds_delta_y == | 184 affected_by_outer_viewport_bounds_delta_y == |
| 183 other.affected_by_outer_viewport_bounds_delta_y && | 185 other.affected_by_outer_viewport_bounds_delta_y && |
| 184 in_subtree_of_page_scale_layer == | 186 in_subtree_of_page_scale_layer == |
| 185 other.in_subtree_of_page_scale_layer && | 187 other.in_subtree_of_page_scale_layer && |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 data->set_has_only_translation_animations(has_only_translation_animations); | 249 data->set_has_only_translation_animations(has_only_translation_animations); |
| 248 data->set_to_screen_has_scale_animation(to_screen_has_scale_animation); | 250 data->set_to_screen_has_scale_animation(to_screen_has_scale_animation); |
| 249 | 251 |
| 250 data->set_flattens_inherited_transform(flattens_inherited_transform); | 252 data->set_flattens_inherited_transform(flattens_inherited_transform); |
| 251 data->set_node_and_ancestors_are_flat(node_and_ancestors_are_flat); | 253 data->set_node_and_ancestors_are_flat(node_and_ancestors_are_flat); |
| 252 | 254 |
| 253 data->set_node_and_ancestors_have_only_integer_translation( | 255 data->set_node_and_ancestors_have_only_integer_translation( |
| 254 node_and_ancestors_have_only_integer_translation); | 256 node_and_ancestors_have_only_integer_translation); |
| 255 data->set_scrolls(scrolls); | 257 data->set_scrolls(scrolls); |
| 256 data->set_needs_sublayer_scale(needs_sublayer_scale); | 258 data->set_needs_sublayer_scale(needs_sublayer_scale); |
| 259 data->set_is_3d_sorted(is_3d_sorted); |
| 257 | 260 |
| 258 data->set_affected_by_inner_viewport_bounds_delta_x( | 261 data->set_affected_by_inner_viewport_bounds_delta_x( |
| 259 affected_by_inner_viewport_bounds_delta_x); | 262 affected_by_inner_viewport_bounds_delta_x); |
| 260 data->set_affected_by_inner_viewport_bounds_delta_y( | 263 data->set_affected_by_inner_viewport_bounds_delta_y( |
| 261 affected_by_inner_viewport_bounds_delta_y); | 264 affected_by_inner_viewport_bounds_delta_y); |
| 262 data->set_affected_by_outer_viewport_bounds_delta_x( | 265 data->set_affected_by_outer_viewport_bounds_delta_x( |
| 263 affected_by_outer_viewport_bounds_delta_x); | 266 affected_by_outer_viewport_bounds_delta_x); |
| 264 data->set_affected_by_outer_viewport_bounds_delta_y( | 267 data->set_affected_by_outer_viewport_bounds_delta_y( |
| 265 affected_by_outer_viewport_bounds_delta_y); | 268 affected_by_outer_viewport_bounds_delta_y); |
| 266 | 269 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 has_only_translation_animations = data.has_only_translation_animations(); | 314 has_only_translation_animations = data.has_only_translation_animations(); |
| 312 to_screen_has_scale_animation = data.to_screen_has_scale_animation(); | 315 to_screen_has_scale_animation = data.to_screen_has_scale_animation(); |
| 313 | 316 |
| 314 flattens_inherited_transform = data.flattens_inherited_transform(); | 317 flattens_inherited_transform = data.flattens_inherited_transform(); |
| 315 node_and_ancestors_are_flat = data.node_and_ancestors_are_flat(); | 318 node_and_ancestors_are_flat = data.node_and_ancestors_are_flat(); |
| 316 | 319 |
| 317 node_and_ancestors_have_only_integer_translation = | 320 node_and_ancestors_have_only_integer_translation = |
| 318 data.node_and_ancestors_have_only_integer_translation(); | 321 data.node_and_ancestors_have_only_integer_translation(); |
| 319 scrolls = data.scrolls(); | 322 scrolls = data.scrolls(); |
| 320 needs_sublayer_scale = data.needs_sublayer_scale(); | 323 needs_sublayer_scale = data.needs_sublayer_scale(); |
| 324 is_3d_sorted = data.is_3d_sorted(); |
| 321 | 325 |
| 322 affected_by_inner_viewport_bounds_delta_x = | 326 affected_by_inner_viewport_bounds_delta_x = |
| 323 data.affected_by_inner_viewport_bounds_delta_x(); | 327 data.affected_by_inner_viewport_bounds_delta_x(); |
| 324 affected_by_inner_viewport_bounds_delta_y = | 328 affected_by_inner_viewport_bounds_delta_y = |
| 325 data.affected_by_inner_viewport_bounds_delta_y(); | 329 data.affected_by_inner_viewport_bounds_delta_y(); |
| 326 affected_by_outer_viewport_bounds_delta_x = | 330 affected_by_outer_viewport_bounds_delta_x = |
| 327 data.affected_by_outer_viewport_bounds_delta_x(); | 331 data.affected_by_outer_viewport_bounds_delta_x(); |
| 328 affected_by_outer_viewport_bounds_delta_y = | 332 affected_by_outer_viewport_bounds_delta_y = |
| 329 data.affected_by_outer_viewport_bounds_delta_y(); | 333 data.affected_by_outer_viewport_bounds_delta_y(); |
| 330 | 334 |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 effect_tree.FromProtobuf(proto.effect_tree()); | 1209 effect_tree.FromProtobuf(proto.effect_tree()); |
| 1206 clip_tree.FromProtobuf(proto.clip_tree()); | 1210 clip_tree.FromProtobuf(proto.clip_tree()); |
| 1207 scroll_tree.FromProtobuf(proto.scroll_tree()); | 1211 scroll_tree.FromProtobuf(proto.scroll_tree()); |
| 1208 | 1212 |
| 1209 needs_rebuild = proto.needs_rebuild(); | 1213 needs_rebuild = proto.needs_rebuild(); |
| 1210 non_root_surfaces_enabled = proto.non_root_surfaces_enabled(); | 1214 non_root_surfaces_enabled = proto.non_root_surfaces_enabled(); |
| 1211 sequence_number = proto.sequence_number(); | 1215 sequence_number = proto.sequence_number(); |
| 1212 } | 1216 } |
| 1213 | 1217 |
| 1214 } // namespace cc | 1218 } // namespace cc |
| OLD | NEW |