aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-01-27 23:43:06 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-01-28 00:09:15 +0100
commit04b0b0caf46f9b0f408b7c4d2774f96335c487a6 (patch)
treed9e5634954488cd983c3475c5531b6549993b169 /fiv-io.h
parent250f2f0f758a5f3ea0f3174843dbf55fc73b1370 (diff)
downloadfiv-04b0b0caf46f9b0f408b7c4d2774f96335c487a6.tar.gz
fiv-04b0b0caf46f9b0f408b7c4d2774f96335c487a6.tar.xz
fiv-04b0b0caf46f9b0f408b7c4d2774f96335c487a6.zip
WIP: Thread-safe colour management
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fiv-io.h b/fiv-io.h
index 94a15e1..d86c80a 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -25,12 +25,10 @@
typedef enum _FivIoOrientation FivIoOrientation;
typedef struct _FivIoRenderClosure FivIoRenderClosure;
typedef struct _FivIoImage FivIoImage;
+typedef struct _FivIoProfile FivIoProfile;
// --- Colour management -------------------------------------------------------
-// TODO(p): Make it also possible to use Skia's skcms.
-// TODO(p): Profiles might want to keep references to their CMM contexts.
-typedef void *FivIoProfile;
GBytes *fiv_io_profile_to_bytes(FivIoProfile *profile);
void fiv_io_profile_free(FivIoProfile *self);