summaryrefslogtreecommitdiff
path: root/dri3/dri3.h
diff options
context:
space:
mode:
Diffstat (limited to 'dri3/dri3.h')
-rw-r--r--dri3/dri3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dri3/dri3.h b/dri3/dri3.h
index 7c0c33018..1c04cbd2d 100644
--- a/dri3/dri3.h
+++ b/dri3/dri3.h
@@ -32,7 +32,8 @@
#define DRI3_SCREEN_INFO_VERSION 0
-typedef int (*dri3_open_proc)(ScreenPtr screen,
+typedef int (*dri3_open_proc)(ClientPtr client,
+ ScreenPtr screen,
RRProviderPtr provider,
int *fd);
@@ -60,6 +61,9 @@ typedef struct dri3_screen_info {
extern _X_EXPORT Bool
dri3_screen_init(ScreenPtr screen, dri3_screen_info_ptr info);
+extern _X_EXPORT int
+dri3_send_open_reply(ClientPtr client, int fd);
+
#endif
#endif /* _DRI3_H_ */