zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
__DRImediaStreamCounterExtensionRec Struct Reference

#include <dri_interface.h>

Public Attributes

__DRIextension base
 
int(* getDrawableMSC )(__DRIscreen *screen, __DRIdrawable *drawable, int64_t *msc)
 
int(* waitForMSC )(__DRIdrawable *drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *msc, int64_t *sbc)
 

Detailed Description

Definition at line 182 of file dri_interface.h.

Member Data Documentation

__DRIextension __DRImediaStreamCounterExtensionRec::base

Definition at line 183 of file dri_interface.h.

int(* __DRImediaStreamCounterExtensionRec::getDrawableMSC)(__DRIscreen *screen, __DRIdrawable *drawable, int64_t *msc)

Get the number of vertical refreshes since some point in time before this function was first called (i.e., system start up).

Definition at line 199 of file dri_interface.h.

int(* __DRImediaStreamCounterExtensionRec::waitForMSC)(__DRIdrawable *drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *msc, int64_t *sbc)

Wait for the MSC to equal target_msc, or, if that has already passed, the next time (MSC % divisor) is equal to remainder. If divisor is zero, the function will return as soon as MSC is greater than or equal to target_msc.

Definition at line 191 of file dri_interface.h.


The documentation for this struct was generated from the following file: