#include "cc/tiles/raster_tile_priority_queue_all.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/notreached.h"
#include "cc/base/features.h"
#include "cc/tiles/tiling_set_raster_queue_all.h"
namespace cc {
namespace {
class RasterOrderComparator { … };
void CreateTilingSetRasterQueues(
const std::vector<raw_ptr<PictureLayerImpl, VectorExperimental>>& layers,
TreePriority tree_priority,
std::vector<std::unique_ptr<TilingSetRasterQueueAll>>* queues) { … }
}
RasterTilePriorityQueueAll::RasterTilePriorityQueueAll() = default;
RasterTilePriorityQueueAll::~RasterTilePriorityQueueAll() = default;
void RasterTilePriorityQueueAll::Build(
const std::vector<raw_ptr<PictureLayerImpl, VectorExperimental>>&
active_layers,
const std::vector<raw_ptr<PictureLayerImpl, VectorExperimental>>&
pending_layers,
TreePriority tree_priority) { … }
bool RasterTilePriorityQueueAll::IsEmpty() const { … }
const PrioritizedTile& RasterTilePriorityQueueAll::Top() const { … }
void RasterTilePriorityQueueAll::Pop() { … }
std::vector<std::unique_ptr<TilingSetRasterQueueAll>>&
RasterTilePriorityQueueAll::GetNextQueues() { … }
const std::vector<std::unique_ptr<TilingSetRasterQueueAll>>&
RasterTilePriorityQueueAll::GetNextQueues() const { … }
}