| Index: cc/resources/tiling_set_raster_queue_all.h
|
| diff --git a/cc/resources/tiling_set_raster_queue.h b/cc/resources/tiling_set_raster_queue_all.h
|
| similarity index 75%
|
| copy from cc/resources/tiling_set_raster_queue.h
|
| copy to cc/resources/tiling_set_raster_queue_all.h
|
| index e3250369fd60fc2055f7ef423a42c107d9df3571..8bb526466fcbb94af37c2861bb481b5ce7cae90c 100644
|
| --- a/cc/resources/tiling_set_raster_queue.h
|
| +++ b/cc/resources/tiling_set_raster_queue_all.h
|
| @@ -2,27 +2,29 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_
|
| -#define CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_
|
| +#ifndef CC_RESOURCES_TILING_SET_RASTER_QUEUE_ALL_H_
|
| +#define CC_RESOURCES_TILING_SET_RASTER_QUEUE_ALL_H_
|
|
|
| #include "cc/base/cc_export.h"
|
| #include "cc/resources/picture_layer_tiling_set.h"
|
| #include "cc/resources/tile.h"
|
| #include "cc/resources/tile_priority.h"
|
| +#include "cc/resources/tiling_set_raster_queue.h"
|
|
|
| namespace cc {
|
|
|
| -class CC_EXPORT TilingSetRasterQueue {
|
| +// This queue returns all tiles required to be rasterized from HIGH_RESOLUTION
|
| +// and LOW_RESOLUTION tilings.
|
| +class CC_EXPORT TilingSetRasterQueueAll : public TilingSetRasterQueue {
|
| public:
|
| - TilingSetRasterQueue();
|
| - TilingSetRasterQueue(PictureLayerTilingSet* tiling_set,
|
| - bool prioritize_low_res);
|
| - ~TilingSetRasterQueue();
|
| + TilingSetRasterQueueAll(PictureLayerTilingSet* tiling_set,
|
| + bool prioritize_low_res);
|
| + ~TilingSetRasterQueueAll() override;
|
|
|
| - Tile* Top();
|
| - const Tile* Top() const;
|
| - void Pop();
|
| - bool IsEmpty() const;
|
| + Tile* Top() override;
|
| + const Tile* Top() const override;
|
| + void Pop() override;
|
| + bool IsEmpty() const override;
|
|
|
| private:
|
| class TilingIterator {
|
| @@ -94,4 +96,4 @@ class CC_EXPORT TilingSetRasterQueue {
|
|
|
| } // namespace cc
|
|
|
| -#endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_
|
| +#endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_ALL_H_
|
|
|