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

How to direct grab a window to a gpu texture

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.0.1
    • GUI: OpenGL, GUI: Vulkan, QPA
    • None
    • 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

            lagocs Laszlo Agocs
            zccrs JiDe 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