Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
Hi,
When using QQuickRenderControl with Qt 6, it seems that it's mandatory to configure a QQuickWindow to redirect its drawing into a specific render target using setRenderTarget.
What if one wants to directly draw on a window? When using some more modern APIs, one has access to the window's swapchain images and can create QQuickRenderTargets for that. But such a capability seems to be missing for OpenGL, and one must always redirect into a texture or a renderbuffer.
Should QQuickRenderTarget be extended with the possibility of being created with a FBO, possibly passing the default FBO, in order to render directly to a window surface?