gtk/gdk/x11
Emmanuele Bassi a834078804 x11/gl: Do not specify the GLX context version
If we use GDK_GL_PROFILE_3_2_CORE we are asking for a core profile
according to the GLX_ARB_create_context_profile extension. For that,
we pass the GLX_CONTEXT_CORE_PROFILE_BIT_ARB value for the
GLX_CONTEXT_PROFILE_MASK_ARB attribute.

The specification for the extension says that:

  If the requested OpenGL version is less than 3.2,
  GLX_CONTEXT_PROFILE_MASK_ARB is ignored and the functionality
  of the context is determined solely by the requested version.

Since we're asking for a core profile, we assume a GL version greater
than or equal to 3.2; thus, we don't need to specify the
GLX_CONTEXT_MAJOR_VERSION_ARB or the GLX_CONTEXT_MINOR_VERSION_ARB
attributes, and instead just rely on whatever version GLX gives us.

This seems to work around a strange issue in Mesa; if we ask for a core
profile and any version > 3.0, we get broken rendering on any shared
context we create.
2015-01-10 00:07:51 +00:00
..
gdkapplaunchcontext-x11.c docs: use apostrophes in *n't 2014-02-07 13:32:47 -05:00
gdkasync.c all: Name more idles and timeouts 2014-03-26 20:09:30 -04:00
gdkasync.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursor-x11.c configure.ac: Depend on cairo 1.14.0 2014-11-10 15:12:17 +00:00
gdkdevice-core-x11.c Fix a thinko in creating event masks 2014-08-14 00:10:23 -04:00
gdkdevice-xi2.c x11: Unset GdkX11DeviceXI2 scroll valuators on device change 2013-11-22 12:49:32 +01:00
gdkdevicemanager-core-x11.c x11: Handle XINotifyPassiveGrab/Ungrab in focus events 2013-12-04 21:22:23 -05:00
gdkdevicemanager-x11.c docs: use apostrophes in *n't 2014-02-07 13:32:47 -05:00
gdkdevicemanager-xi2.c gdkdevicemanager-xi2: Add debug output for key events 2014-06-29 19:10:42 -04:00
gdkdevicemanagerprivate-core.h x11: Avoid spurious focus events on grabs 2012-03-07 15:35:21 +01:00
gdkdisplay-x11.c x11: Handle obsolete selection requests without crashing 2014-11-26 22:27:49 -05:00
gdkdisplay-x11.h X11: Pick better system and rgba visuals for GL 2014-10-29 13:35:17 +01:00
gdkdisplaymanager-x11.c displaymanager: Remove GInitable implementation 2013-05-02 16:17:30 +02:00
gdkdnd-x11.c x11: Fix possible leak of GdkEvents 2014-08-22 13:24:48 +02:00
gdkeventsource.c Handle recursion from motion event handlers 2013-11-11 23:17:14 -05:00
gdkeventsource.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkeventtranslator.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkeventtranslator.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkgeometry-x11.c x11: Keep track of the exact size in X pixels of windows 2014-11-20 12:38:04 +01:00
gdkglcontext-x11.c x11/gl: Do not specify the GLX context version 2015-01-10 00:07:51 +00:00
gdkglcontext-x11.h GdkX11GLContext: Use bitblit for swap if no buffer age support 2014-11-06 12:24:43 +01:00
gdkkeys-x11.c Fix an out-of-bounds access in MyEnhancedXkbTranslateKeyCode 2014-10-26 21:48:59 -04:00
gdkmain-x11.c X11: Don't assume all displays are X11 displays 2014-10-24 19:05:09 -04:00
gdkprivate-x11.h gdkwindow: Don't bother with a return parameter for queue_antiexpose 2014-06-21 18:45:39 -04:00
gdkproperty-x11.c Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkscreen-x11.c configure.ac: Depend on cairo 1.14.0 2014-11-10 15:12:17 +00:00
gdkscreen-x11.h X11: Pick better system and rgba visuals for GL 2014-10-29 13:35:17 +01:00
gdkselection-x11.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
gdksettings.c Add an XSetting for the session bus ID 2014-12-18 23:26:11 -05:00
gdktestutils-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisual-x11.c X11: Pick better system and rgba visuals for GL 2014-10-29 13:35:17 +01:00
gdkwindow-x11.c Make scale=2 work again 2014-11-24 10:02:54 -05:00
gdkwindow-x11.h x11: Keep track of the exact size in X pixels of windows 2014-11-20 12:38:04 +01:00
gdkx11applaunchcontext.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11cursor.h docs: don't use <type> tags 2014-01-28 00:21:26 -05:00
gdkx11device-core.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11device-xi2.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11device.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11devicemanager-core.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11devicemanager-xi2.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11devicemanager-xi.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11devicemanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11display.h x11: Add gdk_x11_display_set_window_scale 2013-08-20 11:15:08 +02:00
gdkx11displaymanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11dnd.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11glcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkx11keys.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11property.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkx11screen.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkx11selection.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11utils.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkx11visual.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkx11window.h docs: don't use <type> tags 2014-01-28 00:21:26 -05:00
gdkx.h gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
gdkxftdefaults.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkxid.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
Makefile.am gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
MwmUtil.h Change FSF Address 2012-02-27 17:06:11 +00:00
xsettings-client.c Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
xsettings-client.h Fix font size when gdk_x11_display_set_window_scale() is used 2014-03-06 23:20:00 -05:00