QPainter gpu acceleration
Unsolved
Mobile and Embedded
-
Hi, new to Qt and had a quick question before I potentially went down a rabbit hole. Is QPainter drawing GPU accelerated on Linux? (similar to Skia, CoreGraphics, D2D, etc which are hw accelerated on their respective platforms).
Looking to do high framerate 2D drawing with full quality antialiasing (MSAA won't cut it), and wanted to know if this is a route to try before going custom GL.
Thanks!
-
Hi and welcome to devnet,
No, QPainter is CPU based no matter the platform. You can safely go the OpenGL route.
You might want to consider using Qt Quick for your project depending on your needs. That part is using hardware acceleration through Qt's RHI architecture.