[PATCH xserver 3/3] present: Call present_restore_screen_pixmap from present_set_abort_flip
Keith Packard
keithp at keithp.com
Fri Feb 19 05:17:50 UTC 2016
Michel Dänzer <michel at daenzer.net> writes:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> After present_set_abort_flip, the screen pixmap will be used for all
> screen drawing, so we need to restore the current flip pixmap contents
> to the screen pixmap here as well.
>
> Improves flashing / stutter e.g. when something like a popup menu appears
> on top of a flipping fullscreen window or when switching out of
> fullscreen.
>
> Note that this means present_set_abort_flip now relies on screen->root
> being non-NULL, but that's already the case in other present code.
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Keith Packard <keithp at keithp.com>
--
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160218/32b182ab/attachment-0001.sig>
More information about the xorg-devel
mailing list