gallium/targets/libgl-gdi: prefer d3d12 driver
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Sun, 26 May 2019 08:43:57 +0000 (10:43 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Dec 2020 11:55:47 +0000 (11:55 +0000)
commit8955980f17f902d24c50962502a20285dcd11642
tree193e80f59323446680403059712a4f7b3ffd3005
parent843a56324a388ca994f6f2150e8f0235c4830b1b
gallium/targets/libgl-gdi: prefer d3d12 driver

Unlike the other drivers, the D3D12 driver is hardware accelerated, so
it's going to be a more reasonable choice. So let's prefer it.

This only matters for people who build with the D3D12 driver. And they
can set the GALLIUM_DRIVER environment variable as appropriate to
override it.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7534>
src/gallium/targets/libgl-gdi/libgl_gdi.c