Daemon
Daemon copied to clipboard
renderer: detect OpenGL hardware and driver vendor
Detect OpenGL hardware and driver vendor.
Start to reuse this information.
I wanted to do that for a long time, thought about it some days ago yet again, and @VReaperV is facing the same need for #1241:
- https://github.com/DaemonEngine/Daemon/pull/1241
It may reused for more stuff in the future, especially in #1224:
- https://github.com/DaemonEngine/Daemon/pull/1224
We may also implement specific workarounds for when the OpenGL driver is a software rasterizer (not rare when virtualizing), for example our own CPU model animation code may be faster than Mesa emulating the features. That's why I make a difference between slow emulation (SOFTWARE
) and fast one (TRANSLATION
).
I used this as a reference:
- https://opengl.gpuinfo.org/displaycapability.php?name=GL_VENDOR
I may add more in the future, but this is a good start.