Is Canvas hardware accelerated on Android being drawn?

Are calls to Canvas.drawPath () / drawArc () / etc hardware accelerated, transferred to the deviceโ€™s embedded implementation, or implemented in Java?

Or is OpenGL the only way to achieve hardware accelerated drawing?

I am trying to determine if the Canvas API can be used for real-time animation.

+3
source share
1 answer

Canvas is currently not hardware accelerated.

there are hints in the source code that indicate plans for implementing canvas wrapping around such an HW accelerator, but so far this does not work.

+3
source

Source: https://habr.com/ru/post/1714590/


All Articles