X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fbase%2Fvsync-notifier.h;h=fd6bdc3450e037fe6e58b3f8112bc18ae2f6e0cc;hb=80bd8bfc36109f352810162538a89d87da7c26ac;hp=c1c632de1623a82d3e10608bdffe2e3428f0169c;hpb=798bf0321f4d3b2f9bf1e089bef90e479a9a78c8;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/base/vsync-notifier.h b/adaptors/base/vsync-notifier.h index c1c632d..fd6bdc3 100644 --- a/adaptors/base/vsync-notifier.h +++ b/adaptors/base/vsync-notifier.h @@ -2,7 +2,7 @@ #define __DALI_INTERNAL_VSYNC_NOTIFIER_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 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. @@ -39,7 +39,7 @@ namespace Adaptor { class VSyncMonitorInterface; -class UpdateRenderSynchronization; +class ThreadSynchronization; class EnvironmentOptions; class AdaptorInternalServices; @@ -58,7 +58,7 @@ public: * @param[in] adaptorInterfaces base adaptor interface * @param[in] environmentOptions environment options */ - VSyncNotifier( UpdateRenderSynchronization& sync, + VSyncNotifier( ThreadSynchronization& sync, AdaptorInternalServices& adaptorInterfaces, const EnvironmentOptions& environmentOptions); @@ -97,13 +97,13 @@ private: private: - UpdateRenderSynchronization& mUpdateRenderSync; ///< Used to synchronize the update, render & vsync threads - Dali::Integration::Core& mCore; ///< Dali core reference - Integration::PlatformAbstraction& mPlatformAbstraction; ///< The platform abstraction for retrieving the current time etc. - VSyncMonitorInterface* mVSyncMonitor; ///< VSyncMonitor interface - pthread_t* mThread; ///< The actual thread. - const EnvironmentOptions& mEnvironmentOptions; ///< Environment options - unsigned int mNumberOfVSyncsPerRender;///< How many frames for each update/render cycle. + ThreadSynchronization& mThreadSynchronization; ///< Used to synchronize all the threads + Dali::Integration::Core& mCore; ///< Dali core reference + Integration::PlatformAbstraction& mPlatformAbstraction; ///< The platform abstraction for retrieving the current time etc. + VSyncMonitorInterface* mVSyncMonitor; ///< VSyncMonitor interface + pthread_t* mThread; ///< The actual thread. + const EnvironmentOptions& mEnvironmentOptions; ///< Environment options + unsigned int mNumberOfVSyncsPerRender; ///< How many frames for each update/render cycle. }; // class VSyncNotifier