aboutsummaryrefslogtreecommitdiff
path: root/shared-core/drm.h
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 /shared-core/drm.h
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 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 6fccec39..3a5d6346 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -561,6 +561,7 @@ typedef struct drm_irq_busid {
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 */