aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorthexai <58434170+thexai@users.noreply.github.com>2023-02-19 17:48:28 +0100
committerGitHub <noreply@github.com>2023-02-19 17:48:28 +0100
commit1022a8bb5cc6dbb1532c4986e9bb0ed868d3a2af (patch)
tree845898d24f65832c9d26e6d7bd35c85f333e747b /system
parentd6b7888b512fb422b2e6d1e099d972497bc39dbf (diff)
parente071edeb9c04ed9da4257846933ff49c8ea6c572 (diff)
Merge pull request #22756 from CrystalP/system-sdr-max-lum
[Windows] Add setting to use OS max SDR brightness when the output is in HDR PQ mode
Diffstat (limited to 'system')
-rwxr-xr-xsystem/settings/settings.xml47
1 files changed, 33 insertions, 14 deletions
diff --git a/system/settings/settings.xml b/system/settings/settings.xml
index 51daf1ec2d..4cb005acb6 100755
--- a/system/settings/settings.xml
+++ b/system/settings/settings.xml
@@ -2592,17 +2592,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>
@@ -2821,7 +2810,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>
@@ -2851,7 +2870,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>
@@ -2872,7 +2891,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 -->