mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 13:08:15 +02:00
util: add a separate file for vmgfx drirc
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41731>
This commit is contained in:
parent
e6730910be
commit
0de4d3d9c6
3 changed files with 19 additions and 12 deletions
|
|
@ -797,18 +797,6 @@ TODO: document the other workarounds.
|
|||
<option name="wgl_require_gdi_compat" value="true" />
|
||||
</application>
|
||||
</device>
|
||||
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
|
||||
<device driver="vmwgfx">
|
||||
<application name="gnome-shell" executable="gnome-shell">
|
||||
<option name="glx_extension_override" value="-GLX_OML_sync_control -GLX_SGI_video_sync" />
|
||||
</application>
|
||||
<application name="cinnamon" executable="cinnamon">
|
||||
<option name="glx_extension_override" value="-GLX_OML_sync_control -GLX_SGI_video_sync" />
|
||||
</application>
|
||||
<application name="Compiz" executable="Compiz">
|
||||
<option name="glx_extension_override" value="-GLX_OML_sync_control" />
|
||||
</application>
|
||||
</device>
|
||||
<device driver="hasvk">
|
||||
<application name="Aperture Desk Job" executable="deskjob">
|
||||
<option name="anv_assume_full_subgroups" value="32" />
|
||||
|
|
|
|||
15
src/util/00-vmwgfx-defaults.conf
Normal file
15
src/util/00-vmwgfx-defaults.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0"?>
|
||||
<driconf>
|
||||
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
|
||||
<device driver="vmwgfx">
|
||||
<application name="gnome-shell" executable="gnome-shell">
|
||||
<option name="glx_extension_override" value="-GLX_OML_sync_control -GLX_SGI_video_sync" />
|
||||
</application>
|
||||
<application name="cinnamon" executable="cinnamon">
|
||||
<option name="glx_extension_override" value="-GLX_OML_sync_control -GLX_SGI_video_sync" />
|
||||
</application>
|
||||
<application name="Compiz" executable="Compiz">
|
||||
<option name="glx_extension_override" value="-GLX_OML_sync_control" />
|
||||
</application>
|
||||
</device>
|
||||
</driconf>
|
||||
|
|
@ -285,6 +285,10 @@ if with_gallium_d3d12
|
|||
files_drirc += files('00-d3d12-defaults.conf')
|
||||
endif
|
||||
|
||||
if with_gallium_svga
|
||||
files_drirc += files('00-vmwgfx-defaults.conf')
|
||||
endif
|
||||
|
||||
drirc_gen = files('drirc_gen.py')
|
||||
|
||||
if with_tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue