1xcb_dri2_wait_sbc(3) XCB Requests xcb_dri2_wait_sbc(3)
2
3
4
6 xcb_dri2_wait_sbc -
7
9 #include <xcb/dri2.h>
10
11 Request function
12 xcb_dri2_wait_sbc_cookie_t xcb_dri2_wait_sbc(xcb_connection_t *conn,
13 xcb_drawable_t drawable, uint32_t target_sbc_hi,
14 uint32_t target_sbc_lo);
15
16 Reply datastructure
17 typedef struct xcb_dri2_wait_sbc_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t ust_hi;
23 uint32_t ust_lo;
24 uint32_t msc_hi;
25 uint32_t msc_lo;
26 uint32_t sbc_hi;
27 uint32_t sbc_lo;
28 } xcb_dri2_wait_sbc_reply_t;
29
30 Reply function
31 xcb_dri2_wait_sbc_reply_t
32 *xcb_dri2_wait_sbc_reply(xcb_connection_t *conn,
33 xcb_dri2_wait_sbc_cookie_t cookie, xcb_generic_error_t **e);
34
36 conn The XCB connection to X11.
37
38 drawable TODO: NOT YET DOCUMENTED.
39
40 target_sbc_hi
41 TODO: NOT YET DOCUMENTED.
42
43 target_sbc_lo
44 TODO: NOT YET DOCUMENTED.
45
47 response_type
48 The type of this reply, in this case XCB_DRI2_WAIT_SBC. This
49 field is also present in the xcb_generic_reply_t and can be
50 used to tell replies apart from each other.
51
52 sequence The sequence number of the last request processed by the X11
53 server.
54
55 length The length of the reply, in words (a word is 4 bytes).
56
57 ust_hi TODO: NOT YET DOCUMENTED.
58
59 ust_lo TODO: NOT YET DOCUMENTED.
60
61 msc_hi TODO: NOT YET DOCUMENTED.
62
63 msc_lo TODO: NOT YET DOCUMENTED.
64
65 sbc_hi TODO: NOT YET DOCUMENTED.
66
67 sbc_lo TODO: NOT YET DOCUMENTED.
68
71 Returns an xcb_dri2_wait_sbc_cookie_t. Errors have to be handled when
72 calling the reply function xcb_dri2_wait_sbc_reply.
73
74 If you want to handle errors in the event loop instead, use
75 xcb_dri2_wait_sbc_unchecked. See xcb-requests(3) for details.
76
78 This request does never generate any errors.
79
82 Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correcā
83 tions and improvements.
84
85
86
87X Version 11 libxcb 1.13 xcb_dri2_wait_sbc(3)