Mesa (main): mesa: enable force_direct_glx_context for DiscoveryStudio2020

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 4 13:31:16 UTC 2021


Module: Mesa
Branch: main
Commit: a21c0f531ec3a88003f5dce86c8b3d0ad4ea406a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a21c0f531ec3a88003f5dce86c8b3d0ad4ea406a

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Wed Oct  6 14:49:01 2021 +0200

mesa: enable force_direct_glx_context for DiscoveryStudio2020

This app uses Qt4.8 which uses an indirect context to save a GL scene to
a pixmap.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13246>

---

 src/util/00-mesa-defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 295e95744a9..a30abbb9ced 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -341,6 +341,10 @@ TODO: document the other workarounds.
             <option name="force_glsl_extensions_warn" value="true" />
         </application>
 
+        <application name="Discovery Studio 2020" executable="DiscoveryStudio2020-bin">
+            <option name="force_direct_glx_context" value="true" />
+        </application>
+
         <!-- The GL thread allowlist is below, workarounds are above.
              Keep it that way. -->
 



More information about the mesa-commit mailing list