diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-10 20:59:17 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-10 20:59:17 +0100 |
commit | f3c32a880a426d8365f01ba7d61d81b75c04d9bc (patch) | |
tree | d4cfa97f27bd56b9b0aa39ac849d2be8f1bc1fb4 /include/color_conversion.h | |
parent | fc5ddc97cf0293a2aff74e47a28d4d49a8b63f17 (diff) |
Fix cursor capture in nvidia wayland, hdr, clear background immediately in window capture
Diffstat (limited to 'include/color_conversion.h')
-rw-r--r-- | include/color_conversion.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h index 1848715..d05df6a 100644 --- a/include/color_conversion.h +++ b/include/color_conversion.h @@ -16,7 +16,6 @@ typedef enum { } gsr_source_color; typedef enum { - GSR_DESTINATION_COLOR_BGR, // TODO: remove GSR_DESTINATION_COLOR_NV12, /* YUV420, BT709, 8-bit */ GSR_DESTINATION_COLOR_P010 /* YUV420, BT2020, 10-bit */ } gsr_destination_color; @@ -36,12 +35,13 @@ typedef struct { int num_destination_textures; gsr_color_range color_range; + bool load_external_image_shader; } gsr_color_conversion_params; typedef struct { gsr_color_conversion_params params; - gsr_color_uniforms uniforms[2]; - gsr_shader shaders[2]; + gsr_color_uniforms uniforms[4]; + gsr_shader shaders[4]; unsigned int framebuffers[2]; |