summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/vblank.h
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2006-09-28 14:03:41 +0000
committerMichel Dänzer <[email protected]>2006-09-28 14:03:41 +0000
commit7539fde334d3164bc9d33cdabac9c5741d61d012 (patch)
treebf299d4e3d1d760d69f0e470fb9a21e3675efc71 /src/mesa/drivers/dri/common/vblank.h
parent6a2f5c6752213cea67b142727eba9e0900952346 (diff)
driWaitForVBlank: Add support for secondary vertical blank.
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 2663956858d..ca386a6a340 100644
--- a/src/mesa/drivers/dri/common/vblank.h
+++ b/src/mesa/drivers/dri/common/vblank.h
@@ -42,6 +42,8 @@
*/
#define VBLANK_FLAG_NO_IRQ (1U << 7) /* DRM has no IRQ to wait on.
*/
+#define VBLANK_FLAG_SECONDARY (1U << 8) /* Wait for secondary vblank.
+ */
extern int driGetMSC32( __DRIscreenPrivate * priv, int64_t * count );
extern int driWaitForMSC32( __DRIdrawablePrivate *priv,