X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fcombined-update-render-controller.h;h=bdb51b013fa53f56cd5481f5a91ca3c819a9c94e;hb=e8e185f7d90010214890c2cb78bdd52c732f63ba;hp=7760c7e2b381aa8b10a00b4b17b3b37ab1fd09af;hpb=37d8d7dca35290d61aeb300f8f97bb993998d4e4;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/combined-update-render-controller.h b/dali/internal/adaptor/common/combined-update-render-controller.h index 7760c7e..bdb51b0 100644 --- a/dali/internal/adaptor/common/combined-update-render-controller.h +++ b/dali/internal/adaptor/common/combined-update-render-controller.h @@ -1,5 +1,5 @@ -#ifndef __DALI_INTERNAL_COMBINED_UPDATE_RENDER_CONTROLLER_H__ -#define __DALI_INTERNAL_COMBINED_UPDATE_RENDER_CONTROLLER_H__ +#ifndef DALI_INTERNAL_COMBINED_UPDATE_RENDER_CONTROLLER_H +#define DALI_INTERNAL_COMBINED_UPDATE_RENDER_CONTROLLER_H /* * Copyright (c) 2018 Samsung Electronics Co., Ltd. @@ -28,14 +28,15 @@ #include #include #include -#include #include #include +#include + namespace Dali { -class RenderSurface; +class RenderSurfaceInterface; class TriggerEventInterface; namespace Internal @@ -123,7 +124,7 @@ public: /** * @copydoc ThreadControllerInterface::ReplaceSurface() */ - virtual void ReplaceSurface( RenderSurface* surface ); + virtual void ReplaceSurface( Dali::RenderSurfaceInterface* surface ); /** * @copydoc ThreadControllerInterface::ResizeSurface() @@ -216,7 +217,7 @@ private: * * @return Pointer to the new surface, NULL otherwise */ - RenderSurface* ShouldSurfaceBeReplaced(); + Integration::RenderSurface* ShouldSurfaceBeReplaced(); /** * Called by the Update/Render thread after a surface has been replaced. @@ -299,8 +300,6 @@ private: FpsTracker mFpsTracker; ///< Object that tracks the FPS UpdateStatusLogger mUpdateStatusLogger; ///< Object that logs the update-status as required. - RenderHelper mRenderHelper; ///< Helper class for EGL, pre & post rendering - sem_t mEventThreadSemaphore; ///< Used by the event thread to ensure all threads have been initialised, and when replacing the surface. ConditionalWait mUpdateRenderThreadWaitCondition; ///< The wait condition for the update-render-thread. @@ -335,11 +334,11 @@ private: volatile unsigned int mUseElapsedTimeAfterWait; ///< Whether we should use the elapsed time after waiting (set by the event-thread, read by the update-render-thread). - RenderSurface* volatile mNewSurface; ///< Will be set to the new-surface if requested (set by the event-thread, read & cleared by the update-render thread). + Integration::RenderSurface* volatile mNewSurface; ///< Will be set to the new-surface if requested (set by the event-thread, read & cleared by the update-render thread). volatile unsigned int mPostRendering; ///< Whether post-rendering is taking place (set by the event & render threads, read by the render-thread). volatile unsigned int mSurfaceResized; ///< Will be set to resize the surface (set by the event-thread, read & cleared by the update-render thread). - volatile unsigned int mForceClear; ///< Will be set to clear forcely + volatile unsigned int mForceClear; ///< Will be set to clear forcibly }; } // namespace Adaptor @@ -348,4 +347,4 @@ private: } // namespace Dali -#endif // __DALI_INTERNAL_COMBINED_UPDATE_RENDER_CONTROLLER_H__ +#endif // DALI_INTERNAL_COMBINED_UPDATE_RENDER_CONTROLLER_H