1xcb_dri2_swap_buffers(3)         XCB Requests         xcb_dri2_swap_buffers(3)
2
3
4

NAME

6       xcb_dri2_swap_buffers -
7

SYNOPSIS

9       #include <xcb/dri2.h>
10
11   Request function
12       xcb_dri2_swap_buffers_cookie_t
13              xcb_dri2_swap_buffers(xcb_connection_t *conn,
14              xcb_drawable_t drawable, uint32_t target_msc_hi,
15              uint32_t target_msc_lo, uint32_t divisor_hi,
16              uint32_t divisor_lo, uint32_t remainder_hi,
17              uint32_t remainder_lo);
18
19   Reply datastructure
20       typedef struct xcb_dri2_swap_buffers_reply_t {
21           uint8_t  response_type;
22           uint8_t  pad0;
23           uint16_t sequence;
24           uint32_t length;
25           uint32_t swap_hi;
26           uint32_t swap_lo;
27       } xcb_dri2_swap_buffers_reply_t;
28
29   Reply function
30       xcb_dri2_swap_buffers_reply_t
31              *xcb_dri2_swap_buffers_reply(xcb_connection_t *conn,
32              xcb_dri2_swap_buffers_cookie_t cookie, xcb_generic_error_t **e);
33

REQUEST ARGUMENTS

35       conn      The XCB connection to X11.
36
37       drawable  TODO: NOT YET DOCUMENTED.
38
39       target_msc_hi
40                 TODO: NOT YET DOCUMENTED.
41
42       target_msc_lo
43                 TODO: NOT YET DOCUMENTED.
44
45       divisor_hi
46                 TODO: NOT YET DOCUMENTED.
47
48       divisor_lo
49                 TODO: NOT YET DOCUMENTED.
50
51       remainder_hi
52                 TODO: NOT YET DOCUMENTED.
53
54       remainder_lo
55                 TODO: NOT YET DOCUMENTED.
56

REPLY FIELDS

58       response_type
59                 The type of this reply, in this case XCB_DRI2_SWAP_BUFFERS.
60                 This field is also present in the xcb_generic_reply_t and can
61                 be used to tell replies apart from each other.
62
63       sequence  The sequence number of the last request processed by the X11
64                 server.
65
66       length    The length of the reply, in words (a word is 4 bytes).
67
68       swap_hi   TODO: NOT YET DOCUMENTED.
69
70       swap_lo   TODO: NOT YET DOCUMENTED.
71

DESCRIPTION

RETURN VALUE

74       Returns an xcb_dri2_swap_buffers_cookie_t. Errors have to be handled
75       when calling the reply function xcb_dri2_swap_buffers_reply.
76
77       If you want to handle errors in the event loop instead, use
78       xcb_dri2_swap_buffers_unchecked. See xcb-requests(3) for details.
79

ERRORS

81       This request does never generate any errors.
82

SEE ALSO

AUTHOR

85       Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correcā€
86       tions and improvements.
87
88
89
90X Version 11                      libxcb 1.13         xcb_dri2_swap_buffers(3)
Impressum