Avoid flicker when switching back to composited mode
authorPaul Olav Tvete <paul.tvete@nokia.com>
Fri, 2 Mar 2012 09:12:29 +0000 (10:12 +0100)
committerAndy Nichols <andy.nichols@nokia.com>
Fri, 2 Mar 2012 11:39:52 +0000 (12:39 +0100)
commitc5163c53337b72e0c28aebe89580d2ef5986d339
tree4836e96b72b2ee0adf7c0dae0a79389447562f57
parent6fa64420f8a0d58ce5774f34b6df4f5502044fbc
Avoid flicker when switching back to composited mode

The surface item needs to create a new texture when the compositor
switches from direct render to composited mode.

Change-Id: Ic2d65929617f1941ea290645ac28b8e986c414bc
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/compositor/compositor_api/waylandsurfaceitem.cpp
src/compositor/compositor_api/waylandsurfaceitem.h
src/compositor/wayland_wrapper/wlsurface.cpp