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 <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "cc/layers/solid_color_layer.h" | 13 #include "cc/layers/solid_color_layer.h" |
14 #include "cc/layers/surface_layer.h" | 14 #include "cc/layers/surface_layer.h" |
15 #include "cc/test/fake_impl_task_runner_provider.h" | 15 #include "cc/test/fake_impl_task_runner_provider.h" |
16 #include "cc/test/fake_layer_tree_host.h" | 16 #include "cc/test/fake_layer_tree_host.h" |
17 #include "cc/test/fake_layer_tree_host_client.h" | 17 #include "cc/test/fake_layer_tree_host_client.h" |
18 #include "cc/test/fake_layer_tree_host_impl.h" | 18 #include "cc/test/fake_layer_tree_host_impl.h" |
19 #include "cc/test/fake_output_surface.h" | 19 #include "cc/test/fake_output_surface.h" |
20 #include "cc/test/layer_tree_test.h" | 20 #include "cc/test/layer_tree_test.h" |
21 #include "cc/test/test_task_graph_runner.h" | 21 #include "cc/test/test_task_graph_runner.h" |
22 #include "cc/trees/layer_tree_host.h" | 22 #include "cc/trees/layer_tree_host.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 EXPECT_EQ(1u, required_set_.size()); | 253 EXPECT_EQ(1u, required_set_.size()); |
254 // Sequence should have been satisfied with the callback. | 254 // Sequence should have been satisfied with the callback. |
255 EXPECT_TRUE(satisfied_sequence_ == SurfaceSequence(1u, 1u)); | 255 EXPECT_TRUE(satisfied_sequence_ == SurfaceSequence(1u, 1u)); |
256 } | 256 } |
257 }; | 257 }; |
258 | 258 |
259 MULTI_THREAD_TEST_F(SurfaceLayerSwapPromiseWithoutDraw); | 259 MULTI_THREAD_TEST_F(SurfaceLayerSwapPromiseWithoutDraw); |
260 | 260 |
261 } // namespace | 261 } // namespace |
262 } // namespace cc | 262 } // namespace cc |
OLD | NEW |