diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2020-02-19 14:51:50 -0800 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-03-23 19:52:27 +0000 |
commit | 6d64e4cc8b6846bed6a242ff90403c0310208fdc (patch) | |
tree | eec497099843528e733c5ae356a33195498e6116 /lib/colord/cd-icc.h | |
parent | 78365e9b5ecf6352ed95f46d8dde0313e10c5796 (diff) | |
download | colord-6d64e4cc8b6846bed6a242ff90403c0310208fdc.tar.gz |
libcolord: Add cd_icc_create_default_full
The existing cd_icc_create_default creates a CdIcc with none of the load flags
set. A future change to gnome-settings-daemon is going to want to load an sRGB
profile with CD_ICC_LOAD_FLAGS_PRIMARIES in order to use it to construct a color
transformation matrix to plug into the window system.
Diffstat (limited to 'lib/colord/cd-icc.h')
-rw-r--r-- | lib/colord/cd-icc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/colord/cd-icc.h b/lib/colord/cd-icc.h index 31699eb..f1d6dd7 100644 --- a/lib/colord/cd-icc.h +++ b/lib/colord/cd-icc.h @@ -255,6 +255,10 @@ gboolean cd_icc_create_from_edid_data (CdIcc *icc, gboolean cd_icc_create_default (CdIcc *icc, GError **error) G_GNUC_WARN_UNUSED_RESULT; +gboolean cd_icc_create_default_full (CdIcc *icc, + CdIccLoadFlags flags, + GError **error) + G_GNUC_WARN_UNUSED_RESULT; GPtrArray *cd_icc_get_vcgt (CdIcc *icc, guint size, GError **error) |