#include "cc/raster/playback_image_provider.h"
#include <utility>
#include "base/functional/bind.h"
#include "cc/tiles/image_decode_cache.h"
#include "gpu/command_buffer/common/mailbox.h"
namespace cc {
namespace {
void UnrefImageFromCache(DrawImage draw_image,
ImageDecodeCache* cache,
DecodedDrawImage decoded_draw_image) { … }
}
PlaybackImageProvider::PlaybackImageProvider(
ImageDecodeCache* cache,
const TargetColorParams& target_color_params,
std::optional<Settings>&& settings)
: … { … }
PlaybackImageProvider::~PlaybackImageProvider() = default;
PlaybackImageProvider::PlaybackImageProvider(PlaybackImageProvider&& other) =
default;
PlaybackImageProvider& PlaybackImageProvider::operator=(
PlaybackImageProvider&& other) = default;
ImageProvider::ScopedResult PlaybackImageProvider::GetRasterContent(
const DrawImage& draw_image) { … }
PlaybackImageProvider::Settings::Settings() = default;
PlaybackImageProvider::Settings::Settings(PlaybackImageProvider::Settings&&) =
default;
PlaybackImageProvider::Settings::~Settings() = default;
PlaybackImageProvider::Settings& PlaybackImageProvider::Settings::operator=(
PlaybackImageProvider::Settings&&) = default;
}