gtk/gdk/x11
Timm Bäder 94745241c2 GdkGLContext: Fix damage computation with buffer_age
As per the spec:

> The back buffer can
> either be reported as invalid (has an age of 0) or it may be
> reported to contain the contents from n frames prior to the
> current frame.

So a  buffer age of 1 means that the buffer was used in the last frame.
We were handling buffer_age==1 the same as buffer_age==0, i.e. we
returned the full damage for the surface.

[1] https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_buffer_age.txt
2018-12-02 13:25:43 +01:00
..
gdkapplaunchcontext-x11.c Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkasync.c Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkasync.h
gdkcairocontext-x11.c cairocontext: Remove fallback implementations 2018-04-24 23:24:55 +02:00
gdkcairocontext-x11.h x11: Move implementation of Cairo context backends 2018-04-24 23:16:13 +02:00
gdkclipboard-x11.c x11: Ignore old XFixesSelectionNotify events 2018-07-21 15:22:04 -05:00
gdkclipboard-x11.h x11: Refactor code 2017-12-13 00:56:52 +01:00
gdkcursor-x11.c g-i: Add some nullable annotations 2018-11-18 13:36:50 +01:00
gdkdevice-core-x11.c gdk: Remove GDK_SURFACE_FOREIGN 2018-06-26 00:47:40 +02:00
gdkdevice-xi2.c gdk: Remove GDK_SURFACE_FOREIGN 2018-06-26 00:47:40 +02:00
gdkdevicemanager-core-x11.c gdk: Remove key_event->string and key_event->length 2018-07-30 19:32:38 +02:00
gdkdevicemanager-x11.c Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00
gdkdevicemanager-xi2.c gdk: Remove key_event->string and key_event->length 2018-07-30 19:32:38 +02:00
gdkdevicemanagerprivate-core.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdisplay-x11.c g-i: Add some nullable annotations 2018-11-18 13:36:50 +01:00
gdkdisplay-x11.h x11: switch a bunch of variable types 2018-06-18 23:49:52 +02:00
gdkdrag-x11.c x11: Set actions on drag 2018-07-15 16:50:06 -04:00
gdkdrop-x11.c dnd: Rename headers 2018-07-02 15:00:50 +02:00
gdkeventsource.c x11: Split drag and drop contexts 2018-06-18 23:49:52 +02:00
gdkeventsource.h x11: Refactor xevent filtering some more 2017-12-13 01:55:56 +01:00
gdkeventtranslator.c gdk: Get rid of gdk_event_free() 2018-05-29 21:53:44 +02:00
gdkeventtranslator.h Fix up indentation after GdkSurface rename 2018-03-21 09:06:31 +01:00
gdkglcontext-x11.c GdkGLContext: Fix damage computation with buffer_age 2018-12-02 13:25:43 +01:00
gdkglcontext-x11.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkkeys-x11.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkmain-x11.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkmonitor-x11.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkmonitor-x11.h
gdkprivate-x11.h gdk: Remove key_event->string and key_event->length 2018-07-30 19:32:38 +02:00
gdkproperty-x11.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkscreen-x11.c gdk: Protect against negative GDK_SCALE values 2018-04-10 09:43:47 +02:00
gdkscreen-x11.h gdkscreen-x11: Remove redundant typedef 2018-05-27 17:51:51 +02:00
gdkselection-x11.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkselectioninputstream-x11.c gdkselectioninputstream-x11: Fix memory leak 2018-09-16 20:08:25 +05:30
gdkselectioninputstream-x11.h x11: Improve fallbacks for text 2017-12-03 05:46:46 +01:00
gdkselectionoutputstream-x11.c GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkselectionoutputstream-x11.h x11: Refactor code 2017-12-13 00:56:52 +01:00
gdksettings.c Stop using settings for modules 2018-02-18 09:41:29 -05:00
gdksurface-x11.c Drop gdk_surface_withdraw 2018-07-15 15:29:58 -04:00
gdksurface-x11.h x11: Make the frame clock work in GL and Vulkan 2018-03-30 16:50:28 +02:00
gdktextlistconverter-x11.c Drop gdk_atom_intern 2017-12-13 23:39:03 -05:00
gdktextlistconverter-x11.h x11: Implement claiming the X Selection with the clipboard 2017-12-03 05:46:47 +01:00
gdkvisual-x11.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkvisual-x11.h x11: Drop GdkX11Visual as public api 2017-11-17 13:03:11 -05:00
gdkvulkancontext-x11.c drawcontext: Only pass the region that matters 2018-04-24 23:16:58 +02:00
gdkvulkancontext-x11.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11applaunchcontext.h
gdkx11device-core.h
gdkx11device-xi2.h
gdkx11device.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11devicemanager-core.h
gdkx11devicemanager-xi2.h
gdkx11devicemanager-xi.h
gdkx11devicemanager.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11display.h Fix up indentation after GdkSurface rename 2018-03-21 09:06:31 +01:00
gdkx11dnd.h gdk: Rename GdkDragContext to GdkDrag 2018-07-02 14:59:26 +02:00
gdkx11glcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11keys.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11monitor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11property.h x11: Get rid of default Atom converters 2017-12-14 13:35:32 +01:00
gdkx11screen.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11selection.h
gdkx11surface.h x11: Remove gdk_x11_surface_foreign_new_for_display() 2018-06-18 23:49:53 +02:00
gdkx11utils.h x11: Remove gdk_x11_grab_server() 2017-11-02 12:47:50 +01:00
gdkx-autocleanups.h gdk: Rename GdkDragContext to GdkDrag 2018-07-02 14:59:26 +02:00
gdkx.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkxftdefaults.c x11: Stop using GdkScreen in api 2017-11-17 10:51:55 -05:00
gdkxid.c GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
meson.build meson: libgdk-broadway.a depends on broadwayjs.h 2018-07-23 20:15:44 +05:30
MwmUtil.h
xsettings-client.c build: Fix compiler warnings 2018-06-11 21:12:41 +05:30
xsettings-client.h Remove gdk_window_add_filter 2018-02-07 15:12:03 -05:00