Looking at the Weston branch again I found some problems so I've force pushed a new version.
I wasn't destroying the wl_buffer that the subcompositor creates with eglCreateWaylandBufferFromImageWL when the client destroys its buffer. This doesn't really matter because in this example the client doesn't destroy any buffers but it's nice to make it complete in case someone tries to use the code as a basis. To test that I was doing killall on weston-nested-client which showed some other bugs. I added this patch at the beginning to remove the surface from the list when a surface is destroyed: https://github.com/bpeel/weston/commit/12c21d9b1448e401096939b11fc Similarly the subsurface renderer wasn't destroying its frame callback when the surface was destroyed so it would sometimes crash. I also took out the note about using 3 buffers with the subsurface renderer in one of the commit messages because that no longer happens with v2 of the Mesa patch. Regards, - Neil
pgpKFKupWy2p3.pgp
Description: PGP signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel