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 52% |
copy from cc/resources/tiling_set_raster_queue.h |
copy to cc/resources/tiling_set_raster_queue_all.h |
index 58faa8a78c90fc17fe83f11b39a38695f5b1e869..d190db42686e2b8fe9c6a9e06e6b0bbcb35786fb 100644 |
--- a/cc/resources/tiling_set_raster_queue.h |
+++ b/cc/resources/tiling_set_raster_queue_all.h |
@@ -2,25 +2,27 @@ |
// 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/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: |
enum IteratorType { LOW_RES, HIGH_RES, NUM_ITERATORS }; |
@@ -43,4 +45,4 @@ class CC_EXPORT TilingSetRasterQueue { |
} // namespace cc |
-#endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ |
+#endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_ALL_H_ |