[xdg-desktop-portal-gnome/gnome-41] Force the cairo renderer for now



commit 447b704477740631cac621188a1913349ff4e967
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Sep 23 17:01:55 2021 -0300

    Force the cairo renderer for now
    
    Ideally we'd be using the GL renderer everywhere, but seems like
    Mesa does not enjoy when we use GLX and EGL simultaneously. When
    EGL on X11 becomes a reality, let's revert this change.
    
    Closes https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/5

 src/xdg-desktop-portal-gnome.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/xdg-desktop-portal-gnome.c b/src/xdg-desktop-portal-gnome.c
index d704014..4938052 100644
--- a/src/xdg-desktop-portal-gnome.c
+++ b/src/xdg-desktop-portal-gnome.c
@@ -183,6 +183,7 @@ main (int argc, char *argv[])
 
   /* Avoid pointless and confusing recursion */
   g_unsetenv ("GTK_USE_PORTAL");
+  g_setenv ("GSK_RENDERER", "cairo", TRUE);
 
   gtk_init ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]