metal: allow configuring color space and transfer function
This commit is contained in:
parent
04f280aabe
commit
bb56efb968
38 changed files with 1365 additions and 160 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue