Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::Adaptor::VSyncMonitor Class Reference

Tizen interface for monitoring VSync. More...

#include <vsync-monitor.h>

Inheritance diagram for Dali::Internal::Adaptor::VSyncMonitor:
Inheritance graph
Collaboration diagram for Dali::Internal::Adaptor::VSyncMonitor:
Collaboration graph

Public Member Functions

 VSyncMonitor ()
 Default constructor. More...
virtual ~VSyncMonitor ()
 Destructor. More...
void SetUseHardwareVSync (bool useHardware)
 Set the use hardware flag. More...
void SetHardwareVSyncAvailable (bool available)
 Set whether the vsync hardware is available. More...

Private Member Functions

virtual void Initialize ()
 copydoc Dali::Internal::Adaptor::VSyncMonitorInterface::Initialize More...
virtual void Terminate ()
 copydoc Dali::Internal::Adaptor::VSyncMonitorInterface::Terminate More...
virtual bool UseHardware ()
 copydoc Dali::Internal::Adaptor::VSyncMonitorInterface::UseHardware More...
virtual bool DoSync (unsigned int &frameNumber, unsigned int &seconds, unsigned int &microseconds)
 copydoc Dali::Internal::Adaptor::VSyncMonitorInterface::DoSync More...

Private Attributes

int mFileDescriptor
 DRM dev node file descriptor. More...
drmVBlank mVBlankInfo
unsigned int mUseHardwareVSync
 Whether to use hardware vsync. More...
unsigned int mHardwareVSyncAvailable
 Whether hardware vsync is available. More...

Additional Inherited Members

- Protected Member Functions inherited from Dali::Internal::Adaptor::VSyncMonitorInterface
virtual ~VSyncMonitorInterface ()
 Virtual protected destructor - no deletion through this interface. More...

Detailed Description

Tizen interface for monitoring VSync.

Definition at line 39 of file vsync-monitor.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::VSyncMonitor::VSyncMonitor ( )

Default constructor.

virtual Dali::Internal::Adaptor::VSyncMonitor::~VSyncMonitor ( )


Member Function Documentation

virtual bool Dali::Internal::Adaptor::VSyncMonitor::DoSync ( unsigned int &  frameNumber,
unsigned int &  seconds,
unsigned int &  microseconds 
virtual void Dali::Internal::Adaptor::VSyncMonitor::Initialize ( )
void Dali::Internal::Adaptor::VSyncMonitor::SetHardwareVSyncAvailable ( bool  available)

Set whether the vsync hardware is available.

(This is public to allow callback method to work...)

void Dali::Internal::Adaptor::VSyncMonitor::SetUseHardwareVSync ( bool  useHardware)

Set the use hardware flag.

[in]useHardwareThe new state for the use hardware flag.

Referenced by Dali::Internal::Adaptor::Adaptor::SetUseHardwareVSync().

Here is the caller graph for this function:

virtual void Dali::Internal::Adaptor::VSyncMonitor::Terminate ( )
virtual bool Dali::Internal::Adaptor::VSyncMonitor::UseHardware ( )

Member Data Documentation

int Dali::Internal::Adaptor::VSyncMonitor::mFileDescriptor

DRM dev node file descriptor.

Definition at line 90 of file vsync-monitor.h.

unsigned int Dali::Internal::Adaptor::VSyncMonitor::mHardwareVSyncAvailable

Whether hardware vsync is available.

Definition at line 94 of file vsync-monitor.h.

unsigned int Dali::Internal::Adaptor::VSyncMonitor::mUseHardwareVSync

Whether to use hardware vsync.

Definition at line 93 of file vsync-monitor.h.

drmVBlank Dali::Internal::Adaptor::VSyncMonitor::mVBlankInfo

Definition at line 91 of file vsync-monitor.h.

The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali