From 577d0d22e023836d1e2ba29c0a14b7f25206ea8b Mon Sep 17 00:00:00 2001 From: Joonbum Ko Date: Wed, 12 Aug 2020 16:41:41 +0900 Subject: [PATCH] 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 --- src/DSRender/DSRenderEngineDaliImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4