X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fthread-controller.cpp;h=605c76ddcc897892933abf73e9f8321e9881c926;hb=aecc2d4c642e0cdf360e56accd3e5b96622a707f;hp=3d70efe390733e99acdbc23b97aa53ab83fd20d9;hpb=09e6892adcddf6d2bf7c88dc8442a42da2ac57f5;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 3d70efe..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,9 +80,9 @@ void ThreadController::RequestUpdate() mThreadControllerInterface->RequestUpdate(); } -void ThreadController::RequestUpdateOnce() +void ThreadController::RequestUpdateOnce( UpdateMode updateMode ) { - mThreadControllerInterface->RequestUpdateOnce(); + mThreadControllerInterface->RequestUpdateOnce( updateMode ); } void ThreadController::ReplaceSurface( Dali::RenderSurfaceInterface* 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