mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
render: introduce bt.1886 transfer function
This commit is contained in:
parent
d8fb7adcf0
commit
6e1c8748ff
10 changed files with 52 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ static bool get_tf_preference(enum wlr_color_transfer_function tf) {
|
|||
return 0;
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ:
|
||||
return 1;
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_BT1886:
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_SRGB:
|
||||
case WLR_COLOR_TRANSFER_FUNCTION_EXT_LINEAR:
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue