1xcb_dri3_fd_from_fence(3) XCB Requests xcb_dri3_fd_from_fence(3)
2
3
4
6 xcb_dri3_fd_from_fence -
7
9 #include <xcb/dri3.h>
10
11 Request function
12 xcb_dri3_fd_from_fence_cookie_t
13 xcb_dri3_fd_from_fence(xcb_connection_t *conn,
14 xcb_drawable_t drawable, uint32_t fence);
15
16 Reply datastructure
17 typedef struct xcb_dri3_fd_from_fence_reply_t {
18 uint8_t response_type;
19 uint8_t nfd;
20 uint16_t sequence;
21 uint32_t length;
22 uint8_t pad0[24];
23 } xcb_dri3_fd_from_fence_reply_t;
24
25 Reply function
26 xcb_dri3_fd_from_fence_reply_t
27 *xcb_dri3_fd_from_fence_reply(xcb_connection_t *conn,
28 xcb_dri3_fd_from_fence_cookie_t cookie,
29 xcb_generic_error_t **e);
30
32 conn The XCB connection to X11.
33
34 drawable TODO: NOT YET DOCUMENTED.
35
36 fence TODO: NOT YET DOCUMENTED.
37
39 response_type
40 The type of this reply, in this case XCB_DRI3_FD_FROM_FENCE.
41 This field is also present in the xcb_generic_reply_t and can
42 be used to tell replies apart from each other.
43
44 sequence The sequence number of the last request processed by the X11
45 server.
46
47 length The length of the reply, in words (a word is 4 bytes).
48
49 nfd TODO: NOT YET DOCUMENTED.
50
51 fence_fd TODO: NOT YET DOCUMENTED.
52
55 Returns an xcb_dri3_fd_from_fence_cookie_t. Errors have to be handled
56 when calling the reply function xcb_dri3_fd_from_fence_reply.
57
58 If you want to handle errors in the event loop instead, use
59 xcb_dri3_fd_from_fence_unchecked. See xcb-requests(3) for details.
60
62 This request does never generate any errors.
63
66 Generated from dri3.xml. Contact xcb@lists.freedesktop.org for correcā
67 tions and improvements.
68
69
70
71X Version 11 libxcb 1.13.1 xcb_dri3_fd_from_fence(3)