Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

renderer: detect OpenGL hardware and driver vendor

Open illwieckz opened this issue 6 months ago • 0 comments

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.

illwieckz avatar Aug 14 '24 04:08 illwieckz