]> Pileus Git - ~andy/gtk/commit
Use _NET_WM_FRAME_DRAWN to synchronize frame drawing
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 18 Sep 2012 13:37:03 +0000 (09:37 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:48 +0000 (17:19 -0500)
commit8a6895fe5262a881ff734b5bade8e3d5d46ed648
tree6cbe3198aaf0c2a634d695fbc462bf3b4ec6fca3
parent69f457426ae2a7b1e2cb8e74034a636831aae079
Use _NET_WM_FRAME_DRAWN to synchronize frame drawing

As part of the extended _NET_WM_SYNC_REQUEST_COUNTER protocol,
we get a _NET_WM_FRAME_DRAWN message for each frame we draw. Use this
to synchronize the updates we are doing with the compositing manager's
drawing, and ultimately with with display refresh.

We now set the sync request counters on all windows, including
override-redirect windows, since it is also useful to do synchronized,
atomic updates for such windows.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkwindow-x11.h