[mutter] kms-types: Add type MetaKmsRange



commit f7654374103698443cd3975b16c32e205a225847
Author: Daniel van Vugt <daniel van vugt canonical com>
Date:   Tue May 17 16:46:52 2022 +0800

    kms-types: Add type MetaKmsRange
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2412>

 src/backends/native/meta-kms-types.h | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/backends/native/meta-kms-types.h b/src/backends/native/meta-kms-types.h
index a2e2f8ded3..81fcad0e66 100644
--- a/src/backends/native/meta-kms-types.h
+++ b/src/backends/native/meta-kms-types.h
@@ -89,4 +89,11 @@ typedef enum _MetaKmsPropType
   META_KMS_PROP_TYPE_FIXED_16,
 } MetaKmsPropType;
 
+typedef struct _MetaKmsRange
+{
+  uint64_t value;
+  uint64_t min_value;
+  uint64_t max_value;
+} MetaKmsRange;
+
 #endif /* META_KMS_IMPL_TYPES_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]