Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt widget render to texture using GPU (QPA?)
Zigger last edited by
I have problem with QWidget and it's render() function. As i can see, this method use CPU for rendering. But this is too slow for frequent render.
Is it possible to render widgets into texture using GPU?
May be this is possible using QPA? And if it is, how can I pass my own QImage-based interface from application to platform plugin?
Thanks for answers)
A Former User last edited by
Hi! It's very easy to get hardware acceleration for QPainter based widget drawing. If you, for example, frequently draw images on a widget, using the procedure described in the 2D Painting Example might be what you're looking for.