cmm: enable using the display primaries in SDR mode
This commit is contained in:
parent
2b7b3b5310
commit
67760e270e
19 changed files with 259 additions and 21 deletions
|
|
@ -1005,6 +1005,17 @@ impl OutputNode {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn set_use_native_gamut(&self, use_native_gamut: bool) {
|
||||
let old = self
|
||||
.global
|
||||
.persistent
|
||||
.use_native_gamut
|
||||
.replace(use_native_gamut);
|
||||
if old != use_native_gamut {
|
||||
self.update_color_description();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn set_blend_space(&self, blend_space: BlendSpace) {
|
||||
let old = self.global.persistent.blend_space.replace(blend_space);
|
||||
if old != blend_space {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue