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:
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?