Make sure we always release buffers
authorPaul Olav Tvete <paul.tvete@nokia.com>
Fri, 9 Sep 2011 07:46:28 +0000 (09:46 +0200)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Fri, 9 Sep 2011 07:46:28 +0000 (09:46 +0200)
commit01adb998ffad1385e2d297d3fdb2f3808177fded
treeab718a7867a45d5c82ecb79053eca266301397da
parent047e7540b818954760db5fb63422216335d2ee54
Make sure we always release buffers

If for some reason the compositor is not able to handle a buffer
before the next one arrives, the buffer would be locked forever.
This change detects that case, and adds an "emergency release", and
displays a warning.
src/qt-compositor/wayland_wrapper/wlsurface.cpp