void Paint(PaintContext &context, const SkRect &bounds, bool freeze, const DlImageSampling sampling) override
void OnGrContextDestroyed() override
bool gr_context_created()
void OnGrContextCreated() override
MockTexture(int64_t textureId, const sk_sp< DlImage > &texture=nullptr)
void OnTextureUnregistered() override
bool gr_context_destroyed()
static sk_sp< DlImage > MakeTestTexture(int w, int h, int checker_size)
void MarkNewFrameAvailable() override