#include "cc/paint/skia_paint_image_generator.h"
#include <utility>
#include "cc/paint/paint_image_generator.h"
namespace cc {
SkiaPaintImageGenerator::SkiaPaintImageGenerator(
sk_sp<PaintImageGenerator> paint_image_generator,
size_t frame_index,
PaintImage::GeneratorClientId client_id)
: … { … }
SkiaPaintImageGenerator::~SkiaPaintImageGenerator() = default;
sk_sp<SkData> SkiaPaintImageGenerator::onRefEncodedData() { … }
bool SkiaPaintImageGenerator::onGetPixels(const SkImageInfo& info,
void* pixels,
size_t row_bytes,
const Options& options) { … }
bool SkiaPaintImageGenerator::onQueryYUVAInfo(
const SkYUVAPixmapInfo::SupportedDataTypes& supported_data_types,
SkYUVAPixmapInfo* yuva_pixmap_info) const { … }
bool SkiaPaintImageGenerator::onGetYUVAPlanes(const SkYUVAPixmaps& planes) { … }
}