summaryrefslogtreecommitdiff
path: root/tools/mate-session-check-accelerated-gles-helper.c
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19mate-session-check-accelerated-gles-helper: fixesrbuj1-9/+40
cppcheck: Condition 'renderer!=NULL' is always false ifdef GDK_WINDOWING_X11 char *renderer = ... ... endif out: Apply Fedora patch: egl_dpy = get_display (display); From: Adam Jackson Date: Tue, 4 Oct 2016 13:15:39 -0400 Subject: [PATCH] check-accelerated-gles: Use eglGetPlatformDisplay{,EXT} eglGetDisplay forces the implementation to guess, and in general it can't guess correctly. Be explicit. https://src.fedoraproject.org/rpms/gnome-session/blob/master/f/0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch deprecations (gdk_error_trap_push & gdk_error_trap_pop_ignored): gdk_x11_display_error_trap_push (gdk_dpy); ... gdk_x11_display_error_trap_pop_ignored (gdk_dpy);
2019-04-19Add mate_session_check_accelerated helpersrbuj1-0/+201
tools/mate-session-check-accelerated.{c,h} tools/mate-session-check-accelerated-gles-helper.c tools/mate-session-check-accelerated-gl-helper.c based on https://github.com/GNOME/gnome-session/commit/3aafcf0f0129e28b5c52f32284f1164a93867ea3 configure.ac tools/Makefile.am based on: based on https://github.com/GNOME/gnome-session/tree/eeefdc8e1a436d0c58cea756e8a3ea63e59145b5