Skip to content
Commit 87ca1bdf authored by Michel Dänzer's avatar Michel Dänzer Committed by Kenneth Graunke
Browse files

xwayland: Do flush GPU work in xwl_present_flush

The Present code sends the idle notification event to the client after
xwl_present_flush returns. If we don't flush our GPU work here, the
client may race to draw another frame to the same buffer, so we may end
up copying (parts of) that new frame instead of the one we meant to.

Fixes https://gitlab.freedesktop.org/xorg/xserver/issues/835



Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
(Cherry picked from commit 2a2234ad)
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
parent 8aad09dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment