Qt widget render to texture using GPU (QPA?)



  • Hi!

    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)


  • Moderators

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.