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> |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "cc/test/fake_video_frame_provider.h" | 55 #include "cc/test/fake_video_frame_provider.h" |
56 #include "cc/test/geometry_test_utils.h" | 56 #include "cc/test/geometry_test_utils.h" |
57 #include "cc/test/gpu_rasterization_enabled_settings.h" | 57 #include "cc/test/gpu_rasterization_enabled_settings.h" |
58 #include "cc/test/layer_test_common.h" | 58 #include "cc/test/layer_test_common.h" |
59 #include "cc/test/layer_tree_test.h" | 59 #include "cc/test/layer_tree_test.h" |
60 #include "cc/test/test_gpu_memory_buffer_manager.h" | 60 #include "cc/test/test_gpu_memory_buffer_manager.h" |
61 #include "cc/test/test_shared_bitmap_manager.h" | 61 #include "cc/test/test_shared_bitmap_manager.h" |
62 #include "cc/test/test_task_graph_runner.h" | 62 #include "cc/test/test_task_graph_runner.h" |
63 #include "cc/test/test_web_graphics_context_3d.h" | 63 #include "cc/test/test_web_graphics_context_3d.h" |
64 #include "cc/trees/effect_node.h" | 64 #include "cc/trees/effect_node.h" |
| 65 #include "cc/trees/layer_tree_host_common.h" |
65 #include "cc/trees/layer_tree_impl.h" | 66 #include "cc/trees/layer_tree_impl.h" |
66 #include "cc/trees/single_thread_proxy.h" | 67 #include "cc/trees/single_thread_proxy.h" |
67 #include "cc/trees/transform_node.h" | 68 #include "cc/trees/transform_node.h" |
68 #include "media/base/media.h" | 69 #include "media/base/media.h" |
69 #include "testing/gmock/include/gmock/gmock.h" | 70 #include "testing/gmock/include/gmock/gmock.h" |
70 #include "testing/gtest/include/gtest/gtest.h" | 71 #include "testing/gtest/include/gtest/gtest.h" |
71 #include "third_party/skia/include/core/SkMallocPixelRef.h" | 72 #include "third_party/skia/include/core/SkMallocPixelRef.h" |
72 #include "ui/gfx/geometry/rect_conversions.h" | 73 #include "ui/gfx/geometry/rect_conversions.h" |
73 #include "ui/gfx/geometry/size_conversions.h" | 74 #include "ui/gfx/geometry/size_conversions.h" |
74 #include "ui/gfx/geometry/vector2d_conversions.h" | 75 #include "ui/gfx/geometry/vector2d_conversions.h" |
(...skipping 10977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11052 | 11053 |
11053 // Re-initialize with a software output surface. | 11054 // Re-initialize with a software output surface. |
11054 output_surface_ = FakeOutputSurface::CreateSoftware( | 11055 output_surface_ = FakeOutputSurface::CreateSoftware( |
11055 base::WrapUnique(new SoftwareOutputDevice)); | 11056 base::WrapUnique(new SoftwareOutputDevice)); |
11056 host_impl_->InitializeRenderer(output_surface_.get()); | 11057 host_impl_->InitializeRenderer(output_surface_.get()); |
11057 EXPECT_FALSE(host_impl_->use_gpu_rasterization()); | 11058 EXPECT_FALSE(host_impl_->use_gpu_rasterization()); |
11058 } | 11059 } |
11059 | 11060 |
11060 } // namespace | 11061 } // namespace |
11061 } // namespace cc | 11062 } // namespace cc |
OLD | NEW |