kms-types: Add type MetaKmsRange

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2412>
This commit is contained in:
Daniel van Vugt 2022-05-17 16:46:52 +08:00 committed by Marge Bot
parent f760b47a3c
commit f765437410

View File

@ -89,4 +89,11 @@ typedef enum _MetaKmsPropType
META_KMS_PROP_TYPE_FIXED_16, META_KMS_PROP_TYPE_FIXED_16,
} MetaKmsPropType; } MetaKmsPropType;
typedef struct _MetaKmsRange
{
uint64_t value;
uint64_t min_value;
uint64_t max_value;
} MetaKmsRange;
#endif /* META_KMS_IMPL_TYPES_H */ #endif /* META_KMS_IMPL_TYPES_H */