1
0
Fork 0
forked from wry/wry

cmm: add color-management module

This commit is contained in:
Julian Orth 2025-03-01 13:54:12 +01:00
parent ed1955d3d1
commit 82085a3858
27 changed files with 1182 additions and 20 deletions

View file

@ -67,6 +67,7 @@ macro_rules! dynload {
use {
crate::{
cmm::cmm_transfer_function::TransferFunction,
gfx_api::{
AcquireSync, CopyTexture, FillRect, GfxApiOpt, GfxContext, GfxError, GfxTexture,
ReleaseSync, SyncFile,
@ -84,7 +85,7 @@ use {
GL_TRIANGLE_STRIP, GL_TRIANGLES,
},
},
theme::{Color, TransferFunction},
theme::Color,
utils::{errorfmt::ErrorFmt, rc_eq::rc_eq, vecstorage::VecStorage},
video::{
dmabuf::DMA_BUF_SYNC_READ,

View file

@ -1,5 +1,6 @@
use {
crate::{
cmm::cmm_transfer_function::TransferFunction,
format::Format,
gfx_api::{
AcquireSync, AsyncShmGfxTextureCallback, GfxApiOpt, GfxBlendBuffer, GfxError,
@ -18,7 +19,7 @@ use {
sys::{GL_ONE, GL_ONE_MINUS_SRC_ALPHA},
},
rect::Region,
theme::{Color, TransferFunction},
theme::Color,
},
std::{
cell::Cell,

View file

@ -1,6 +1,7 @@
use {
crate::{
async_engine::{AsyncEngine, SpawnedFuture},
cmm::cmm_transfer_function::TransferFunction,
cpu_worker::PendingJob,
format::XRGB8888,
gfx_api::{
@ -30,7 +31,7 @@ use {
},
io_uring::IoUring,
rect::{Rect, Region},
theme::{Color, TransferFunction},
theme::Color,
utils::{copyhashmap::CopyHashMap, errorfmt::ErrorFmt, numcell::NumCell, stack::Stack},
video::dmabuf::{DMA_BUF_SYNC_READ, DMA_BUF_SYNC_WRITE, dma_buf_export_sync_file},
},