#include <stddef.h>
#include <utility>
#include "base/notreached.h"
#include "cc/tiles/tiling_set_eviction_queue.h"
namespace cc {
TilingSetEvictionQueue::TilingSetEvictionQueue(
PictureLayerTilingSet* tiling_set,
bool is_drawing_layer)
: … { … }
TilingSetEvictionQueue::~TilingSetEvictionQueue() = default;
void TilingSetEvictionQueue::GenerateTilingOrder(
PictureLayerTilingSet* tiling_set) { … }
void TilingSetEvictionQueue::AdvancePhase() { … }
bool TilingSetEvictionQueue::IsEmpty() const { … }
const PrioritizedTile& TilingSetEvictionQueue::Top() const { … }
void TilingSetEvictionQueue::Pop() { … }
TilingSetEvictionQueue::EvictionRectIterator::EvictionRectIterator()
: … { … }
TilingSetEvictionQueue::EvictionRectIterator::EvictionRectIterator(
std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
PictureLayerTiling::PriorityRectType priority_rect_type)
: … { … }
template <typename TilingIteratorType>
bool TilingSetEvictionQueue::EvictionRectIterator::AdvanceToNextTile(
TilingIteratorType* iterator) { … }
template <typename TilingIteratorType>
bool TilingSetEvictionQueue::EvictionRectIterator::GetFirstTileAndCheckIfValid(
TilingIteratorType* iterator) { … }
TilingSetEvictionQueue::EventuallyTilingIterator::EventuallyTilingIterator(
std::vector<PictureLayerTiling*>* tilings,
WhichTree tree)
: … { … }
TilingSetEvictionQueue::EventuallyTilingIterator&
TilingSetEvictionQueue::EventuallyTilingIterator::
operator++() { … }
TilingSetEvictionQueue::SoonBorderTilingIterator::SoonBorderTilingIterator(
std::vector<PictureLayerTiling*>* tilings,
WhichTree tree)
: … { … }
TilingSetEvictionQueue::SoonBorderTilingIterator&
TilingSetEvictionQueue::SoonBorderTilingIterator::
operator++() { … }
TilingSetEvictionQueue::SkewportTilingIterator::SkewportTilingIterator(
std::vector<PictureLayerTiling*>* tilings,
WhichTree tree)
: … { … }
TilingSetEvictionQueue::SkewportTilingIterator&
TilingSetEvictionQueue::SkewportTilingIterator::
operator++() { … }
TilingSetEvictionQueue::PendingVisibleTilingIterator::
PendingVisibleTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
bool return_required_for_activation_tiles)
: … { … }
TilingSetEvictionQueue::PendingVisibleTilingIterator&
TilingSetEvictionQueue::PendingVisibleTilingIterator::
operator++() { … }
bool TilingSetEvictionQueue::PendingVisibleTilingIterator::
TileMatchesRequiredFlags(const PrioritizedTile& tile) const { … }
TilingSetEvictionQueue::VisibleTilingIterator::VisibleTilingIterator(
std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
bool return_occluded_tiles,
bool return_required_for_activation_tiles)
: … { … }
TilingSetEvictionQueue::VisibleTilingIterator&
TilingSetEvictionQueue::VisibleTilingIterator::
operator++() { … }
bool TilingSetEvictionQueue::VisibleTilingIterator::TileMatchesRequiredFlags(
const PrioritizedTile& tile) const { … }
}