X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fthread-controller-interface.h;h=94276ff31b0201a6b387b96dbceb24d4ac213ca1;hb=aecc2d4c642e0cdf360e56accd3e5b96622a707f;hp=8c63c7d68b23edb831bf77b752828d5c0c37ca81;hpb=933c1dbf254323c594c927b5980249f0240a6847;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/thread-controller-interface.h b/dali/internal/adaptor/common/thread-controller-interface.h index 8c63c7d..94276ff 100644 --- a/dali/internal/adaptor/common/thread-controller-interface.h +++ b/dali/internal/adaptor/common/thread-controller-interface.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_THREAD_CONTROLLER_INTERFACE_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. @@ -93,15 +93,14 @@ public: virtual void ReplaceSurface( Dali::RenderSurfaceInterface* surface ) = 0; /** - * Deletes the surface. - * @param[in] surface The surface to be deleted + * Resize the surface. */ - virtual void DeleteSurface( Dali::RenderSurfaceInterface* surface ) = 0; + virtual void ResizeSurface() = 0; /** - * Resize the surface. + * Wait until the graphics is initialised. */ - virtual void ResizeSurface() = 0; + virtual void WaitForGraphicsInitialization() = 0; /** * @copydoc Dali::Adaptor::SetRenderRefreshRate() @@ -113,6 +112,17 @@ public: */ virtual void SetPreRenderCallback( CallbackBase* callback ) = 0; + /** + * @brief Adds the new surface. + * @param surface new surface + */ + virtual void AddSurface( Dali::RenderSurfaceInterface* surface ) = 0; + + /** + * @copydoc Dali::Adaptor::IsRenderingWindows() + */ + virtual bool IsRenderingWindows() const = 0; + protected: /**