wlroots-hyprland/include/wlr/render
Simon Ser 1bf9676e87 render/egl: improve modifier support detection
Support for EXT_image_dma_buf_import_modifiers doesn't necessarily
indicate support for modifiers. For instance, Mesa will advertise
EXT_image_dma_buf_import_modifiers for all drivers. This is a trick
to allow EGL clients to enumerate supported formats (something
EXT_image_dma_buf_import is missing). For more information, see [1].

Add a new wlr_egl.has_modifiers flag which indicates whether
modifiers are supported. It's set to true if any
eglQueryDmaBufModifiersEXT query returned a non-empty list.

Use that flag to figure out whether the buffer modifier should be
passed to the EGL implementation on import.

[1]: https://github.com/KhronosGroup/EGL-Registry/issues/142
2021-12-02 14:21:51 +00:00
..
allocator.h render: add DMA-BUF docs 2021-11-26 16:40:53 +00:00
dmabuf.h render: add DMA-BUF docs 2021-11-26 16:40:53 +00:00
drm_format_set.h render: add DMA-BUF docs 2021-11-26 16:40:53 +00:00
egl.h render/egl: improve modifier support detection 2021-12-02 14:21:51 +00:00
gles2.h Remove support for DMA-BUF flags 2021-11-17 16:12:59 +00:00
interface.h render: drop wlr_renderer_impl.init_wl_display 2021-07-22 14:10:26 -04:00
pixman.h render: add get native paint target of renderer 2021-06-19 10:04:35 +02:00
vulkan.h render/vulkan: add Vulkan renderer 2021-10-18 11:51:13 +02:00
wlr_renderer.h move wlr_box from /types to /util 2021-07-06 21:43:17 +02:00
wlr_texture.h render/wlr_texture: put wlr_texture_from_buffer into the public API 2021-07-22 22:28:24 +02:00