mirror of https://gitlab.freedesktop.org/mesa/mesa
2a860bb8c3
This new EGL extension has been introduced in [1]. When we have a DRM device and a render node, we can advertise the extension and return the render node name for the EGL_DRM_RENDER_NODE_FILE_EXT query. For the special software EGL device, we can advertise the extension and return NULL for the EGL_DRM_RENDER_NODE_FILE_EXT query, because we can guarantee that llvmpipe will never use a render node for rendering operations. However, llvmpipe might be using a primary node when used with the GBM platform. So we can't advertise EXT_device_drm in this case. When we have a DRM device but no render node, that means we're on a split render/display SoC. We _should_ return the render node used by the renderonly driver, however Mesa needs more plumbing to allow this, so let's just disable the extension for now. [1]: https://github.com/KhronosGroup/EGL-Registry/pull/127 Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11797> |
||
---|---|---|
.. | ||
50_mesa.json | ||
egl.def | ||
eglapi.c | ||
eglarray.c | ||
eglarray.h | ||
eglconfig.c | ||
eglconfig.h | ||
eglcontext.c | ||
eglcontext.h | ||
eglcurrent.c | ||
eglcurrent.h | ||
egldefines.h | ||
egldevice.c | ||
egldevice.h | ||
egldispatchstubs.c | ||
egldispatchstubs.h | ||
egldisplay.c | ||
egldisplay.h | ||
egldriver.h | ||
eglentrypoint.h | ||
eglglobals.c | ||
eglglobals.h | ||
eglglvnd.c | ||
eglimage.c | ||
eglimage.h | ||
egllog.c | ||
egllog.h | ||
eglsurface.c | ||
eglsurface.h | ||
eglsync.c | ||
eglsync.h | ||
egltypedefs.h |