SRM  v0.11.0-1
Simple Rendering Manager
SRMPresentationTime Struct Reference

Struct representing presentation time information. More...

#include <SRMTypes.hh>

Data Fields

struct timespec time
 The presentation timestamp. More...
 
UInt32 period
 Nanoseconds prediction until the next refresh. Zero if unknown. More...
 
UInt64 frame
 Vertical retrace counter. Zero if unknown. More...
 
UInt32 flags
 Flags indicating how the presentation was done, see SRM_PRESENTATION_TIME_FLAGS. More...
 

Detailed Description

Struct representing presentation time information.

This struct provides information about how the last framebuffer was presented on a connector display.

See also
srmConnectorGetPresentationTime()

Field Documentation

◆ time

struct timespec SRMPresentationTime::time

The presentation timestamp.

◆ period

UInt32 SRMPresentationTime::period

Nanoseconds prediction until the next refresh. Zero if unknown.

◆ frame

UInt64 SRMPresentationTime::frame

Vertical retrace counter. Zero if unknown.

◆ flags

UInt32 SRMPresentationTime::flags

Flags indicating how the presentation was done, see SRM_PRESENTATION_TIME_FLAGS.