OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/tiled_layer_impl.h" | 5 #include "cc/tiled_layer_impl.h" |
6 | 6 |
7 #include "cc/append_quads_data.h" | 7 #include "cc/append_quads_data.h" |
8 #include "cc/layer_tiling_data.h" | |
9 #include "cc/quads/tile_draw_quad.h" | 8 #include "cc/quads/tile_draw_quad.h" |
| 9 #include "cc/resources/layer_tiling_data.h" |
10 #include "cc/test/fake_impl_proxy.h" | 10 #include "cc/test/fake_impl_proxy.h" |
11 #include "cc/test/fake_layer_tree_host_impl.h" | 11 #include "cc/test/fake_layer_tree_host_impl.h" |
12 #include "cc/test/layer_test_common.h" | 12 #include "cc/test/layer_test_common.h" |
13 #include "cc/test/mock_quad_culler.h" | 13 #include "cc/test/mock_quad_culler.h" |
14 #include "cc/trees/single_thread_proxy.h" | 14 #include "cc/trees/single_thread_proxy.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 namespace { | 19 namespace { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 << LayerTestCommon::quadString << i; | 256 << LayerTestCommon::quadString << i; |
257 EXPECT_EQ(tile_size, quad->texture_size) << LayerTestCommon::quadString | 257 EXPECT_EQ(tile_size, quad->texture_size) << LayerTestCommon::quadString |
258 << i; | 258 << i; |
259 EXPECT_EQ(gfx::Rect(0, 0, 1, 1), quad->opaque_rect) | 259 EXPECT_EQ(gfx::Rect(0, 0, 1, 1), quad->opaque_rect) |
260 << LayerTestCommon::quadString << i; | 260 << LayerTestCommon::quadString << i; |
261 } | 261 } |
262 } | 262 } |
263 | 263 |
264 } // namespace | 264 } // namespace |
265 } // namespace cc | 265 } // namespace cc |
OLD | NEW |