X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fthread-controller.cpp;h=605c76ddcc897892933abf73e9f8321e9881c926;hb=aecc2d4c642e0cdf360e56accd3e5b96622a707f;hp=3cffd541a9741d26b807df103f80f9c26e55a8ab;hpb=27a1f981233e50b76d6ada1d33ce7f8f8ac3136d;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/system/common/thread-controller.cpp b/dali/internal/system/common/thread-controller.cpp index 3cffd54..605c76d 100644 --- a/dali/internal/system/common/thread-controller.cpp +++ b/dali/internal/system/common/thread-controller.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -80,12 +80,12 @@ void ThreadController::RequestUpdate() mThreadControllerInterface->RequestUpdate(); } -void ThreadController::RequestUpdateOnce() +void ThreadController::RequestUpdateOnce( UpdateMode updateMode ) { - mThreadControllerInterface->RequestUpdateOnce(); + mThreadControllerInterface->RequestUpdateOnce( updateMode ); } -void ThreadController::ReplaceSurface( RenderSurface* newSurface ) +void ThreadController::ReplaceSurface( Dali::RenderSurfaceInterface* newSurface ) { mThreadControllerInterface->ReplaceSurface( newSurface ); } @@ -95,6 +95,11 @@ void ThreadController::ResizeSurface() mThreadControllerInterface->ResizeSurface(); } +void ThreadController::WaitForGraphicsInitialization() +{ + mThreadControllerInterface->WaitForGraphicsInitialization(); +} + void ThreadController::SetRenderRefreshRate(unsigned int numberOfVSyncsPerRender ) { mThreadControllerInterface->SetRenderRefreshRate( numberOfVSyncsPerRender ); @@ -105,6 +110,16 @@ void ThreadController::SetPreRenderCallback( CallbackBase* callback ) mThreadControllerInterface->SetPreRenderCallback( callback ); } +void ThreadController::AddSurface( Dali::RenderSurfaceInterface* newSurface ) +{ + mThreadControllerInterface->AddSurface( newSurface ); +} + +bool ThreadController::IsRenderingWindows() const +{ + return mThreadControllerInterface->IsRenderingWindows(); +} + } // namespace Adaptor } // namespace Internal