<div dir="ltr">Sorry, somewhat part of my message got removed. It should begin with:<div><br></div><div>"This is a RFC on a follow-up patch to my recently posted patch series on the</div><div>xorg-devel mailing list to enable per window flips of Present Pixmaps to</div><div>Wayland surfaces:</div><div><a href="https://lists.freedesktop.org/archives/xorg-devel/2018-January/055674.html">https://lists.freedesktop.org/archives/xorg-devel/2018-January/055674.html</a></div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">The above patch series only allows flips...</span>"</div><div><br></div><div>and so on.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 5:54 PM, Roman Gilg <span dir="ltr"><<a href="mailto:subdiff@gmail.com" target="_blank">subdiff@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The above patch series only allows flips on a child window with the same<br>
dimensions as its parent xwl_window. For flips on child windows (for example<br>
the video view port of a video player in windowed mode, see here:<br>
<a href="http://www.subdiff.de/assets/images/2017-07-28-a-new-beginning.jpg" rel="noreferrer" target="_blank">http://www.subdiff.de/assets/<wbr>images/2017-07-28-a-new-<wbr>beginning.jpg</a>) I wanted<br>
to use Wayland subsurfaces as in the attached patch.<br>
<br>
The flipping itself works well on Weston and on KWin. But when shutting down<br>
KWin in the end I get always a segmentation fault in Mesa when cleaning up EGL<br>
via eglTerminate(EGLDisplay) through libepoxy.<br>
<br>
I pinpointed the seg fault to be a missing destroyImage function pointer here:<br>
<a href="https://cgit.freedesktop.org/mesa/mesa/tree/src/egl/drivers/dri2/egl_dri2.c#n2685" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr>mesa/mesa/tree/src/egl/<wbr>drivers/dri2/egl_dri2.c#n2685</a><br>
<br>
But I don't see currently what component is making the problems here or if the<br>
problem lies in my code.<br>
<br>
</blockquote></div><br></div>