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

How to direct grab a window to a gpu texture

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.0.1
    • GUI: OpenGL, GUI: Vulkan, QPA
    • None
    • All

      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?

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

            lagocs Laszlo Agocs
            zccrs JiDe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes