[qtwayland] Dynamically grow buffer pool if exhausted

In some cases (when clients are not waiting for frame events)
the buffer pool can become exhausted. If this happens, grow
the pool but print a warning. It is likely that a client is
misbehaving.
Merge pull request #22 from mikkoharju/pool

[qtwayland] Dynamically grow buffer pool if exhausted
Revert "Set window state on platform window creation"

This broke fingerterm launch due to infinite recursion thanks to flush.
This reverts commit 0643eb7473b60449bcedb8b9eaac1adebcf5962c.
Revert "Revert "Set window state on platform window creation""

This reverts commit 1c1c7f08e6af2605b74fe6ebe2afd97918b003ff.
wayland-egl: Don't trust EGL implementations to resize EGL window surfaces

Apparently in some EGL implementations surface caching manages to ignore
surface resizes, so it is safer to re-create the EGL window surface upon
window resizes. This should not impose a big performance issue as resizes
are relatively rare and usually one-time operations.

Signed-off-by: Kalle Vahlman <kalle.vahlman@movial.com>
Merge pull request #24 from kvahlman/surface-resize-fix

wayland-egl: Don't trust EGL implementations to resize EGL window surfac...
Compositor: add BypassWindowManager hint to WindowFlags

BypassWindowManagerHint is already being used on the client-side in
QtWayland, and it would be beneficial to see this compositor-side as well.

Change-Id: I4801a0c2f14f86fcd48cc49c3f2324af4216fb6f
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Merge pull request #25 from xknight/master

Compositor: add BypassWindowManager hint to WindowFlags
Revert "wayland-egl: Don't trust EGL implementations to resize EGL window surfaces"

This reverts commit ba9c70a4ba343dd40e268d2111dc6be7c05f66f2.

This is a workaround for platform-level issues, and it causes issues of its own
(horrible visual flickering etc).
Remove comments causing false scriptlet warnings.