wlroots-hyprland/render
Simon Ser b89bcffea4 render/egl, backend/wayland: add workaround for split render/display setups
Split render/display setups have two separate devices: one display-only
with a primary node, and one render-only with a render node. However
in these cases the EGL implementation and the Wayland compositor will
advertise the display device instead of the render device [1]. The EGL
implementation will magically open the render device when the display
device is passed in.

So just pass the display device as if it were a render device. Maybe in
the future Mesa will advertise the render device instead and we'll be
able to remove this workaround.

[1]: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4178
2021-03-27 11:23:32 +01:00
..
gles2 render/gles2: remove depth and bpp gles2_pixel_format, use drm pixel format 2021-03-25 10:55:54 +01:00
allocator.c render/allocator: ignore NULL in wlr_allocator_destroy 2020-12-17 20:34:19 +01:00
dmabuf.c render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy 2021-02-02 19:53:16 +01:00
drm_format_set.c render/drm_format_set: add special case for LINEAR-only formats 2020-12-30 11:17:43 +01:00
egl.c render/egl, backend/wayland: add workaround for split render/display setups 2021-03-27 11:23:32 +01:00
gbm_allocator.c render/gbm_allocator: avoid drmPrimeHandleToFD 2021-01-23 16:41:54 +01:00
meson.build Move render/shm_format functions to render/pixel_format 2021-03-25 10:55:54 +01:00
pixel_format.c render/pixel_format: add XBGR8888 and ABGR8888 format 2021-03-25 10:55:54 +01:00
swapchain.c render/swapchain: add support for buffer age 2020-11-15 22:48:42 +01:00
wlr_renderer.c Move render/shm_format functions to render/pixel_format 2021-03-25 10:55:54 +01:00
wlr_texture.c render: use DRM formats in wlr_texture_from_pixels 2021-02-23 16:09:26 +01:00