gtk2/gdk/x11
Benjamin Otte 8915be00d1 gdkgl: Add gdk_gl_context_get_damage()
This is a way to query the damaged area of the backbuffer.

The GL renderer uses this to compute the extents of that damage region
(computed via buffer age) and use them to minimize the area to redraw.

This changes the semantics of GL rendering to "When calling
gdk_window_begin_frame() with a GL context, the area by
gdk_gl_context_get_damage() needs to be redrawn and every other pixel of
the backbuffer is guaranteed to be correct.
After gdk_window_end_frame() on a GL-drawn window, the whole backbuffer
must be correct.

We can always glXBufferSwap() now because of this.
2016-12-05 15:02:47 +01:00
..
gdkapplaunchcontext-x11.c API: gdk: Remove gdk_screen_get_number() 2016-10-16 18:17:21 +02:00
gdkasync.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkasync.h
gdkcursor-x11.c x11: Add the same message as the wayland backend has 2016-10-17 19:11:32 -04:00
gdkdevice-core-x11.c Add and use GDK_CHECK_DEBUG macro 2016-02-28 21:40:30 -05:00
gdkdevice-xi2.c gdk: Require passing screen size to translate_screen_coord() 2016-10-16 18:17:21 +02:00
gdkdevicemanager-core-x11.c Make gdk_event_get_pointer_emulated public 2016-05-10 15:16:45 -04:00
gdkdevicemanager-x11.c x11: Don't use g_print for debug output 2016-02-28 21:40:24 -05:00
gdkdevicemanager-xi2.c x11: Fix a trap mixup 2016-08-29 15:51:05 -04:00
gdkdevicemanagerprivate-core.h
gdkdisplay-x11.c API: Remove gdk_window_process_all_updates() 2016-11-23 19:10:34 +01:00
gdkdisplay-x11.h x11: Maointin window visuals without GdkVisual 2016-11-03 23:54:39 +01:00
gdkdisplaymanager-x11.c
gdkdnd-x11.c API: gdk: Add gdk_window_new_popup() 2016-11-06 23:47:56 +01:00
gdkeventsource.c x11: drop a useless list 2016-05-01 13:26:35 -04:00
gdkeventsource.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkeventtranslator.c
gdkeventtranslator.h
gdkgeometry-x11.c x11: Remove code that temporarily unsets the background 2016-10-27 06:37:02 +02:00
gdkglcontext-x11.c gdkgl: Add gdk_gl_context_get_damage() 2016-12-05 15:02:47 +01:00
gdkglcontext-x11.h glcontext: Make begin/end_draw() paired 2016-12-05 15:02:47 +01:00
gdkkeys-x11.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkmain-x11.c x11: Don't warn if the display is closed 2016-11-30 13:45:00 -05:00
gdkmonitor-x11.c x11: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-x11.h x11: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-x11.h API: Remove gdk_window_process_all_updates() 2016-11-23 19:10:34 +01:00
gdkproperty-x11.c Remove unused variables 2015-06-13 21:10:26 -04:00
gdkscreen-x11.c x11: Init no-multihead monitor without root window 2016-11-04 00:33:13 +01:00
gdkscreen-x11.h x11: Maointin window visuals without GdkVisual 2016-11-03 23:54:39 +01:00
gdkselection-x11.c x11: Use g_error_matches() 2016-03-20 05:43:02 +01:00
gdksettings.c gdk: Add an X setting for gtk-keynav-use-caret 2016-03-04 22:44:29 -05:00
gdktestutils-x11.c
gdkvisual-x11.c gdk: Remove visual APIs from GdkScreen 2016-11-04 00:02:37 +01:00
gdkwindow-x11.c gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkwindow-x11.h x11: Remove code that temporarily unsets the background 2016-10-27 06:37:02 +02:00
gdkx11applaunchcontext.h
gdkx11cursor.h
gdkx11device-core.h
gdkx11device-xi2.h
gdkx11device.h
gdkx11devicemanager-core.h
gdkx11devicemanager-xi2.h
gdkx11devicemanager-xi.h
gdkx11devicemanager.h
gdkx11display.h
gdkx11displaymanager.h
gdkx11dnd.h
gdkx11glcontext.h
gdkx11keys.h
gdkx11monitor.h x11: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkx11property.h
gdkx11screen.h
gdkx11selection.h
gdkx11utils.h
gdkx11visual.h
gdkx11window.h gdk/x11: Constify argument 2016-10-17 11:10:14 +01:00
gdkx-autocleanups.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdkx.h x11: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkxftdefaults.c Simplify Xft setting fallback 2015-07-07 20:54:16 -04:00
gdkxid.c
Makefile.am gdk: Make GdkDrawingContext not per-backend 2016-11-30 15:52:22 +01:00
MwmUtil.h
xsettings-client.c x11: Don't use g_print for debug output 2016-02-28 21:40:24 -05:00
xsettings-client.h