Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.2, 6.5.3, 6.9.0
-
None
-
-
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 |
638945,2 | Fix misbatching of scenegraph nodes using DrawLineStrip mode | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
639127,2 | Fix misbatching of scenegraph nodes using DrawLineStrip mode | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
639180,2 | Fix misbatching of scenegraph nodes using DrawLineStrip mode | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |