present: Add window flip mode

Graphics / X.Org / X.Org Server - Roman Gilg [gmail.com] - 28 March 2018 18:36 EDT

In contrast to screen flip mode this mode:
- supports flips per windows (these windows currently need to have the same size as their parent windows with the same pixmap),
- sends pixmap idle signals to the client only after the driver has given an additional event notify.

This patch only introduces the new mode as a stub. It additionally needs a driver hook, such that it can get initialized and appropriate cleanup functions.

029608dd8 present: Add window flip mode
present/Makefile.am | 3 +-
present/meson.build | 1 +
present/present.h | 6 +
present/present_priv.h | 9 +
present/present_wnmd.c | 701 +++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 719 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share