xserver-multidpi/present
Roman Gilg 932c6baca2 present: Notify via distinct API functions in window mode
Notifying Present about events' states was done prior with the single function
present_wnmd_event_notify just like in screen mode. But it is more intelligible
if at least in window mode we make use of three different functions with names
that directly indicate what their purpose is:

* present_wnmd_event_notify only for queued events feedback.
* present_wnmd_flip_notify for when a presentation occured (flip).
* present_wnmd_idle_notify for when the Pixmap of the event can be reused.

This is an API-breaking change in regards to window mode. DDX written against
the previous version won't work anymore. It is assumed that there only exists
the XWayland DDX at the moment using the window mode such that this is not an
issue for the overall ecosystem.

Signed-off-by: Roman Gilg <subdiff@gmail.com>
2020-07-22 11:09:50 +02:00
..
Makefile.am present: Add window flip mode 2018-03-28 14:36:36 -04:00
meson.build present: Require presentproto 1.2 2019-06-20 12:15:31 -04:00
present_event.c present: Fix swapping of PresentCompleteNotify events 2018-05-08 12:15:29 -04:00
present_execute.c present: Adapt flip mode API hooks for window flip mode 2018-03-28 14:36:33 -04:00
present_fake.c present: Free the fake_present OsTimerPtr 2016-08-15 15:16:48 -04:00
present_fence.c sync: Convert from "CARD64" to int64_t. 2017-09-20 13:19:27 -04:00
present_notify.c present: Add Present extension 2013-10-31 16:59:18 -07:00
present_priv.h present: Unfold and annotate the target-msc getter 2020-02-18 16:30:50 +01:00
present_request.c present: cap the version returned to the client 2018-03-19 15:46:41 -04:00
present_scmd.c present: Rename window_msc variable in present function 2020-02-18 16:31:02 +01:00
present_screen.c present/wnmd: Free flip_queue entries in present_wnmd_clear_window_flip 2020-06-25 17:27:10 +02:00
present_vblank.c present: fix compile warning with debug traces 2018-11-29 16:54:45 +00:00
present_wnmd.c present: Notify via distinct API functions in window mode 2020-07-22 11:09:50 +02:00
present.c present: Unfold and annotate the target-msc getter 2020-02-18 16:30:50 +01:00
present.h present: Notify via distinct API functions in window mode 2020-07-22 11:09:50 +02:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00