diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2021-10-25 10:50:02 +0200 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2022-09-01 14:31:40 +0000 |
commit | 20a91aa4e98ee237892f95d20792e6a38fc45273 (patch) | |
tree | 41473ddc04de79bb661529b92c84c86ef8387f76 /src/backends/meta-backend-private.h | |
parent | 3faf1f15d7a15ab8cfa3de2e2653fd92467a72a8 (diff) | |
download | mutter-20a91aa4e98ee237892f95d20792e6a38fc45273.tar.gz |
backend: Add color manager skeleton
Create a color manager type that eventually will be the high level
manager of color related behavior, such as ICC profiles and
color "temperature" a.k.a. night light.
For now, it's only an empty shell. It's also constructed by the actual
backend, as at a later point, the X11 and native color management
implementations will differ.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2141>
Diffstat (limited to 'src/backends/meta-backend-private.h')
-rw-r--r-- | src/backends/meta-backend-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backends/meta-backend-private.h b/src/backends/meta-backend-private.h index ce703dfa3..f85ef1b60 100644 --- a/src/backends/meta-backend-private.h +++ b/src/backends/meta-backend-private.h @@ -67,6 +67,7 @@ struct _MetaBackendClass MetaMonitorManager * (* create_monitor_manager) (MetaBackend *backend, GError **error); + MetaColorManager * (* create_color_manager) (MetaBackend *backend); MetaCursorRenderer * (* get_cursor_renderer) (MetaBackend *backend, ClutterInputDevice *device); MetaCursorTracker * (* create_cursor_tracker) (MetaBackend *backend); @@ -130,6 +131,8 @@ MetaIdleMonitor * meta_backend_get_idle_monitor (MetaBackend *backend, MetaIdleManager * meta_backend_get_idle_manager (MetaBackend *backend); +MetaColorManager * meta_backend_get_color_manager (MetaBackend *backend); + META_EXPORT_TEST MetaOrientationManager * meta_backend_get_orientation_manager (MetaBackend *backend); META_EXPORT_TEST |