<html><head/><body><html><head></head><body><div class="gmail_quote">Alex Wu <zhiwen.wu@linux.intel.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">Hi,<br />I cooked the patch to improve the opaque setting logic in ecore_wayland.<br />It can significantly help the weston to do more efficient compositing.<br />Modifications including:<br />1. Update win->region.opaque in ecore_wl_window_update_size, so that<br />the opaque info is synced with the geometry.<br /><br />2. Add win->surface checking in ecore_wl_window_buffer_attach<br />before send any wl_surface related request, it will avoid segfault<br />in case that calling ecore_wl_window_buffer_attach() before<br />ecore_wl_window_show().<br /></pre><p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px"><hr /><br />wayland-devel mailing list<br />wayland-devel@lists.freedesktop.org<br /><a
href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br /></pre></blockquote></div><br clear="all">Thanks Alex :-)<br>
<br>
The patch looks good but I cannot test it until Monday.<br>
<br>
dh</body></html></body></html>