From: Joonbum Ko Date: Wed, 12 Aug 2020 07:41:41 +0000 (+0900) Subject: DSRenderEngineDaliImpl: Set dali render thread mode to MANUAL. X-Git-Tag: accepted/tizen/unified/20200820.213435~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F241809%2F1;p=platform%2Fcore%2Fuifw%2Flibds.git DSRenderEngineDaliImpl: Set dali render thread mode to MANUAL. - There are two RenderModes provided by Dali::OffscreenApplication. 1. AUTO 2. MANUAL - AUTO performs rendering without stopping while traversing the Scene Graph even if it is not requested. - MANUAL is a mode that basically stops the render thread and performs rendering only when there is a render once request. Change-Id: Iabfc409ff5fdfc8b24ecbc45944e2d7ba8a442b8 Signed-off-by: Joonbum Ko --- diff --git a/src/DSRender/DSRenderEngineDaliImpl.cpp b/src/DSRender/DSRenderEngineDaliImpl.cpp index 12d8b18..70e02d4 100644 --- a/src/DSRender/DSRenderEngineDaliImpl.cpp +++ b/src/DSRender/DSRenderEngineDaliImpl.cpp @@ -38,7 +38,7 @@ DSRenderEngineDaliImpl::DSRenderEngineDaliImpl(std::shared_ptr b : __bufferQueue(bufferQueue) { tbm_surface_queue_h nativeBufferQueue = (tbm_surface_queue_h)bufferQueue->getNativeBufferQueue(); - __offscreenApplication = OffscreenApplication::New((nativeBufferQueue), true); + __offscreenApplication = OffscreenApplication::New(nativeBufferQueue, true, OffscreenApplication::RenderMode::MANUAL); __offscreenApplication.InitSignal().Connect(this, &DSRenderEngineDaliImpl::onInitialize);