summaryrefslogtreecommitdiff
path: root/editor/icons/icon_material_preview_cube.svg
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2019-01-27 22:31:38 +0000
committerHein-Pieter van Braam <hp@tmm.cx>2019-01-28 16:21:07 +0000
commit9c308023bb787795a01197459fc34456adfd893e (patch)
tree78b683496bc150abfdf816c8d018deaf075e7890 /editor/icons/icon_material_preview_cube.svg
parent59459ed4b2e03b47e3b7a4c9da6cf42e3969d0bd (diff)
Properly detect when to use DRI_PRIME
We fork off twice once with and once without DIR_PRIME=1 set. We then use the vendor string to determine what GPU to use. We prefer (in order) 1) AMDGPU/AMDGPU-PRO/NVidia non-free driver 2) Intel driver 3) Nouveau 4) Software rendering If a driver can't be detected it will default to DRI_PRIME=0
Diffstat (limited to 'editor/icons/icon_material_preview_cube.svg')
0 files changed, 0 insertions, 0 deletions