summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-02-22 17:19:30 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-02-22 17:19:30 +0100
commit5a40c043ccf965b1c3c74c80828090d2bc4438d4 (patch)
treeb6c658f9d23b7da4921cab2733a4dc348d8e74d8 /libdrm
parent6f89584e136211d7c4c69d88005f0e70393274f8 (diff)
Add DRM_VBLANK_FLIP.
Used to request that a scheduled buffer swap be done as a flip instead of a blit.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h
index 34c9ec0e..e84b23d7 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -270,6 +270,7 @@ typedef struct _drmTextureRegion {
typedef enum {
DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */
DRM_VBLANK_RELATIVE = 0x1, /**< Wait for given number of vblanks */
+ DRM_VBLANK_FLIP = 0x8000000, /**< Scheduled buffer swap should flip */
DRM_VBLANK_NEXTONMISS = 0x10000000, /**< If missed, wait for next vblank */
DRM_VBLANK_SECONDARY = 0x20000000, /**< Secondary display controller */
DRM_VBLANK_SIGNAL = 0x40000000 /* Send signal instead of blocking */