| 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 #ifndef CC_TILES_TILING_SET_RASTER_QUEUE_REQUIRED_H_ | 5 #ifndef CC_TILES_TILING_SET_RASTER_QUEUE_REQUIRED_H_ |
| 6 #define CC_TILES_TILING_SET_RASTER_QUEUE_REQUIRED_H_ | 6 #define CC_TILES_TILING_SET_RASTER_QUEUE_REQUIRED_H_ |
| 7 | 7 |
| 8 #include "cc/base/cc_export.h" | 8 #include "cc/cc_export.h" |
| 9 #include "cc/tiles/picture_layer_tiling_set.h" | 9 #include "cc/tiles/picture_layer_tiling_set.h" |
| 10 #include "cc/tiles/raster_tile_priority_queue.h" | 10 #include "cc/tiles/raster_tile_priority_queue.h" |
| 11 #include "cc/tiles/tile.h" | 11 #include "cc/tiles/tile.h" |
| 12 | 12 |
| 13 namespace cc { | 13 namespace cc { |
| 14 | 14 |
| 15 // This queue only returns tiles that are required for either activation or | 15 // This queue only returns tiles that are required for either activation or |
| 16 // draw, as specified by RasterTilePriorityQueue::Type passed in the | 16 // draw, as specified by RasterTilePriorityQueue::Type passed in the |
| 17 // constructor. | 17 // constructor. |
| 18 class CC_EXPORT TilingSetRasterQueueRequired { | 18 class CC_EXPORT TilingSetRasterQueueRequired { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 bool IsTileRequired(const PrioritizedTile& prioritized_tile) const; | 52 bool IsTileRequired(const PrioritizedTile& prioritized_tile) const; |
| 53 | 53 |
| 54 TilingIterator iterator_; | 54 TilingIterator iterator_; |
| 55 RasterTilePriorityQueue::Type type_; | 55 RasterTilePriorityQueue::Type type_; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace cc | 58 } // namespace cc |
| 59 | 59 |
| 60 #endif // CC_TILES_TILING_SET_RASTER_QUEUE_REQUIRED_H_ | 60 #endif // CC_TILES_TILING_SET_RASTER_QUEUE_REQUIRED_H_ |
| OLD | NEW |