Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.0.1
-
None
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?