gtk/gdk
Emmanuele Bassi 2dfca143bb gdk: Allow querying if a GL context is in legacy mode
We want to have the ability to fall back to legacy GL contexts when
creating them. In order to do so, we need to store the legacy bit on the
GdkGLContext, as well as being able to query it.

Setting the legacy bit from outside GDK is not possible; we cannot
create GL contexts in 3.2 core profile *and* compatibility modes at the
same time, and if we allowed users to select the legacy mode themselves,
it would break the creation of the GdkWindow's paint GL context.

What we do allow is falling back to legacy GL context if the platform
does not support 3.2 core profiles — for instance, on older GPUs or
inside virtualized environments.

We are also going to use the legacy bit internally, to choose which GL
API we can use when drawing GL content.

https://bugzilla.gnome.org/show_bug.cgi?id=756142
2015-10-07 16:21:57 +01:00
..
broadway build: Dist toarray.pl 2015-09-24 08:29:30 +01:00
deprecated gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout 2015-04-17 11:16:30 -05:00
mir mir: don't ensure_surface if window not visible 2015-07-15 07:43:55 -04:00
quartz Bug 736125 - The default gtk accelerator mod mask does not include all default backend modifiers 2015-08-25 15:54:58 -04:00
wayland wayland: Don't ignore wl_keyboard.leave if surface is gone 2015-10-07 12:28:39 +08:00
win32 gdk: Finish conversion to in-struct GdkWindow list nodes 2015-09-21 16:59:51 +02:00
x11 GdkAppLaunchContext: Set DISPLAY variable for X11 2015-10-05 23:40:56 -04:00
COPYING
fallback-c89.c gdk/fallback-c89.c: Add fallback for round() 2013-03-13 13:22:46 +08:00
gdk-autocleanup.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01: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 Allow overriding WM_CLASS from the command line 2015-05-10 22:40:37 -04:00
gdk.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01: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 gdkcairo: Bail if surface is in error 2015-02-25 01:55:28 +01: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 docs: Show less ugly X cursors 2015-05-08 14:21:11 -04:00
gdkcursor.h Update docs 2015-05-08 13:34:25 -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 device: Convert to g_object_notify_by_pspec 2015-09-06 17:13:00 -04:00
gdkdevice.h device: Add property/getters for vendor/product identifiers 2015-01-19 15:09:19 +01: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 device: Add property/getters for vendor/product identifiers 2015-01-19 15:09:19 +01:00
gdkdisplay.c Code cleanup 2015-07-31 22:23:35 -04:00
gdkdisplay.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkdisplaymanager.c Avoid an extra type check in gdk_screen_get_default 2015-09-07 03:18:04 -04: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 gdkevent: Hold refs to device/source_device 2015-08-19 22:13:08 +02:00
gdkevents.h gdk: Add touchpad gesture events and event types. 2015-08-12 23:20:24 +02: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 Fix some clang warnings 2015-03-22 14:40:57 -04:00
gdkglcontext.c gdk: Allow querying if a GL context is in legacy mode 2015-10-07 16:21:57 +01:00
gdkglcontext.h gdk: Allow querying if a GL context is in legacy mode 2015-10-07 16:21:57 +01:00
gdkglcontextprivate.h gdk: Allow querying if a GL context is in legacy mode 2015-10-07 16:21:57 +01:00
gdkglobals.c Add GDK_GL env var and GdkGLFlags 2014-11-06 12:24:43 +01:00
gdkinternals.h gdkwindow: Store children list nodes in GdkWindow structure 2015-09-13 21:48:55 +02:00
gdkintl.h
gdkkeynames.c Keep XF86 keysym names working 2013-04-19 20:11:39 -04:00
gdkkeys.c Intern all signal names beforehand 2015-09-12 12:50:39 -04:00
gdkkeys.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysprivate.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03: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: Finish conversion to in-struct GdkWindow list nodes 2015-09-21 16:59:51 +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 gdk: Mark window surfaces as dirty before reading from them 2015-09-18 02:06:01 +02: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 gdk: Add gdk_rectangle_equal() 2015-10-03 22:26:27 -04:00
gdkrectangle.h gdk: Add gdk_rectangle_equal() 2015-10-03 22:26:27 -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 Add a note to gdk_screen_get_width/height_mm 2015-08-15 22:20: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 Bug 736125 - The default gtk accelerator mod mask does not include all default backend modifiers 2015-08-25 15:54:58 -04:00
gdkversionmacros.h.in gdk: Add version macros for 3.20 2015-10-03 22:24:17 -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 Remove overhead in gdk_window_get_user_data 2015-09-28 06:29:50 -04:00
gdkwindow.h Added api to set a window to fullscreen on a given monitor. 2015-07-25 07:08:59 -06:00
gdkwindowimpl.c gdkwindow: Provide a default implementation of process_updates_recurse 2014-06-22 10:20:50 -04:00
gdkwindowimpl.h Added api to set a window to fullscreen on a given monitor. 2015-07-25 07:08:59 -06: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 MSVC Builds: Massive Rename of Projects 2015-09-15 18:51:33 +08:00
makefile.msc