diff options
author | CrystalP <crystalp@kodi.tv> | 2023-02-12 00:29:41 -0500 |
---|---|---|
committer | CrystalP <crystalp@kodi.tv> | 2023-02-16 16:45:45 -0500 |
commit | e071edeb9c04ed9da4257846933ff49c8ea6c572 (patch) | |
tree | 510f8f4542c5e8f176aef145ced7990e101d336a /system | |
parent | 3d6a69e598e6b803cf5e3950274b3ee93a59d767 (diff) |
[Windows] Added setting to use Windows HDR/SDR brightness balance when available
Diffstat (limited to 'system')
-rwxr-xr-x | system/settings/settings.xml | 47 |
1 files changed, 33 insertions, 14 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml index 1b998bcc66..00da8eac00 100755 --- a/system/settings/settings.xml +++ b/system/settings/settings.xml @@ -2591,17 +2591,6 @@ </constraints> <control type="spinner" format="string" /> </setting> - <setting id="videoscreen.guisdrpeakluminance" type="integer" label="36097" help="36547"> - <requirement>HAS_DX</requirement> - <dependencies> - <dependency type="visible"> - <condition on="property" name="ishdrdisplay" /> - </dependency> - </dependencies> - <level>2</level> - <default>60</default> - <control type="slider" format="percentage" range="0,100" /> - </setting> <setting id="videoscreen.10bitsurfaces" type="integer" label="36098" help="36578"> <requirement>HAS_DX</requirement> <level>3</level> @@ -2820,7 +2809,37 @@ <control type="spinner" format="integer" /> </setting> </group> - <group id="2" label="14126"> + <group id="2" label="39191"> + <setting id="videoscreen.usesystemsdrpeakluminance" type="boolean" label="36096" help="39190"> + <level>2</level> + <default>true</default> + <dependencies> + <dependency type="visible"> + <and> + <condition on="property" name="ishdrdisplay" /> + <condition on="property" name="hassystemsdrpeakluminance" /> + </and> + </dependency> + </dependencies> + <control type="toggle" /> + </setting> + <setting id="videoscreen.guisdrpeakluminance" type="integer" label="36097" help="36547"> + <requirement>HAS_DX</requirement> + <dependencies> + <dependency type="visible" on="property" name="ishdrdisplay"/> + <dependency type="enable"> + <or> + <condition on="property" name="hassystemsdrpeakluminance" operator="!is" /> + <condition setting="videoscreen.usesystemsdrpeakluminance" operator="is">false</condition> + </or> + </dependency> + </dependencies> + <level>2</level> + <default>60</default> + <control type="slider" format="percentage" range="0,100" /> + </setting> + </group> + <group id="3" label="14126"> <setting id="videoscreen.whitelist" type="list[string]" parent="videoscreen.screen" label="14126" help="36443"> <level>3</level> <default></default> @@ -2850,7 +2869,7 @@ <control type="toggle" /> </setting> </group> - <group id="3" label="14232"> + <group id="4" label="14232"> <setting id="videoscreen.stereoscopicmode" type="integer" label="36500" help="36539"> <level>2</level> <default>0</default> @@ -2871,7 +2890,7 @@ <control type="list" format="integer"/> </setting> </group> - <group id="4" label="496"> + <group id="5" label="496"> <setting id="videoscreen.noofbuffers" type="integer" label="36043" help="36552"> <level>2</level> <default>3</default> <!-- triple buffers --> |