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

Texture.sourceItem not correctly supported with RHI

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • None

    Description

      When embedding 2D items into the 3D scene (via a texture, by using the sourceItem property of Texture), like the sourceitem manual test does, the application crashes due to a null command buffer when attempting to render the 2D item layer (as in Qt Quick layer) into a texture.

      This is because the QSGDynamicTexture updateTexture() call is made before QQuickWindow::renderSceneGraph() initializes the QSG(Default)RenderContext. Look into how this is supposed to work.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes