render/egl: add support for EGL_EXT_device_type

This new EGL extension provides a standard way to fetch the type
of a device.

References: https://github.com/KhronosGroup/EGL-Registry/pull/220
This commit is contained in:
Simon Ser 2026-03-19 13:31:02 +01:00
parent abb6eeb422
commit c377f30765
2 changed files with 26 additions and 8 deletions

View file

@ -37,6 +37,7 @@ struct wlr_egl {
PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR;
PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT;
PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT;
PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT;
PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT;
PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR;
PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR;