diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-22 10:44:09 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-22 10:44:09 +0200 |
commit | a6535c8db4614376ce8ecb7d889b92db066a96cc (patch) | |
tree | 90b4676d1e0b9316e0fe735d596f79b175200171 /libdrm/xf86drm.h | |
parent | 7058d06317e17253d874bf4df7b09d0d52a5fd74 (diff) |
Add a fence object class field for future use (For example VSYNC fence objects)
Diffstat (limited to 'libdrm/xf86drm.h')
-rw-r--r-- | libdrm/xf86drm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h index 0e037daa..78730785 100644 --- a/libdrm/xf86drm.h +++ b/libdrm/xf86drm.h @@ -282,6 +282,7 @@ typedef struct _drmSetVersion { typedef struct _drmFence{ unsigned handle; + int class; unsigned type; unsigned signaled; } drmFence; @@ -603,7 +604,8 @@ extern int drmWaitVBlank(int fd, drmVBlankPtr vbl); /* Fencing */ -extern int drmFenceCreate(int fd, int shareable, unsigned type, int emit, +extern int drmFenceCreate(int fd, int shareable, int class, + unsigned type, int emit, drmFence *fence); extern int drmFenceDestroy(int fd, const drmFence *fence); extern int drmFenceReference(int fd, unsigned handle, drmFence *fence); |