Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92950

How to direct grab a window to a gpu texture

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 6.0.1
    • Fix Version/s: None
    • Component/s: GUI: OpenGL, GUI: Vulkan, QPA
    • Labels:
      None
    • Platform/s:
      All

      Description

      Hi.

      The QScreen::grabWindow only get a QImage, after all these that I must upload the QImage to a texture(eg, opengl/vulkan texture). In modern operating systems, the content of a window is generally a gpu texture. Using Qt to grab it will first copy the window content from gpu to memory, and then upload it as a gpu texture when using this QImage in QQuickItem or QtOpengl. I think there are many steps in this process that are unnecessary. Can we directly grab the window as a gpu texture and use it?

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            zccrs chen zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes