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

QQuickRenderControl support for rendering on the screen with OpenGL?

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Quick: SceneGraph
    • 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?

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes