#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "cc/tiles/tiling_set_raster_queue_all.h"
#include <stddef.h>
#include <utility>
#include "base/notreached.h"
#include "cc/base/features.h"
#include "cc/tiles/picture_layer_tiling_set.h"
#include "cc/tiles/tile.h"
#include "cc/tiles/tile_priority.h"
namespace cc {
TilingSetRasterQueueAll::IterationStage::IterationStage(
IteratorType type,
TilePriority::PriorityBin bin)
: … { … }
std::unique_ptr<TilingSetRasterQueueAll> TilingSetRasterQueueAll::Create(
PictureLayerTilingSet* tiling_set,
bool prioritize_low_res,
bool is_drawing_layer) { … }
TilingSetRasterQueueAll::TilingSetRasterQueueAll(
PictureLayerTiling* high_res_tiling,
PictureLayerTiling* low_res_tiling,
PictureLayerTiling* active_non_ideal_pending_high_res_tiling,
bool is_drawing_layer)
: … { … }
TilingSetRasterQueueAll::~TilingSetRasterQueueAll() = default;
void TilingSetRasterQueueAll::MakeTilingIterator(IteratorType type,
PictureLayerTiling* tiling) { … }
bool TilingSetRasterQueueAll::IsEmpty() const { … }
void TilingSetRasterQueueAll::Pop() { … }
const PrioritizedTile& TilingSetRasterQueueAll::Top() const { … }
void TilingSetRasterQueueAll::AdvanceToNextStage() { … }
TilingSetRasterQueueAll::OnePriorityRectIterator::OnePriorityRectIterator()
: … { … }
TilingSetRasterQueueAll::OnePriorityRectIterator::OnePriorityRectIterator(
PictureLayerTiling* tiling,
TilingData* tiling_data,
PictureLayerTiling::PriorityRectType priority_rect_type)
: … { … }
template <typename TilingIteratorType>
void TilingSetRasterQueueAll::OnePriorityRectIterator::AdvanceToNextTile(
TilingIteratorType* iterator) { … }
template <typename TilingIteratorType>
bool TilingSetRasterQueueAll::OnePriorityRectIterator::
GetFirstTileAndCheckIfValid(TilingIteratorType* iterator) { … }
TilingSetRasterQueueAll::OnePriorityRectIterator::IsTileValidResult
TilingSetRasterQueueAll::OnePriorityRectIterator::IsTileValid(
const Tile* tile) const { … }
TilingSetRasterQueueAll::VisibleTilingIterator::VisibleTilingIterator(
PictureLayerTiling* tiling,
TilingData* tiling_data)
: … { … }
TilingSetRasterQueueAll::VisibleTilingIterator&
TilingSetRasterQueueAll::VisibleTilingIterator::
operator++() { … }
TilingSetRasterQueueAll::PendingVisibleTilingIterator::
PendingVisibleTilingIterator(PictureLayerTiling* tiling,
TilingData* tiling_data)
: … { … }
TilingSetRasterQueueAll::PendingVisibleTilingIterator&
TilingSetRasterQueueAll::PendingVisibleTilingIterator::
operator++() { … }
TilingSetRasterQueueAll::SkewportTilingIterator::SkewportTilingIterator(
PictureLayerTiling* tiling,
TilingData* tiling_data)
: … { … }
TilingSetRasterQueueAll::SkewportTilingIterator&
TilingSetRasterQueueAll::SkewportTilingIterator::
operator++() { … }
TilingSetRasterQueueAll::SoonBorderTilingIterator::SoonBorderTilingIterator(
PictureLayerTiling* tiling,
TilingData* tiling_data)
: … { … }
TilingSetRasterQueueAll::SoonBorderTilingIterator&
TilingSetRasterQueueAll::SoonBorderTilingIterator::
operator++() { … }
TilingSetRasterQueueAll::EventuallyTilingIterator::EventuallyTilingIterator(
PictureLayerTiling* tiling,
TilingData* tiling_data)
: … { … }
TilingSetRasterQueueAll::EventuallyTilingIterator&
TilingSetRasterQueueAll::EventuallyTilingIterator::
operator++() { … }
TilingSetRasterQueueAll::TilingIterator::TilingIterator() : … { … }
TilingSetRasterQueueAll::TilingIterator::TilingIterator(
PictureLayerTiling* tiling,
TilingData* tiling_data)
: … { … }
TilingSetRasterQueueAll::TilingIterator::~TilingIterator() = default;
void TilingSetRasterQueueAll::TilingIterator::AdvancePhase() { … }
TilingSetRasterQueueAll::TilingIterator&
TilingSetRasterQueueAll::TilingIterator::
operator++() { … }
}