1
0
Fork 0
forked from wry/wry

metal: allow configuring color space and transfer function

This commit is contained in:
Julian Orth 2025-03-11 14:54:35 +01:00
parent 04f280aabe
commit bb56efb968
38 changed files with 1365 additions and 160 deletions

View file

@ -80,6 +80,12 @@ request set_flip_margin (since = 10) {
margin_ns: pod(u64),
}
request set_colors (since = 15) {
output: str,
color_space: str,
transfer_function: str,
}
# events
event global {
@ -160,3 +166,19 @@ event fb_format (since = 8) {
event flip_margin (since = 10) {
margin_ns: pod(u64),
}
event supported_color_space (since = 15) {
color_space: str,
}
event current_color_space (since = 15) {
color_space: str,
}
event supported_transfer_function (since = 15) {
transfer_function: str,
}
event current_transfer_function (since = 15) {
transfer_function: str,
}