egl: Rename _eglRefreshDeviceList() to _eglDeviceRefreshList()

Rename this function to better reflect it's location
and what structs it relates to.

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>
This commit is contained in:
Robert Foss 2023-06-19 14:15:04 +02:00 committed by Marge Bot
parent 0e0adec81e
commit e0c97148de

View file

@ -285,7 +285,7 @@ _eglQueryDeviceStringEXT(_EGLDevice *dev, EGLint name)
* Must be called with the global lock held.
*/
static int
_eglRefreshDeviceList(void)
_eglDeviceRefreshList(void)
{
ASSERTED _EGLDevice *dev;
int count = 0;
@ -334,7 +334,7 @@ _eglQueryDevicesEXT(EGLint max_devices, _EGLDevice **devices,
simple_mtx_lock(_eglGlobal.Mutex);
num_devs = _eglRefreshDeviceList();
num_devs = _eglDeviceRefreshList();
devs = _eglGlobal.DeviceList;
#ifdef GALLIUM_SOFTPIPE