Recreate the surface textures after the scenegraph invalidation v5.4.1
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>
Thu, 15 Jan 2015 15:50:37 +0000 (17:50 +0200)
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>
Thu, 15 Jan 2015 16:09:51 +0000 (17:09 +0100)
commit23bb7cad3166eedcd528da2d3c35377b506f80cc
treea2aa7fbdc859e27e0355512c1a1761c8d37a1934
parentfd6b6baed4ee1248ea82b15cf5f204025bcb7fac
Recreate the surface textures after the scenegraph invalidation

When the scenegraph is invalidated we delete the surfaces texture.
Set the update flag to true so that when the scene graph is again
initialized and starts to draw a frame the textures will be recreated.

Change-Id: I2fb171e4bed517e48fa2311c22651150f3e605f7
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
src/compositor/compositor_api/qwaylandquicksurface.cpp