wlroots/render/vulkan
Alexander Orzechowski 3187479c07 render/color: Invert ownership model of color_transform types.
Color transform can have multiple types and these different types
want to store different metadata. We previously stored this metadata
directly on wlr_color_transform even for transforms that don't use it.

Instead, let's take the prior art from wlr_scene where each scene node
is built on a base node. Notice how wlr_color_transform_lut3d now has
a `struct wlr_color_transform base`. This is advantageous in multiple
ways:

1. We don't allocate memory for metadata that will never be used.
2. This is more type safe: Compositors can pass around a
struct wlr_color_transform_lut3d if they know they only want to use a
3d_lut.
3. This is more scalable. As we add more transform types, we don't have
to keep growing a monolithic struct.
2024-08-24 14:33:22 -04:00
..
shaders render/vulkan: add lut3d output shader option 2024-04-26 17:17:36 +00:00
meson.build render/vulkan: use renamed glslang binary by default 2023-07-27 16:06:49 +08:00
pass.c render/color: Invert ownership model of color_transform types. 2024-08-24 14:33:22 -04:00
pixel_format.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00
renderer.c render/vulkan: use non-coherent memory for read_pixels() 2024-08-22 18:19:22 +02:00
texture.c render/vulkan: vkMapMemory stage spans up front 2024-06-26 21:10:46 +00:00
util.c render/vulkan: drop unused vulkan_has_extension() 2023-05-26 12:25:53 +00:00
vulkan.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00