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
|
|
@ -4,7 +4,7 @@ use {
|
|||
crate::{
|
||||
acceptor::{Acceptor, AcceptorError},
|
||||
async_engine::{AsyncEngine, Phase, SpawnedFuture},
|
||||
backend::{self, Backend, Connector},
|
||||
backend::{self, Backend, BackendColorSpace, BackendTransferFunction, Connector},
|
||||
backends::{
|
||||
dummy::{DummyBackend, DummyOutput},
|
||||
metal, x,
|
||||
|
|
@ -12,7 +12,7 @@ use {
|
|||
cli::{CliBackend, GlobalArgs, RunArgs},
|
||||
client::{ClientId, Clients},
|
||||
clientmem::{self, ClientMemError},
|
||||
cmm::cmm_manager::ColorManager,
|
||||
cmm::{cmm_manager::ColorManager, cmm_primaries::Primaries},
|
||||
config::ConfigProxy,
|
||||
cpu_worker::{CpuWorker, CpuWorkerError},
|
||||
damage::{DamageVisualizer, visualize_damage},
|
||||
|
|
@ -574,6 +574,12 @@ fn create_dummy_output(state: &Rc<State>) {
|
|||
0,
|
||||
&output_id,
|
||||
&persistent_state,
|
||||
Vec::new(),
|
||||
BackendTransferFunction::Default,
|
||||
Vec::new(),
|
||||
BackendColorSpace::Default,
|
||||
Primaries::SRGB,
|
||||
None,
|
||||
)),
|
||||
jay_outputs: Default::default(),
|
||||
workspaces: Default::default(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue