diff --git a/0001-st-mesa-suppress-async-glthread-flushing-for-GLX_EXT.patch b/0001-st-mesa-suppress-async-glthread-flushing-for-GLX_EXT.patch deleted file mode 100644 index af02b2c..0000000 --- a/0001-st-mesa-suppress-async-glthread-flushing-for-GLX_EXT.patch +++ /dev/null @@ -1,41 +0,0 @@ -From d871958702ebcd46213cd09b91b9b05685f9be62 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= -Date: Thu, 17 Nov 2022 08:31:33 -0500 -Subject: [PATCH] st/mesa: suppress async glthread flushing for - GLX_EXT_texture_from_pixmap - -This might fix some window system issues. - -Fixes: 3da170faaec - glthread: change when glFlush flushes asynchronously - -Acked-by: Pierre-Eric Pelloux-Prayer -Part-of: ---- - src/mesa/state_tracker/st_manager.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c -index 0e8644f2b8d..575b72937c7 100644 ---- a/src/mesa/state_tracker/st_manager.c -+++ b/src/mesa/state_tracker/st_manager.c -@@ -832,6 +832,9 @@ st_context_flush(struct st_context_iface *stctxi, unsigned flags, - st->gfx_shaders_may_be_dirty = true; - } - -+/* This is only for GLX_EXT_texture_from_pixmap and equivalent features -+ * in EGL and WGL. -+ */ - static bool - st_context_teximage(struct st_context_iface *stctxi, - enum st_texture_type tex_type, -@@ -915,6 +918,7 @@ st_context_teximage(struct st_context_iface *stctxi, - texObj->needs_validation = true; - - _mesa_dirty_texobj(ctx, texObj); -+ ctx->Shared->HasExternallySharedImages = true; - _mesa_unlock_texture(ctx, texObj); - - return true; --- -2.38.1 - diff --git a/gnome-shell-glthread-disable.patch b/gnome-shell-glthread-disable.patch new file mode 100644 index 0000000..b2caeb8 --- /dev/null +++ b/gnome-shell-glthread-disable.patch @@ -0,0 +1,11 @@ +diff -up mesa-22.3.0-rc4/src/util/00-mesa-defaults.conf.dma mesa-22.3.0-rc4/src/util/00-mesa-defaults.conf +--- mesa-22.3.0-rc4/src/util/00-mesa-defaults.conf.dma 2022-11-25 10:32:32.175879868 +1000 ++++ mesa-22.3.0-rc4/src/util/00-mesa-defaults.conf 2022-11-25 10:32:43.743067470 +1000 +@@ -653,6 +653,7 @@ TODO: document the other workarounds. + + + +