summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorRoman Gilg <subdiff@gmail.com>2018-03-13 16:00:53 +0100
committerAdam Jackson <ajax@redhat.com>2018-03-28 14:36:51 -0400
commit0fb2cca193e60b731c8e75a2a7e795477fb5fd8f (patch)
treeab8c3da1bee240af2209464c76b378682fbf6a5d /Xext
parent8fba2a03f1410f3bc7504e218ac1e5c964279ea2 (diff)
xwayland: Preliminary support for Present's new window flip mode
Introduce support for Present's window flip mode. The support is not yet complete, but works reasonable well for the most important use case, that is fullscreen applications. We take a Present flip and if the xwl_window->window has the same dimensions as the presenting window, the flip is represented by a wl_buffer and attached to the main wl_surface of the xwl_window. After commit we are listening for the sync callback in order to tell Present, that the pixmap flip is not longer pending, for the frame callback in order to update the msc counter and for the buffer release callback in order to tell Present that the pixmap is idle again. The following functionality is missing from this patch: * (slowed down) flips in case the compositor is not sending frame callbacks, * queuing events to MSC times, * per window flips for child windows with smaller size than the xwl_window. To make use of this functionality Xwayland must run rootless and with Glamor/GBM. Signed-off-by: Roman Gilg <subdiff@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext')
0 files changed, 0 insertions, 0 deletions