DisplayConfig: Advertise monitor color standard support

It'll be used to allow Settings to know whether it can enable HDR or
not.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4192>
This commit is contained in:
Jonas Ådahl
2024-12-12 12:49:16 +01:00
committed by Marge Bot
parent f1e497acfa
commit a39e941f91
4 changed files with 38 additions and 8 deletions

View File

@ -12,10 +12,11 @@ Monitors:
│ │ └──Properties: (2)
│ │ ├──is-current ⇒ yes
│ │ └──is-preferred ⇒ yes
│ └──Properties: (3)
│ └──Properties: (4)
│ ├──is-builtin ⇒ no
│ ├──display-name ⇒ MetaProduct's Inc. 14"
──is-for-lease ⇒ no
──is-for-lease ⇒ no
│ └──supported-color-modes ⇒ [0]
└──Monitor DP-2 (MetaProduct's Inc. 13")
├──Vendor: MetaProduct's Inc.
├──Product: MetaMonitor
@ -29,10 +30,11 @@ Monitors:
│ └──Properties: (2)
│ ├──is-current ⇒ yes
│ └──is-preferred ⇒ yes
└──Properties: (3)
└──Properties: (4)
├──is-builtin ⇒ no
├──display-name ⇒ MetaProduct's Inc. 13"
──is-for-lease ⇒ no
──is-for-lease ⇒ no
└──supported-color-modes ⇒ [0]
Logical monitors:
├──Logical monitor #1

View File

@ -30,10 +30,11 @@ Monitors:
│ │ ├──Preferred scale: 1.0
│ │ ├──Supported scales: [1.0, 1.25, 1.5, 1.7475727796554565]
│ │ └──Properties: (0)
│ └──Properties: (3)
│ └──Properties: (4)
│ ├──is-builtin ⇒ no
│ ├──display-name ⇒ MetaProduct's Inc. 14"
──is-for-lease ⇒ no
──is-for-lease ⇒ no
│ └──supported-color-modes ⇒ [0]
└──Monitor DP-2 (MetaProduct's Inc. 13")
├──Vendor: MetaProduct's Inc.
├──Product: MetaMonitor
@ -65,10 +66,11 @@ Monitors:
│ ├──Preferred scale: 1.0
│ ├──Supported scales: [1.0]
│ └──Properties: (0)
└──Properties: (3)
└──Properties: (4)
├──is-builtin ⇒ no
├──display-name ⇒ MetaProduct's Inc. 13"
──is-for-lease ⇒ no
──is-for-lease ⇒ no
└──supported-color-modes ⇒ [0]
Logical monitors:
├──Logical monitor #1