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

QQuickRenderControl support for rendering on the screen with OpenGL?

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Quick: SceneGraph
    • None

      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?

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            peppe Giuseppe D'Angelo
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes