X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fthread-controller.h;h=471a5f93d5d8d391619d712a5a6ea553261dcbcf;hb=e2b1bb333f68b1a21a24f84c6c21db2f618a8f53;hp=686c653fc0f36f50cea245e600cb6c07055a4936;hpb=eef835187c9658b089e4fc43a69d6bf65080d922;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/system/common/thread-controller.h b/dali/internal/system/common/thread-controller.h index 686c653..471a5f9 100644 --- a/dali/internal/system/common/thread-controller.h +++ b/dali/internal/system/common/thread-controller.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_THREAD_CONTROLLER_H /* - * Copyright (c) 2019 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. @@ -112,15 +112,14 @@ public: void ReplaceSurface( Dali::RenderSurfaceInterface* surface ); /** - * Deletes the surface. - * @param surface The surface to be deleted + * Resize the surface. */ - void DeleteSurface( Dali::RenderSurfaceInterface* surface ); + void ResizeSurface(); /** - * Resize the surface. + * Wait until the graphics is initialised. */ - void ResizeSurface(); + void WaitForGraphicsInitialization(); /** * @copydoc Dali::Adaptor::SetRenderRefreshRate() @@ -132,6 +131,18 @@ public: */ void SetPreRenderCallback( CallbackBase* callback ); + /** + * @brief Adds the new surface. + * + * @param surface new surface + */ + void AddSurface( Dali::RenderSurfaceInterface* surface ); + + /** + * @copydoc Dali::Adaptor::IsRenderingWindows() + */ + bool IsRenderingWindows() const; + private: // Undefined copy constructor.