In QML applications there are 3 rendering types:
- Native OpenGL: "desktop"
- ANGLE Direct3D: "angle"
- A software renderer: "software"
We use the automatic loading mechanism of the supported type.
How can I programmatically determine which rendering type is used at runtime?
I know of QT_LOGGING_RULES=qt.qpa.gl=true but this produces a lot of noise and DEBUG messages, which are not logged in our release build. Is there another simple way to just get the rendering type?
GL_VENDOR
,GL_VERSION
etc.? You'll get ANGLE, Mesa, etc. – TranspontineglGetString(GL_VENDOR)
gives menull
(on Linux). – Volumed