diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-02-26 14:04:05 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-02-27 16:29:33 +0100 |
commit | e5148100ae47633e05afbb97a29b06e00f82357d (patch) | |
tree | e9e8e7d97c331c649efd126b0439362bd5291658 /plugins | |
parent | 2b79fb84e985b03cb1a3cf4c79f580c69b94a53c (diff) | |
download | gnome-settings-daemon-e5148100ae47633e05afbb97a29b06e00f82357d.tar.gz |
xsettings: Make it possible to ignore llvmpipe
So that we can test out vino support.
https://bugzilla.gnome.org/show_bug.cgi?id=786694
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xsettings/gsd-remote-display-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/xsettings/gsd-remote-display-manager.c b/plugins/xsettings/gsd-remote-display-manager.c index 040bd654..ed2c23e5 100644 --- a/plugins/xsettings/gsd-remote-display-manager.c +++ b/plugins/xsettings/gsd-remote-display-manager.c @@ -184,6 +184,9 @@ gsd_display_has_llvmpipe (void) guchar *data; GdkDisplay *display; + if (g_getenv ("GSD_ignore_llvmpipe") != NULL) + return FALSE; + display = gdk_display_get_default (); is_software_rendering_atom = gdk_x11_get_xatom_by_name_for_display (display, "_GNOME_IS_SOFTWARE_RENDERING"); gdk_x11_display_error_trap_push (display); |