egl: Expose access to DeviceList
authorRobert Foss <rfoss@kernel.org>
Mon, 19 Jun 2023 11:55:22 +0000 (13:55 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 17 Jul 2023 22:27:00 +0000 (22:27 +0000)
commit0e0adec81ec4a05c36ecb8f21fce7ce726a1e269
tree560c09c83f32d24a3621bf53d7ae3c409bd880fe
parent3a8aae9e6aa526367523c58dfe5046909776be74
egl: Expose access to DeviceList

In order to not have the different dri2 platforms all build
lists of available devices, use the device list provided by EGL.

Signed-off-by: Robert Foss <rfoss@kernel.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23742>
src/egl/main/egldevice.c
src/egl/main/egldevice.h