output: Declare color mode type in backend types

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4271>
This commit is contained in:
Jonas Ådahl 2025-02-25 17:42:55 +08:00 committed by Marge Bot
parent 463eb3993b
commit ad77344809
2 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,8 @@ typedef struct _MetaColorManager MetaColorManager;
typedef struct _MetaColorProfile MetaColorProfile; typedef struct _MetaColorProfile MetaColorProfile;
typedef struct _MetaColorStore MetaColorStore; typedef struct _MetaColorStore MetaColorStore;
typedef enum _MetaColorMode MetaColorMode;
typedef struct _MetaMonitorManager MetaMonitorManager; typedef struct _MetaMonitorManager MetaMonitorManager;
typedef struct _MetaMonitorConfigManager MetaMonitorConfigManager; typedef struct _MetaMonitorConfigManager MetaMonitorConfigManager;

View File

@ -40,11 +40,11 @@ typedef enum
META_OUTPUT_HDR_METADATA_EOTF_HLG, META_OUTPUT_HDR_METADATA_EOTF_HLG,
} MetaOutputHdrMetadataEOTF; } MetaOutputHdrMetadataEOTF;
typedef enum _MetaColorMode enum _MetaColorMode
{ {
META_COLOR_MODE_DEFAULT = 0, META_COLOR_MODE_DEFAULT = 0,
META_COLOR_MODE_BT2100 = 1, META_COLOR_MODE_BT2100 = 1,
} MetaColorMode; };
typedef enum _MetaOutputRGBRange typedef enum _MetaOutputRGBRange
{ {