Support nvidia wayland bit depth over 8 bit (fixes incorrect colors on some systems running kde plasma)

This commit is contained in:
dec05eba
2023-11-18 13:18:26 +01:00
parent aee744c67a
commit 7bc7269652
3 changed files with 146 additions and 46 deletions

View File

@@ -9,7 +9,7 @@ typedef enum {
} gsr_source_color;
typedef enum {
GSR_DESTINATION_COLOR_RGB,
GSR_DESTINATION_COLOR_BGR,
GSR_DESTINATION_COLOR_NV12 /* YUV420, BT709, limited */
} gsr_destination_color;