| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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/layers/layer.h" | 5 #include "cc/layers/layer.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| 11 | 11 |
| 12 #include "base/atomic_sequence_num.h" | 12 #include "base/atomic_sequence_num.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "base/trace_event/trace_event.h" | 17 #include "base/trace_event/trace_event.h" |
| 18 #include "cc/animation/animation.h" | 18 #include "cc/animation/animation.h" |
| 19 #include "cc/animation/animation_events.h" | |
| 20 #include "cc/animation/animation_registrar.h" | 19 #include "cc/animation/animation_registrar.h" |
| 21 #include "cc/animation/keyframed_animation_curve.h" | 20 #include "cc/animation/keyframed_animation_curve.h" |
| 22 #include "cc/animation/layer_animation_controller.h" | 21 #include "cc/animation/layer_animation_controller.h" |
| 23 #include "cc/animation/mutable_properties.h" | 22 #include "cc/animation/mutable_properties.h" |
| 24 #include "cc/base/simple_enclosed_region.h" | 23 #include "cc/base/simple_enclosed_region.h" |
| 25 #include "cc/debug/frame_viewer_instrumentation.h" | 24 #include "cc/debug/frame_viewer_instrumentation.h" |
| 26 #include "cc/layers/layer_client.h" | 25 #include "cc/layers/layer_client.h" |
| 27 #include "cc/layers/layer_impl.h" | 26 #include "cc/layers/layer_impl.h" |
| 28 #include "cc/layers/layer_proto_converter.h" | 27 #include "cc/layers/layer_proto_converter.h" |
| 29 #include "cc/layers/layer_settings.h" | 28 #include "cc/layers/layer_settings.h" |
| (...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2017 this, layer_tree_host_->property_trees()->transform_tree); | 2016 this, layer_tree_host_->property_trees()->transform_tree); |
| 2018 } | 2017 } |
| 2019 | 2018 |
| 2020 gfx::Transform Layer::screen_space_transform() const { | 2019 gfx::Transform Layer::screen_space_transform() const { |
| 2021 DCHECK_NE(transform_tree_index_, -1); | 2020 DCHECK_NE(transform_tree_index_, -1); |
| 2022 return ScreenSpaceTransformFromPropertyTrees( | 2021 return ScreenSpaceTransformFromPropertyTrees( |
| 2023 this, layer_tree_host_->property_trees()->transform_tree); | 2022 this, layer_tree_host_->property_trees()->transform_tree); |
| 2024 } | 2023 } |
| 2025 | 2024 |
| 2026 } // namespace cc | 2025 } // namespace cc |
| OLD | NEW |