From b80bcffba6175c53ebe1f1bd02730de0338cc039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 12 Nov 2009 14:06:45 -0500 Subject: libdrm: add libdrm support for page flip ioctl --- libdrm/xf86drm.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libdrm/xf86drm.h') diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h index 2cb9c9e9..0c1fcbbf 100644 --- a/libdrm/xf86drm.h +++ b/libdrm/xf86drm.h @@ -682,6 +682,12 @@ typedef struct _drmEventContext { unsigned int tv_usec, void *user_data); + void (*page_flip_handler)(int fd, + unsigned int sequence, + unsigned int tv_sec, + unsigned int tv_usec, + void *user_data); + } drmEventContext, *drmEventContextPtr; extern int drmHandleEvent(int fd, drmEventContextPtr evctx); -- cgit v1.2.3