wlroots/include/wlr/render
Julien Olivain c2288a7b88
render/egl: include EGL/eglmesaext.h only if present
This patch will make the EGL renderer work on any EGL/GLESv2 driver
providing the EGL_WL_bind_wayland_display extensions.

Mesa used to declare provisional EGL_WL_bind_wayland_display directly
in <EGL/eglext.h>. Then, all unofficial extensions were moved to
<EGL/eglmesaext.h>, to have a cleaner implementation. See:
ab7bb10a2a

The extension was then approved at Khronos Group, and reached the
official <EGL/eglext.h>. See:
https://www.khronos.org/registry/EGL/extensions/WL/EGL_WL_bind_wayland_display.txt
aa9b63f3ab

In order to make sure the renderer will work on any version of any
implementation providing the extension, only include the mesa-specific
header if it's present.

Signed-off-by: Julien Olivain <juju@cotds.org>
2020-05-11 08:58:30 +02:00
..
dmabuf.h render/dmabuf: add wlr_dmabuf_attributes_copy 2019-06-07 09:06:11 -04:00
drm_format_set.h backend/drm: check format when scanning out DMA-BUF 2019-06-07 09:06:11 -04:00
egl.h render/egl: include EGL/eglmesaext.h only if present 2020-05-11 08:58:30 +02:00
gles2.h render/gles2: add wlr_gles2_renderer_check_ext 2020-04-22 22:40:54 +02:00
interface.h render/texture: add width and height fields 2020-04-28 21:45:14 +02:00
wlr_renderer.h Return failure of wlr_renderer_init_wl_display() 2020-03-23 15:19:16 +01:00
wlr_texture.h render/texture: add width and height fields 2020-04-28 21:45:14 +02:00