26 SkDebugf(
"could not load movie file\n");
40 auto img = fDecoder.
nextImage(&timeStamp);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
virtual GrRecordingContext * recordingContext() const
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static std::unique_ptr< SkStreamAsset > MakeFromFile(const char path[])
void setGrContext(GrRecordingContext *rContext)
bool loadStream(std::unique_ptr< SkStream >)
sk_sp< SkImage > nextImage(double *timeStamp=nullptr)
void onOnceBeforeDraw() override
SkISize getISize() override
void onDraw(SkCanvas *canvas) override
bool onAnimate(double nanos) override
SkString getName() const override
GM(SkColor backgroundColor=SK_ColorWHITE)
static constexpr SkISize Make(int32_t w, int32_t h)