在 Skia 中,如果我将某些内容记录到 SkPicture 中,是否可以保证保留所有必要的内存?IE
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() 崩溃的东西,或者它总是保证工作?