From 17e40d4547f231eae9444001c82f1b40b16c331d Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Mon, 6 Dec 2021 09:09:38 +0900 Subject: [PATCH] [Tizen] CanvasRenderer: Update tvgRoot Before setting the target buffer, the push to the root is completed, so the buffer is set and the root should be updated. This patch cherry-pick from 05634b1d97b1470116de69775ef6c7a503edfb15 Change-Id: Ic3673bcb5ab151ea713a4acecffb23750eb9230d --- dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp b/dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp index 7daa7c1..e767ada 100644 --- a/dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp +++ b/dali/internal/canvas-renderer/tizen/canvas-renderer-impl-tizen.cpp @@ -336,6 +336,8 @@ bool CanvasRendererTizen::Rasterize() mTvgCanvas->target(reinterpret_cast(buffer), stride / 4, width, height, tvg::SwCanvas::ARGB8888); + mTvgCanvas->update(mTvgRoot); + if(mTvgCanvas->draw() != tvg::Result::Success) { DALI_LOG_ERROR("ThorVG Draw fail [%p]\n", this); -- 2.7.4