chromium/cc/test/fake_picture_layer_tiling_client.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/test/fake_picture_layer_tiling_client.h"

#include <stddef.h>

#include <limits>
#include <memory>

#include "base/task/single_thread_task_runner.h"
#include "cc/test/fake_raster_source.h"
#include "cc/test/fake_tile_manager.h"

namespace cc {

namespace {

void SetupGlobalTileState(GlobalStateThatImpactsTilePriority* state) {}

}  // namespace

FakePictureLayerTilingClient::FakePictureLayerTilingClient()
    :{}

FakePictureLayerTilingClient::FakePictureLayerTilingClient(
    viz::ClientResourceProvider* resource_provider,
    viz::RasterContextProvider* context_provider)
    :{}

FakePictureLayerTilingClient::~FakePictureLayerTilingClient() = default;

std::unique_ptr<Tile> FakePictureLayerTilingClient::CreateTile(
    const Tile::CreateInfo& info) {}

void FakePictureLayerTilingClient::SetTileSize(const gfx::Size& tile_size) {}

gfx::Size FakePictureLayerTilingClient::CalculateTileSize(
    const gfx::Size& /* content_bounds */) {}

bool FakePictureLayerTilingClient::HasValidTilePriorities() const {}

const Region* FakePictureLayerTilingClient::GetPendingInvalidation() {}

const PictureLayerTiling*
FakePictureLayerTilingClient::GetPendingOrActiveTwinTiling(
    const PictureLayerTiling* tiling) const {}

bool FakePictureLayerTilingClient::RequiresHighResToDraw() const {}

const PaintWorkletRecordMap&
FakePictureLayerTilingClient::GetPaintWorkletRecords() const {}

std::vector<const DrawImage*>
FakePictureLayerTilingClient::GetDiscardableImagesInRect(
    const gfx::Rect& rect) const {}

ScrollOffsetMap FakePictureLayerTilingClient::GetRasterInducingScrollOffsets()
    const {}

const GlobalStateThatImpactsTilePriority&
FakePictureLayerTilingClient::global_tile_state() const {}

void FakePictureLayerTilingClient::OnAllTilesDoneCleared() {}

}  // namespace cc