在Skia中,如果我将某些内容录制到SkPicture中,是否可以保留所有必要的内存?即。
picture_canvas = picture.beginRecording(width, height);
picture_canvas->drawBitmap(*some_bitmap, 0, 0);
delete some_bitmap;
picture.endRecording();
some_canvas.drawPicture(picture); // will this crash since I deleted some_bitmap?
是否有任何情况我可以删除导致drawPicture()崩溃的内容,或者它是否始终保证可以正常工作?