<div dir="ltr">Hi Simon & Jonas<div><br></div><div>May I ask if <a href="https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/26#note_554405" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/26#note_554405</a> only include the patch of protocol xml file <a href="https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/26/diffs?commit_id=108ab3ef2c9e028e6159793e6c4cae6ed9c7a546">https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/26/diffs?commit_id=108ab3ef2c9e028e6159793e6c4cae6ed9c7a546</a>, there is no weston implementation patch for transactions-unstable-v1.xml, right?</div><div><br></div><div>Thank you!</div><div><br></div><div>Best Regards</div><div>Nancy</div><div class="gmail-file-header-content gmail-gl-display-flex gmail-gl-align-items-center gmail-gl-pr-0!" style="box-sizing:border-box;display:flex;padding-right:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto;color:rgb(48,48,48);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px"><button title="Copy file path" type="button" class="gmail-btn gmail-btn-default gmail-btn-md gmail-gl-button gmail-btn-default-tertiary gmail-btn-icon" style="border-radius:0.25rem;margin:0px;font-family:inherit;font-size:0.875rem;line-height:1rem;overflow:visible;display:inline-flex;color:rgb(82,82,82);vertical-align:middle;border-width:0px;border-style:solid;border-color:rgb(219,219,219);padding:0.5rem"></button></div><div class="gmail-file-actions gmail-d-flex gmail-align-items-center gmail-flex-wrap" style="box-sizing:border-box;margin-left:auto;color:rgb(48,48,48);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;display:flex"><div class="gmail-diff-stats gmail-d-none gmail-d-sm-inline-flex" style="box-sizing:border-box;padding:0px 1rem;display:inline-flex"><div class="gmail-diff-stats-group gmail-cgreen gmail-d-flex gmail-align-items-center" style="box-sizing:border-box;color:rgb(33,118,69);padding:0px 0.25rem;display:flex"><br class="gmail-Apple-interchange-newline"></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Simon Ser <<a href="mailto:contact@emersion.fr">contact@emersion.fr</a>> 于2020年11月6日周五 下午5:39写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Friday, November 6, 2020 10:38 AM, Jonas Ådahl <<a href="mailto:jadahl@gmail.com" target="_blank">jadahl@gmail.com</a>> wrote:<br>
<br>
> On Fri, Nov 06, 2020 at 07:51:26AM +0000, Simon Ser wrote:<br>
><br>
> > Hi,<br>
> > On Friday, November 6, 2020 3:14 AM, zou lan <a href="mailto:nancy.lan.zou@gmail.com" target="_blank">nancy.lan.zou@gmail.com</a> wrote:<br>
> ><br>
> > > Hi Simon & pekka<br>
> > > Thank you for your reply!<br>
> > ><br>
> > > > > The OS could pre-empt the client after<br>
> > > > > the first wl_surface_commit is flushed on the wire and before the<br>
> > > > > second one is.<br>
> > ><br>
> > > I want to ask if after first wl_surface_commit, but I don't call<br>
> > > wl_display_flush/wl_display_dispatch, is the first wl_surface_commit<br>
> > > flushed to server because  out buffer of the connection is full?<br>
> ><br>
> > That is correct.<br>
> ><br>
> > > <a href="https://github.com/wayland-project/wayland/blob/master/src/connection.c" rel="noreferrer" target="_blank">https://github.com/wayland-project/wayland/blob/master/src/connection.c</a>,<br>
> > > can we increase the buffer size in this structure wl_buffer to reduce<br>
> > > the possibility of this?<br>
> ><br>
> > I'd rather not. This would not fix the issue, and it's unclear if it'd<br>
> > really help.<br>
> ><br>
> > > By the way, for the WIP protocol,<br>
> > > <a href="https://gitlab.freedesktop.org/jadahl/wayland-protocols/-/blob/wip/transactions/unstable/transactions/transactions-unstable-v1.xml" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/jadahl/wayland-protocols/-/blob/wip/transactions/unstable/transactions/transactions-unstable-v1.xml</a>,<br>
> > > do we have any patchset in weston to implement it? I don't find it in<br>
> > > weston master branch.<br>
> ><br>
> > I'm not aware of any Weston implementation as of yet. As you can see,<br>
> > the protocol hasn't yet been merged in wayland-protocols. Writing a new<br>
> > implementation would certainly help getting the protocol merged.<br>
><br>
> weston, mutter and gtk implementations are linked to from this comment:<br>
><br>
> <a href="https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/26#note_554405" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/26#note_554405</a><br>
<br>
Damn, I completely missed that. Thanks for the heads-up!<br>
</blockquote></div>