- 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 <joonbum.ko@samsung.com>
: __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);