Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.4.2
-
None
-
boot2qt image for BOundary Devices i.MX6
Description
A QSGNode with a QSGGeometry using GL_POINTS , and setting lineWidth() is rendered correctly with OpenGL Desktop, but does not render anything when running with OpenGL ES. Replacing GL_POINTS with GL_LINE_STRIP fixes the issue (but obviously changes behavior):
This seems to be because OpenGL ES does not support glPointSize. E.g.
indicates that one should rather set gl_PointSize in the shader, instead, but the Scene Graph Renderer does not seem to support this.
Ideally QSGRendererNode would handle this, or at least the documentation should be updated to mention this limitation.
Attachments
For Gerrit Dashboard: QTBUG-46260 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
112795,3 | Doc: Document limits of QSGGeometry::setLineWidth | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |