Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt widget render to texture using GPU (QPA?)
Forum Updated to NodeBB v4.3 + New Features

Qt widget render to texture using GPU (QPA?)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.9k Views 1 Watching
  • 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.
  • ZiggerZ Offline
    ZiggerZ Offline
    Zigger
    wrote on last edited by
    #1

    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
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      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
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved