#include "cc/tiles/eviction_tile_priority_queue.h"
#include "base/memory/raw_ptr.h"
namespace cc {
namespace {
class EvictionOrderComparator { … };
void CreateTilingSetEvictionQueues(
const std::vector<raw_ptr<PictureLayerImpl, VectorExperimental>>& layers,
TreePriority tree_priority,
std::vector<std::unique_ptr<TilingSetEvictionQueue>>* queues) { … }
}
EvictionTilePriorityQueue::EvictionTilePriorityQueue() = default;
EvictionTilePriorityQueue::~EvictionTilePriorityQueue() = default;
void EvictionTilePriorityQueue::Build(
const std::vector<raw_ptr<PictureLayerImpl, VectorExperimental>>&
active_layers,
const std::vector<raw_ptr<PictureLayerImpl, VectorExperimental>>&
pending_layers,
TreePriority tree_priority) { … }
bool EvictionTilePriorityQueue::IsEmpty() const { … }
const PrioritizedTile& EvictionTilePriorityQueue::Top() const { … }
void EvictionTilePriorityQueue::Pop() { … }
std::vector<std::unique_ptr<TilingSetEvictionQueue>>&
EvictionTilePriorityQueue::GetNextQueues() { … }
const std::vector<std::unique_ptr<TilingSetEvictionQueue>>&
EvictionTilePriorityQueue::GetNextQueues() const { … }
}