Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Qt widget render to texture using GPU (QPA?)

    General and Desktop
    2
    2
    1351
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Zigger
      Zigger last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • ?
        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.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post