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

QSG wrongly batches QSGGeometryNodes with different lineWidth

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.4, 6.9.1, 6.10.0 FF
    • 6.5.2, 6.5.3, 6.9.0
    • GUI: Painting
    • None
    • All
    • a7a7df6c3 (dev), 5f2dd6764 (6.9), fbe6d34e1 (6.8)

    Description

      If two QSGGeometryNodes are created that are supposed to draw a line of different widths with drawingMode set to DrawLineStrip, then both are merged into one draw in the QSGBatchRenderer, which results in both lines being drawn with the width of the second QSGGeometryNode.

      This only happens when the drawingMode is set to DrawLineStrip. It behaves correctly when drawingMode is set to DrawLines.

       

      A sample project and a patch to fix this are attached.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            doschr Dominik Schütz
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes