#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.
{
class VSyncMonitorInterface;
-class UpdateRenderSynchronization;
+class ThreadSynchronization;
class EnvironmentOptions;
class AdaptorInternalServices;
* @param[in] adaptorInterfaces base adaptor interface
* @param[in] environmentOptions environment options
*/
- VSyncNotifier( UpdateRenderSynchronization& sync,
+ VSyncNotifier( ThreadSynchronization& sync,
AdaptorInternalServices& adaptorInterfaces,
const EnvironmentOptions& environmentOptions);
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