diff options
author | Michel Dänzer <[email protected]> | 2006-09-28 14:09:20 +0000 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2006-09-28 14:09:20 +0000 |
commit | ebc879014c8b3cba1db69f2d8f9006cc031ba350 (patch) | |
tree | 380d90561679b2b20643b38d47e9ddcb091d9c57 /src/mesa/drivers/dri/common/vblank.h | |
parent | 638ece315f4ee7be7f0fe0a0acd2550b4ccb8a7d (diff) |
Add helper function that returns the current vblank sequence of a drawable.
Diffstat (limited to 'src/mesa/drivers/dri/common/vblank.h')
-rw-r--r-- | src/mesa/drivers/dri/common/vblank.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/vblank.h b/src/mesa/drivers/dri/common/vblank.h index 00f0e7506f4..ec83adc78dd 100644 --- a/src/mesa/drivers/dri/common/vblank.h +++ b/src/mesa/drivers/dri/common/vblank.h @@ -53,6 +53,8 @@ extern void driDrawableInitVBlank ( __DRIdrawablePrivate *priv, GLuint flags, GLuint *vbl_seq ); extern unsigned driGetVBlankInterval( const __DRIdrawablePrivate *priv, GLuint flags ); +extern void driGetCurrentVBlank( const __DRIdrawablePrivate *priv, + GLuint flags, GLuint *vbl_seq ); extern int driWaitForVBlank( const __DRIdrawablePrivate *priv, GLuint * vbl_seq, GLuint flags, GLboolean * missed_deadline ); |