Important: Please read the Qt Code of Conduct -

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)

  • 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