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_host_impl.h" | 5 #include "cc/trees/layer_tree_host_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <cmath> | 10 #include <cmath> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
18 #include "cc/animation/animation_events.h" | 18 #include "cc/animation/animation_events.h" |
19 #include "cc/animation/animation_host.h" | 19 #include "cc/animation/animation_host.h" |
20 #include "cc/animation/animation_id_provider.h" | 20 #include "cc/animation/animation_id_provider.h" |
21 #include "cc/animation/transform_operations.h" | 21 #include "cc/animation/transform_operations.h" |
22 #include "cc/base/math_util.h" | 22 #include "cc/base/math_util.h" |
23 #include "cc/input/main_thread_scrolling_reason.h" | 23 #include "cc/input/main_thread_scrolling_reason.h" |
24 #include "cc/input/page_scale_animation.h" | 24 #include "cc/input/page_scale_animation.h" |
25 #include "cc/input/scrollbar_animation_controller_thinning.h" | 25 #include "cc/input/scrollbar_animation_controller_thinning.h" |
26 #include "cc/input/top_controls_manager.h" | 26 #include "cc/input/top_controls_manager.h" |
27 #include "cc/layers/append_quads_data.h" | 27 #include "cc/layers/append_quads_data.h" |
(...skipping 10718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10746 | 10746 |
10747 // Re-initialize with a software output surface. | 10747 // Re-initialize with a software output surface. |
10748 output_surface_ = FakeOutputSurface::CreateSoftware( | 10748 output_surface_ = FakeOutputSurface::CreateSoftware( |
10749 base::WrapUnique(new SoftwareOutputDevice)); | 10749 base::WrapUnique(new SoftwareOutputDevice)); |
10750 host_impl_->InitializeRenderer(output_surface_.get()); | 10750 host_impl_->InitializeRenderer(output_surface_.get()); |
10751 EXPECT_FALSE(host_impl_->use_gpu_rasterization()); | 10751 EXPECT_FALSE(host_impl_->use_gpu_rasterization()); |
10752 } | 10752 } |
10753 | 10753 |
10754 } // namespace | 10754 } // namespace |
10755 } // namespace cc | 10755 } // namespace cc |
OLD | NEW |