Was looking for ways to update/alter SkPicture drawing command without regenerating.
Sample code looks something like below :
SkCanvas *canvas = recorder.beginRecording(....)
sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
In the above code, only the values of srcRect changes quite often.
Is there any way to update this value/use the latest value in the picture object without regenerating it again.
Or any suggestions how to handle it in a lightweight way.