Make compositor handle subsurfaces with shm buffers.
authorJørgen Lind <jorgen.lind@nokia.com>
Sat, 7 Jan 2012 19:28:25 +0000 (20:28 +0100)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Tue, 10 Jan 2012 12:49:31 +0000 (13:49 +0100)
commita0ad79fcadc9df6144ff91a8ba4b49321000f5cd
tree2a49b6ab9012d183f2d05e221a1d948f0cf41726
parent8815c5f322bbf5570c283c95df69b6e41e133583
Make compositor handle subsurfaces with shm buffers.

So we'r lying for now for shm buffers, and assuming they
have allways been displayed.

Also, this patch fixes so that if you attach a buffer, and the last
buffer has not gotten any damages, then it will be released.

Change-Id: Id1b9789aa8e4dcff75147f6c96220039defc0d8f
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
src/compositor/wayland_wrapper/wlsurface.cpp