Files
gtk3/gdk
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
..
2014-12-15 11:25:43 +00:00
2014-12-28 18:13:34 -08:00
2014-12-22 11:25:49 +08:00
2014-10-13 10:43:31 -04:00
2014-10-13 10:43:31 -04:00
2014-10-28 00:38:59 -04:00
2014-11-28 14:25:42 -05:00
2014-09-01 19:17:53 +02:00
2014-09-01 19:17:53 +02:00
2014-06-11 21:55:15 -04:00
2014-02-07 13:06:10 -05:00
2014-11-07 07:10:49 -05:00
2014-11-06 12:24:43 +01:00
2013-04-19 20:11:39 -04:00
2014-06-11 21:55:15 -04:00
2013-04-19 20:11:38 -04:00
2013-04-19 20:11:38 -04:00
2014-02-19 18:56:05 -05:00
2014-06-11 21:55:15 -04:00
2014-05-22 09:31:15 -04:00
2014-08-30 00:53:21 -04:00
2014-02-07 13:06:10 -05:00
2014-09-24 20:34:16 -04:00
2014-06-11 21:55:15 -04:00
2014-09-07 17:14:37 -04:00
2014-06-11 21:55:15 -04:00
2013-07-17 17:52:19 -04:00