Skip to content

About savelayer #122

Answered by domchen
xdestiny110 asked this question in General
Discussion options

You must be logged in to vote

We've recently added the Canvas::saveLayer() API to tgfx after resolving the performance issues we discussed earlier. Unlike Skia, which always triggers an offscreen rendering pass, tgfx optimizes to avoid unnecessary offscreen rendering passes whenever possible. So, there's no performance drawback to using the Canvas::saveLayer() API in tgfx now.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants