Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How can I improve the performance of Skia's canvas.drawImageRect in my application?

49 views
Skip to first unread message

stephane

unread,
Feb 15, 2025, 2:51:06 PMFeb 15
to skia-discuss
  How can I improve the performance of Skia's canvas.drawImageRect in my application?
  • I have an SkSurface where I redraw everything on each paint refresh.
  • I've noticed that canvas.drawImageRect can be slow sometimes.
  • This happens both in Windows and Android applications.
  • What optimizations can I apply to make it faster?
  • Would caching, using a specific SkSamplingOptions, or another technique help improve performance?
Thanks you by advance
Reply all
Reply to author
Forward
0 new messages