gtk2/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
..
broadway broadway: Initial SSL support 2014-12-15 11:25:43 +00:00
deprecated Mark the GdkColor struct as deprecated 2014-08-20 17:19:30 +02:00
mir mir: Add missing reference to gdkmir-private.h 2014-12-28 13:34:16 +01:00
quartz quartz: NSWindow NULL check in get_scale_factor 2014-12-24 14:57:40 -08:00
wayland gdkeventsource-wayland: Fix style 2014-12-28 18:13:34 -08:00
win32 GDK-Win32: Drop Some Unused Items 2014-12-22 11:25:49 +08:00
x11 x11/gl: Do not specify the GLX context version 2015-01-10 00:07:51 +00:00
COPYING
fallback-c89.c gdk/fallback-c89.c: Add fallback for round() 2013-03-13 13:22:46 +08:00
gdk-private.c gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk-private.h gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk.c Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdk.h gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
gdkapplaunchcontext.c docs: replace all <examples> with markdown headings 2014-02-04 16:58:54 -05:00
gdkapplaunchcontext.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkapplaunchcontextprivate.h
gdkcairo.c Add internal gdk_cairo_region_from_clip helper 2014-10-13 10:43:31 -04:00
gdkcairo.h gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
gdkconfig.h.win32 Clean up the pre-configured gdkconfig.h.win32 2013-05-28 13:04:37 +08:00
gdkconfig.h.win32_broadway Add Visual Studio Build Support for Broadway 2013-08-02 11:20:19 +08:00
gdkcursor.c configure.ac: Depend on cairo 1.14.0 2014-11-10 15:12:17 +00:00
gdkcursor.h Deprecate gdk_cursor_new() 2014-10-28 00:38:59 -04:00
gdkcursorprivate.h gdk: Add gdk_cursor_get_surface() 2013-08-07 13:34:10 +02:00
gdkdeprecated.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
gdkdevice.c docs: Add a missing word 2014-11-28 14:25:42 -05:00
gdkdevice.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkdevicemanager.c gdk: Document the behavior of device grabs on slave devices 2014-07-21 22:16:05 +02:00
gdkdevicemanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkdevicemanagerprivate.h
gdkdeviceprivate.h gdk: Convert mouse position to doubles, add new getters 2013-07-03 14:39:25 +02:00
gdkdisplay.c gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdkdisplay.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkdisplaymanager.c Gdk: add an experimental backend for mir 2014-10-22 11:17:15 -05:00
gdkdisplaymanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkdisplaymanagerprivate.h gdk: Unvfuncify gdk_display_manager_open_display() 2013-04-19 16:23:43 -04:00
gdkdisplayprivate.h gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdkdnd.c gdk: Remove check for source window 2014-09-01 19:17:53 +02:00
gdkdnd.h gdk: Add GDK_DRAG_PROTO_WAYLAND 2014-09-01 19:17:53 +02:00
gdkdndprivate.h
gdkenumtypes.c.template Include config.h in gdkenumtypes.c.template 2013-03-15 09:19:35 -04:00
gdkenumtypes.h.template Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkevents.c Fix an ordering issue in event destruction 2014-11-01 14:44:03 -04:00
gdkevents.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkframeclock.c gdk: add many missing (nullable) return value annotations 2014-05-11 11:48:32 -04:00
gdkframeclock.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkframeclockidle.c Changed obsolete FSF portal addresses to web address 2014-01-12 19:56:49 +07:00
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
gdkframeclockprivate.h docs: add docs for GtkFrameClock 2014-01-20 18:27:28 -05:00
gdkframetimings.c docs: use proper apostrophe 2014-02-07 13:06:10 -05:00
gdkframetimings.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkgl.c gdkgl: Use vfunc For Uploading Textures 2014-12-17 16:06:25 +08:00
gdkglcontext.c gdkgl: Use vfunc For Uploading Textures 2014-12-17 16:06:25 +08:00
gdkglcontext.h Don't make the gl flags API 2014-11-07 07:10:49 -05:00
gdkglcontextprivate.h gdkgl: Use vfunc For Uploading Textures 2014-12-17 16:06:25 +08:00
gdkglobals.c Add GDK_GL env var and GdkGLFlags 2014-11-06 12:24:43 +01:00
gdkinternals.h gdkinternals: Document our drawing and painting process better 2014-11-22 11:46:53 -08:00
gdkintl.h
gdkkeynames.c Keep XF86 keysym names working 2013-04-19 20:11:39 -04:00
gdkkeys.c gdk: add many missing (nullable) return value annotations 2014-05-11 11:48:32 -04:00
gdkkeys.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkkeysprivate.h gdk: Refactor gdk_keyval_convert_case() 2013-04-16 15:30:14 +02:00
gdkkeysyms-compat.h Update gdkkeysyms.h header 2013-04-19 20:11:38 -04:00
gdkkeysyms-update.pl gdkkeysyms-update: Remove workarounds for old bugs 2013-07-17 16:40:05 -04:00
gdkkeysyms.h Update gdkkeysyms.h header 2013-04-19 20:11:38 -04:00
gdkkeyuni.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
gdkmain.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkmarshalers.list
gdkoffscreenwindow.c gdk: Deprecate static gravities 2014-10-06 02:38:40 +02:00
gdkpango.c docs: Another round of markup removal 2014-03-29 00:24:15 -04:00
gdkpango.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkpixbuf-drawable.c Forgotten file 2014-05-22 09:31:15 -04:00
gdkpixbuf.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkprivate.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkproperty.c Trivial formatting fix 2014-08-30 00:53:21 -04:00
gdkproperty.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkrectangle.c docs: use proper apostrophe 2014-02-07 13:06:10 -05:00
gdkrectangle.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkrgba.c gdk_rgba_parse : do not segfault on null string 2014-09-28 21:18:10 +02:00
gdkrgba.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkscreen.c Improve workarea documentation 2014-09-24 20:34:16 -04:00
gdkscreen.h Revert "Introduce API to get the preferred visual" 2014-02-10 22:15:28 -05:00
gdkscreenprivate.h Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
gdkselection.c gdk: assorted introspection and documentation fixes 2014-05-19 11:47:59 -07:00
gdkselection.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdktestutils.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkthreads.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdktypes.h Don't return GDK_GRAB_SUCCESS on failure 2014-10-28 00:51:32 -04:00
gdkversionmacros.h.in Add 3.16 deprecation macros too 2014-09-30 00:03:25 -04:00
gdkvisual.c Small doc improvement 2014-09-07 17:14:37 -04:00
gdkvisual.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkvisualprivate.h
gdkwindow.c gdkwindow: Clean up whitespace slightly 2014-11-22 08:12:22 -08:00
gdkwindow.h Hide GdkWindow libgtk_only API in the private vtable 2014-11-08 00:20:15 -05:00
gdkwindowimpl.c gdkwindow: Provide a default implementation of process_updates_recurse 2014-06-22 10:20:50 -04:00
gdkwindowimpl.h gdkwindow: Don't pass the region to the impl when beginning a paint 2014-11-22 08:08:34 -08:00
gdkx.h
gen-keyname-table.pl
keyname-table.h docs: use proper quotations instead of '*' 2014-02-07 14:22:39 -05:00
keynames-translate.txt Add AudioMicMute 2013-07-17 17:52:19 -04:00
keynames.txt Fix key "Page_Down" identified as "Next" 2013-10-24 18:48:33 -04:00
Makefile.am gdk: Emit stamp-gc-h in the correct directory 2014-12-12 17:32:02 -08:00
makefile.msc