X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fthread-controller.h;h=d51e57d7f891550d99c7c479ffc676e79095b7d5;hb=26771f49800f03bac50943b9ca711f3eb38ccd4d;hp=471a5f93d5d8d391619d712a5a6ea553261dcbcf;hpb=184a74b225f15c2939e639ae70b159b914401428;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 471a5f9..d51e57d 100644 --- a/dali/internal/system/common/thread-controller.h +++ b/dali/internal/system/common/thread-controller.h @@ -34,6 +34,7 @@ namespace Adaptor { enum class UpdateMode; +enum class ThreadMode; class AdaptorInternalServices; class EnvironmentOptions; @@ -49,7 +50,7 @@ public: /** * Constructor */ - ThreadController( AdaptorInternalServices& adaptorInterfaces, const EnvironmentOptions& environmentOptions ); + ThreadController( AdaptorInternalServices& adaptorInterfaces, const EnvironmentOptions& environmentOptions, ThreadMode threadMode ); /** * Non virtual destructor. Not intended as base class. @@ -112,6 +113,12 @@ public: void ReplaceSurface( Dali::RenderSurfaceInterface* surface ); /** + * Deletes the surface. + * @param surface The surface to be deleted + */ + void DeleteSurface( Dali::RenderSurfaceInterface* surface ); + + /** * Resize the surface. */ void ResizeSurface(); @@ -138,11 +145,6 @@ public: */ void AddSurface( Dali::RenderSurfaceInterface* surface ); - /** - * @copydoc Dali::Adaptor::IsRenderingWindows() - */ - bool IsRenderingWindows() const; - private: // Undefined copy constructor.