aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2018-06-17 22:48:05 -0700
committerLukas Rusak <lorusak@gmail.com>2018-06-17 22:48:05 -0700
commitdbb7f60b23bb10607fb868736588c160cca79e0d (patch)
treeabbcc113216bf60df6e2dffa9b8bedb4c833bb1a /system
parent3374371b06a5adbd731addb110c9a4131672cafd (diff)
settings: add setting for PRIME renderer type
Diffstat (limited to 'system')
-rw-r--r--system/settings/gbm.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/settings/gbm.xml b/system/settings/gbm.xml
index 66a4b44482..a223be5e6c 100644
--- a/system/settings/gbm.xml
+++ b/system/settings/gbm.xml
@@ -8,6 +8,23 @@
<default>true</default>
<control type="toggle" />
</setting>
+ <setting id="videoplayer.useprimerenderer" type="integer" label="13462" help="13463">
+ <visible>true</visible>
+ <dependencies>
+ <dependency type="enable">
+ <condition setting="videoplayer.useprimedecoder" operator="is">true</condition>
+ </dependency>
+ </dependencies>
+ <level>2</level>
+ <default>0</default>
+ <constraints>
+ <options>
+ <option label="13464">0</option> <!-- DIRECT -->
+ <option label="13465">1</option> <!-- GLES -->
+ </options>
+ </constraints>
+ <control type="spinner" format="string" />
+ </setting>
</group>
</category>
</section>