| 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/tiles/picture_layer_tiling.h" | 5 #include "cc/tiles/picture_layer_tiling.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <limits> | 9 #include <limits> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/bind.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 14 #include "cc/base/math_util.h" | 15 #include "cc/base/math_util.h" |
| 15 #include "cc/test/fake_output_surface.h" | 16 #include "cc/test/fake_output_surface.h" |
| 16 #include "cc/test/fake_output_surface_client.h" | 17 #include "cc/test/fake_output_surface_client.h" |
| 17 #include "cc/test/fake_picture_layer_tiling_client.h" | 18 #include "cc/test/fake_picture_layer_tiling_client.h" |
| 18 #include "cc/test/fake_raster_source.h" | 19 #include "cc/test/fake_raster_source.h" |
| 19 #include "cc/test/test_context_provider.h" | 20 #include "cc/test/test_context_provider.h" |
| 20 #include "cc/test/test_shared_bitmap_manager.h" | 21 #include "cc/test/test_shared_bitmap_manager.h" |
| 21 #include "cc/tiles/picture_layer_tiling_set.h" | 22 #include "cc/tiles/picture_layer_tiling_set.h" |
| (...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 tiling_ = TestablePictureLayerTiling::Create(PENDING_TREE, contents_scale, | 986 tiling_ = TestablePictureLayerTiling::Create(PENDING_TREE, contents_scale, |
| 986 raster_source, &client_, | 987 raster_source, &client_, |
| 987 LayerTreeSettings()); | 988 LayerTreeSettings()); |
| 988 | 989 |
| 989 gfx::Rect content_rect(25554432, 25554432, 950, 860); | 990 gfx::Rect content_rect(25554432, 25554432, 950, 860); |
| 990 VerifyTilesExactlyCoverRect(contents_scale, content_rect); | 991 VerifyTilesExactlyCoverRect(contents_scale, content_rect); |
| 991 } | 992 } |
| 992 | 993 |
| 993 } // namespace | 994 } // namespace |
| 994 } // namespace cc | 995 } // namespace cc |
| OLD | NEW |