pub(crate) fn egl_display<N>(native: N) -> Result<EGLDisplay, String>where
N: EGLNativeDisplay + 'static,Expand description
An EGL display on native, or an error where libEGL is not installed.
smithay opens libEGL the first time any of its EGL calls runs and panics where the library
is missing. Every EGL display is made here, after egl_library has opened it, so a host
without libEGL gets an error its GPU path declines on, as for any other EGL failure.
clippy.toml holds the crate to this function and keeps smithay’s EGL entry points out.