Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.0.0
-
None
-
Any
-
7dca7c3c571ec595b792bbc2d2d448aac587886a a541fd4d7133618a3748b952196dd69dae786e95
Description
Currently qsgcontext sets the multisample size to 16. If the gl device cannot handle this (e.g. max of 4), Qt default to 0 (no anti-aliasing).
There should be a method to check if the set number is capable and, if not, pulls that number at runtime down to the highest capable.
Assuming glChooseConfig can be used to find this - something similar is being done in src/gui/qegl.cpp for pixel formats.
Attachments
For Gerrit Dashboard: QTBUG-22669 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
15933,1 | More graceful handling of QSurfaceFormat::samples() with EGL. | master | qt/qtbase | Status: MERGED | +2 | 0 |
15934,1 | More graceful handling of QSurfaceFormat::samples() with GLX. | master | qt/qtbase | Status: MERGED | +2 | 0 |