wlroots-hyprland/include
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
..
backend backend: remove noop backend 2021-11-25 16:49:05 +00:00
render render/drm_format_set: add wlr_drm_format_has 2021-11-26 16:40:53 +00:00
types output: lift up output format fallback logic 2021-11-19 15:51:46 +00:00
util util/shm: add allocate_shm_file_pair 2021-09-05 22:06:25 +02:00
wlr render/egl: improve modifier support detection 2021-12-02 14:21:51 +00:00
xcursor xcursor: make cursor data and metadata const 2021-02-05 10:04:20 +01:00
xwayland xwayland: add support for -noTouchPointerEmulation 2021-11-02 12:02:51 +01:00
meson.build render/vulkan: add Vulkan renderer 2021-10-18 11:51:13 +02:00