summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/vblank.h
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2006-09-28 14:04:19 +0000
committerMichel Dänzer <[email protected]>2006-09-28 14:04:19 +0000
commit7585fc989de1eabe7b978226b8750f912f06778c (patch)
treeb289fb48e61cfc97318df2ad3a0e2cfe25391813 /src/mesa/drivers/dri/common/vblank.h
parent7539fde334d3164bc9d33cdabac9c5741d61d012 (diff)
Add driGetVBlankInterval() helper function.
This can be used by drivers to determine the current swap interval of a drawable.
Diffstat (limited to 'src/mesa/drivers/dri/common/vblank.h')
-rw-r--r--src/mesa/drivers/dri/common/vblank.h2
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 ca386a6a340..00f0e7506f4 100644
--- a/src/mesa/drivers/dri/common/vblank.h
+++ b/src/mesa/drivers/dri/common/vblank.h
@@ -51,6 +51,8 @@ extern int driWaitForMSC32( __DRIdrawablePrivate *priv,
extern GLuint driGetDefaultVBlankFlags( const driOptionCache *optionCache );
extern void driDrawableInitVBlank ( __DRIdrawablePrivate *priv, GLuint flags,
GLuint *vbl_seq );
+extern unsigned driGetVBlankInterval( const __DRIdrawablePrivate *priv,
+ GLuint flags );
extern int driWaitForVBlank( const __DRIdrawablePrivate *priv,
GLuint * vbl_seq, GLuint flags, GLboolean * missed_deadline );