[PATCH 4/5] xwayland: Use Present's flips per window mode
Roman Gilg
subdiff at gmail.com
Wed Aug 30 09:13:14 UTC 2017
I reread the mail by Pekka from the last mail chain and apparently have
remembered it wrong. I thought he said that it's fine the way I did it.
What I could do instead as he explained, is listen for the wl_display.sync
callback after each buffer commit in xwayland-present.c.
That would mean at this point the Wayland server has processed the commit
request and at some later point will eventually display the buffer on the
screen (as long as Xwayland doesn't commit a new buffer before that).
On Wed, Aug 30, 2017 at 4:34 AM, Michel Dänzer <michel at daenzer.net> wrote:
> On 30/08/17 12:24 AM, Roman Gilg wrote:
> >
> > There is a small change to the window mode in Present as well, that now
> > calls flip_executed at the end of processing the flip with the
> > calculated damage. Xwayland then commits the new buffer.
>
> As discussed before, I'd prefer if Xwayland instead only called
> present_event_notify once it's received some kind of feedback from the
> Wayland compositor that it has processed the "flip". There's no such
> thing as an "immediate flip".
>
>
> --
> Earthling Michel Dänzer | http://www.amd.com
> Libre software enthusiast | Mesa and X developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170830/15692c71/attachment.html>
More information about the xorg-devel
mailing list