SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
virtual SkRect cullRect() const =0
virtual size_t approximateBytesUsed() const =0
SKWASM_EXPORT uint32_t picture_approximateBytesUsed(SkPicture *picture)
SKWASM_EXPORT SkPicture * pictureRecorder_endRecording(SkPictureRecorder *recorder)
SKWASM_EXPORT void picture_dispose(SkPicture *picture)
SkRTreeFactory bbhFactory
SKWASM_EXPORT void picture_getCullRect(SkPicture *picture, SkRect *outRect)
SKWASM_EXPORT SkCanvas * pictureRecorder_beginRecording(SkPictureRecorder *recorder, const SkRect *cullRect)
SKWASM_EXPORT SkPictureRecorder * pictureRecorder_create()
SKWASM_EXPORT void pictureRecorder_dispose(SkPictureRecorder *recorder)
sk_sp< const SkPicture > picture