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

QSGRenderNode needs a prepare() function (or at minimum, an internal callback) to properly support the typical two-phase prepare-render approach

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.15
    • None
    • Qt RHI, Quick: SceneGraph
    • None

      QTBUG-82793 shows that Qt Quick 3D is unable to implement its behavior for the Inline View3D render mode because QSGRenderNode only has a render() virtual, whereas Quick3D would need access to the matrix() already in the prepare step, and there is no suitable virtual in QSGRenderNode atm.

      Also needs a flag to indicate whether QRhiCommandBuffer::beginExternal() should be called. (because if the render() implementation is using QRhi then the answer is NO)

      This will be done in two parts:

      • Quick3D can live with using QSGRenderNodePrivate. So will just add a callback there.
      • Once the dev branches are usable, this can be changed to a virtual prepare() function in QSGRenderNode.

        For Gerrit Dashboard: QTBUG-82797
        # Subject Branch Project Status CR V

            lagocs Laszlo Agocs
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes