From: Tasuku Suzuki Date: Sat, 16 Aug 2014 13:15:32 +0000 (+0900) Subject: Mark custom node in textureinthread dirty after rendering texture X-Git-Tag: v5.3.99+beta1~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d28a3b7b195da3ef7c4c23ddb0add94aff72a368;p=platform%2Fupstream%2Fqtdeclarative.git Mark custom node in textureinthread dirty after rendering texture Change-Id: I4401a6db18b1fcc69403062f3f4775d3b62dfd3e Reviewed-by: Gunnar Sletta --- diff --git a/examples/quick/scenegraph/textureinthread/threadrenderer.cpp b/examples/quick/scenegraph/textureinthread/threadrenderer.cpp index 270a7f4..d840d39 100644 --- a/examples/quick/scenegraph/textureinthread/threadrenderer.cpp +++ b/examples/quick/scenegraph/textureinthread/threadrenderer.cpp @@ -192,6 +192,8 @@ public slots: m_texture = m_window->createTextureFromId(newId, size); setTexture(m_texture); + markDirty(DirtyMaterial); + // This will notify the rendering thread that the texture is now being rendered // and it can start rendering to the other one. emit textureInUse();