xserver-multidpi/present
Roman Gilg 7da8e7babe present: Check valid region in window mode flips
For Pixmap flips to have well defined outcomes the window must be contained by
the valid region if such region was specified.

The valid region is inserted as an argument to the check in window mode.
Setting this argument is missing in screen mode as well but we ignore it for now
and only add it to window mode.

It seems there are none or only very few clients actually making use of valid
regions at the moment. For simplicity we therefore just check if a valid region
was set by the client and in this case do never flip, independently of the
window being contained by the region or not.

Signed-off-by: Roman Gilg <subdiff@gmail.com>
(cherry picked from commit 591916ea9e)
2020-08-18 04:12:09 +00:00
..
Makefile.am present: Add window flip mode 2018-03-28 14:36:36 -04:00
meson.build meson: Distribute more SDK headers 2018-04-02 13:42:08 -04:00
present.c present: fix compile warning with debug traces 2019-02-20 14:23:13 -05:00
present.h present: Add exported init function of window flip mode 2018-03-28 14:36:44 -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: fix compile warning with debug traces 2019-02-20 14:23:13 -05:00
present_request.c present: cap the version returned to the client 2018-03-19 15:46:41 -04:00
present_scmd.c Revert "present/scmd: Check that the flip and screen pixmap pitches match" 2019-07-10 11:04:11 -04:00
present_screen.c present/wnmd: Free flip_queue entries in present_wnmd_clear_window_flip 2020-07-20 13:22:20 +00:00
present_vblank.c present: fix compile warning with debug traces 2019-02-20 14:23:13 -05:00
present_wnmd.c present: Check valid region in window mode flips 2020-08-18 04:12:09 +00:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00