mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-05 04:06:11 -05:00
render/vulkan: add suport for color encoding and range
This commit is contained in:
parent
2a87ec8a35
commit
fecaf6d1e8
3 changed files with 70 additions and 29 deletions
|
|
@ -127,8 +127,14 @@ const struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
|
|||
void vulkan_format_props_finish(struct wlr_vk_format_props *props);
|
||||
|
||||
struct wlr_vk_pipeline_layout_key {
|
||||
const struct wlr_vk_format *ycbcr_format;
|
||||
enum wlr_scale_filter_mode filter_mode;
|
||||
|
||||
// for YCbCr pipelines only
|
||||
struct {
|
||||
const struct wlr_vk_format *format;
|
||||
enum wlr_color_encoding encoding;
|
||||
enum wlr_color_range range;
|
||||
} ycbcr;
|
||||
};
|
||||
|
||||
struct wlr_vk_pipeline_layout {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue