Thank you for taking the time to pay attention to this issue.
SkSurface::makeImageSnapshot can create a snapshot of a layer. SkCanvas::saveLayer creates a new layer for rendering. As shown in the link makeImageSnapshot after saveLayer, makeImageSnapshot get the content of the original layer after saveLayer.
What should I do if I want to get the content of the current layer after saveLayer?
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/7642d230-28de-4b26-9002-455f4e62ebf0n%40googlegroups.com.
Brian Salomon | | Office Hours: go/bsalomon-office | | bsal...@google.com |