#include "cc/test/fake_picture_layer_impl.h"
#include <stddef.h>
#include <vector>
#include "base/memory/ptr_util.h"
#include "cc/test/fake_raster_source.h"
#include "cc/tiles/tile.h"
#include "cc/trees/layer_tree_impl.h"
namespace cc {
FakePictureLayerImpl::FakePictureLayerImpl(
LayerTreeImpl* tree_impl,
int id,
scoped_refptr<RasterSource> raster_source)
: … { … }
std::unique_ptr<LayerImpl> FakePictureLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
void FakePictureLayerImpl::PushPropertiesTo(LayerImpl* layer_impl) { … }
void FakePictureLayerImpl::AppendQuads(viz::CompositorRenderPass* render_pass,
AppendQuadsData* append_quads_data) { … }
gfx::Size FakePictureLayerImpl::CalculateTileSize(
const gfx::Size& content_bounds) { … }
PictureLayerTiling* FakePictureLayerImpl::HighResTiling() const { … }
PictureLayerTiling* FakePictureLayerImpl::LowResTiling() const { … }
void FakePictureLayerImpl::SetRasterSource(
scoped_refptr<RasterSource> raster_source,
const Region& invalidation) { … }
size_t FakePictureLayerImpl::GetNumberOfTilesWithResources() const { … }
void FakePictureLayerImpl::CreateAllTiles() { … }
void FakePictureLayerImpl::SetAllTilesReady() { … }
void FakePictureLayerImpl::SetAllTilesReadyInTiling(
PictureLayerTiling* tiling) { … }
void FakePictureLayerImpl::SetTileReady(Tile* tile) { … }
void FakePictureLayerImpl::DidBecomeActive() { … }
bool FakePictureLayerImpl::HasValidTilePriorities() const { … }
size_t FakePictureLayerImpl::CountTilesRequired(
TileRequirementCheck is_tile_required_callback) const { … }
size_t FakePictureLayerImpl::CountTilesRequiredForActivation() const { … }
size_t FakePictureLayerImpl::CountTilesRequiredForDraw() const { … }
void FakePictureLayerImpl::ReleaseResources() { … }
void FakePictureLayerImpl::ReleaseTileResources() { … }
}