[Tizen] Mark as do not skip rendering if SceneGraphRenderer dirty 98/307898/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20240319.152946 accepted/tizen/7.0/unified/20240330.125528 accepted/tizen/7.0/unified/20240418.084435
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 14 Mar 2024 05:26:56 +0000 (14:26 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 14 Mar 2024 05:26:56 +0000 (14:26 +0900)
Let we make dirty if textureset is changed

Change-Id: I6534626b0a830611ab599b62bc673364a451aadf
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/update/rendering/scene-graph-renderer.cpp

index 4d73b0d..2ae6d16 100644 (file)
@@ -307,6 +307,11 @@ void Renderer::SetTextures(TextureSet* textureSet)
   DALI_ASSERT_DEBUG(textureSet != NULL && "Texture set pointer is NULL");
 
   mTextureSet = textureSet;
+
+  // Temperal way to notify renderer updated flag.
+  mUpdateDecay = Decay::INITIAL;
+
+  SetUpdated(true);
 }
 
 const Vector<Render::Texture*>* Renderer::GetTextures() const
@@ -343,6 +348,8 @@ void Renderer::SetGeometry(Render::Geometry* geometry)
   {
     mResendFlag |= RESEND_GEOMETRY;
   }
+
+  SetUpdated(true);
 }
 
 void Renderer::SetDepthIndex(int depthIndex)