gtk2/gdk/wayland
Ray Strode 2c300081c4 wayland: always return FALSE from begin_paint
The client and compositor share access to the window
pixel buffers. After the client hands off (commits)
the buffer to the compositor it's not supposed to write
to it again until it's released by the compositor.

The code tries to deal with this contention by allocating
a temporary buffer and using that in the mean time. This
temporary buffer is allocated by a higher layer of the code
when begin_paint returns TRUE. Unfortunately, that layer of
the code has no idea when the buffer is released, so it ends
up blitting the temporary buffer back to the shared buffer
prematurely.

This commit changes begin_paint to always return FALSE.

A future commit will address the contention problem in
a different way.

https://bugzilla.gnome.org/show_bug.cgi?id=761312
2016-02-06 08:02:57 -05:00
..
protocol wayland: Use xdg shell protocol from wayland-protocols 2015-11-26 16:54:32 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c wayland: Ensure we have a dnd-ask cursor 2016-01-08 18:11:07 -05:00
gdkdevice-wayland.c wayland: Set weak reference on the current grab window 2016-01-19 14:17:36 +01:00
gdkdisplay-wayland.c wayland: always return FALSE from begin_paint 2016-02-06 08:02:57 -05:00
gdkdisplay-wayland.h wayland: Implement DnD actions as per wl_data_device v3 2016-01-19 14:17:36 +01:00
gdkdnd-wayland.c wayland: Protect against NULL offers on gdk_drag_status() implementation 2016-01-20 18:55:51 +01:00
gdkeventsource.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkglcontext-wayland.c wayland: Allow falling back to compatibility EGL contexts 2015-10-07 16:21:57 +01:00
gdkglcontext-wayland.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkkeys-wayland.c wayland: Translate virtual modifiers too 2015-11-14 23:26:11 -05:00
gdkprivate-wayland.h wayland: always return FALSE from begin_paint 2016-02-06 08:02:57 -05:00
gdkscreen-wayland.c wayland: recursively search for the settings schema. 2015-12-14 08:20:04 -05:00
gdkseat-wayland.h wayland: Add GdkSeat implementation 2015-12-15 00:40:21 +01:00
gdkselection-wayland.c wayland: Implement DnD actions as per wl_data_device v3 2016-01-19 14:17:36 +01:00
gdkwayland.h wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkwaylanddevice.h wayland: Add GdkSeat implementation 2015-12-15 00:40:21 +01:00
gdkwaylanddisplay.h wayland: fix rename of wl_shell to xdg_shell 2014-01-20 14:37:33 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h wayland: Replace wl_shell_surface with xdg_shell 2013-11-18 13:44:20 -05:00
gdkwindow-wayland.c wayland: always return FALSE from begin_paint 2016-02-06 08:02:57 -05:00
Makefile.am wayland: Add GdkSeat implementation 2015-12-15 00:40:21 +01:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00