Commit graph

5 commits

Author SHA1 Message Date
Alexander Orzechowski
1e2af8665b wlr_texture: Drop wlr_texure_from_buffer
Compositors should be using wlr_raster for texture management.
2022-07-03 13:09:22 -04:00
Alexander Orzechowski
248a33a026 wlr_renderer: Switch texture rendering functions to take wlr_raster
Implements automatic texture uploading as both wlr_scene and cursor
handling both are simplified as a result.
2022-07-03 13:09:22 -04:00
Alexander Orzechowski
d8def1aa65 wlr_renderer: Introduce wlr_renderer_raster_upload 2022-07-03 13:09:22 -04:00
Simon Ser
a04cfca4da Remove support for DMA-BUF flags
They are never used in practice, which makes all of our flag
handling effectively dead code. Also, APIs such as KMS don't
provide a good way to deal with the flags. Let's just fail the
DMA-BUF import when clients provide flags.
2021-11-17 16:12:59 +00:00
nyorain
8e34692250 render/vulkan: add Vulkan renderer
This new renderer is implemented with the existing wlr_renderer API
(which is known to be sub-optimal for some operations). It's not
used by default, but users can opt-in by setting WLR_RENDERER=vulkan.

The renderer depends on VK_EXT_image_drm_format_modifier and
VK_EXT_physical_device_drm.

Co-authored-by: Simon Ser <contact@emersion.fr>
Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
2021-10-18 11:51:13 +02:00