| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/tiling_data.h" | 5 #include "cc/base/tiling_data.h" |
| 6 | 6 |
| 7 #include "cc/test/geometry_test_utils.h" | 7 #include "cc/test/geometry_test_utils.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 int NumTiles( | 13 int NumTiles( |
| 14 gfx::Size max_texture_size, | 14 gfx::Size max_texture_size, |
| 15 gfx::Size total_size, | 15 gfx::Size total_size, |
| (...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 TEST(TilingDataTest, differenceIteratorNoTiles) | 1190 TEST(TilingDataTest, differenceIteratorNoTiles) |
| 1191 { | 1191 { |
| 1192 TilingData data(gfx::Size(100, 100), gfx::Size(), false); | 1192 TilingData data(gfx::Size(100, 100), gfx::Size(), false); |
| 1193 TestDiff(data, gfx::Rect(0, 0, 100, 100), gfx::Rect(0, 0, 5, 5), 0); | 1193 TestDiff(data, gfx::Rect(0, 0, 100, 100), gfx::Rect(0, 0, 5, 5), 0); |
| 1194 } | 1194 } |
| 1195 | 1195 |
| 1196 } // namespace | 1196 } // namespace |
| 1197 } // namespace cc | 1197 } // namespace cc |
| OLD | NEW |