SHA256
1
0
forked from pool/Mesa
Mesa/n_drirc-disable-rgb10-for-chromium-on-amd.patch
Stefan Dirsch ffe6cd2257 Accepting request 778189 from home:seilerphilipp:mesa
- update to mesa 20.0.0
* changelog https://mesa3d.org/relnotes/20.0.0.html
- supersedes U_0001-gallium-Fix-a-couple-of-multiple-definition-warnings.patch
- supersedes U_0002-r600-Move-get_pic_param-to-radeon_vce.c.patch
- supersedes U_0003-radeon-Move-si_get_pic_param-to-radeon_vce.c.patch
- supersedes U_0004-radeon-Fix-multiple-definition-error-with-radeon_deb.patch
- supersedes U_0006-nouveau-nvc0-add-extern-keyword-to-nvc0_miptree_vtbl.patch
- update to patch n_add-Mesa-headers-again.patch to fit v20.0.0 sources
- update to patch n_drirc-disable-rgb10-for-chromium-on-amd.patch to fit v20.0.0 sources (fixed patch itself so it fits the correct section again)

OBS-URL: https://build.opensuse.org/request/show/778189
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=929
2020-02-22 20:13:57 +00:00

19 lines
1.3 KiB
Diff

diff -dupr mesa-20.0.0.orig/src/util/00-mesa-defaults.conf mesa-20.0.0/src/util/00-mesa-defaults.conf
--- mesa-20.0.0.orig/src/util/00-mesa-defaults.conf 2020-02-19 20:29:32.000000000 +0100
+++ mesa-20.0.0/src/util/00-mesa-defaults.conf 2020-02-22 12:10:47.118008543 +0100
@@ -556,6 +556,14 @@ TODO: document the other workarounds.
<application name="DiRT Rally" executable="DirtRally">
<option name="radeonsi_prim_restart_tri_strips_only" value="true"/>
</application>
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Chromium. https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
+ <application name="Chromium" executable="chromium">
+ <option name="allow_rgb10_configs" value="false" />
+ </application>
+ <!-- This is workaround to prevent distorted colors on hardware accelerated video in Totem. https://bugzilla.opensuse.org/show_bug.cgi?id=1142270 -->
+ <application name="Totem" executable="totem">
+ <option name="allow_rgb10_configs" value="false" />
+ </application>
<application name="Gfx Bench" executable="gfxbench_gl">
<!-- Helps offscreen tests -->
<option name="mesa_glthread" value="true"/>