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

NAME

6       xcb_dri2_get_buffers -
7

SYNOPSIS

9       #include <xcb/dri2.h>
10
11   Request function
12       xcb_dri2_get_buffers_cookie_t
13              xcb_dri2_get_buffers(xcb_connection_t *conn,
14              xcb_drawable_t drawable, uint32_t count,
15              uint32_t attachments_len, const uint32_t *attachments);
16
17   Reply datastructure
18       typedef struct xcb_dri2_get_buffers_reply_t {
19           uint8_t  response_type;
20           uint8_t  pad0;
21           uint16_t sequence;
22           uint32_t length;
23           uint32_t width;
24           uint32_t height;
25           uint32_t count;
26           uint8_t  pad1[12];
27       } xcb_dri2_get_buffers_reply_t;
28
29   Reply function
30       xcb_dri2_get_buffers_reply_t
31              *xcb_dri2_get_buffers_reply(xcb_connection_t *conn,
32              xcb_dri2_get_buffers_cookie_t cookie, xcb_generic_error_t **e);
33
34   Reply accessors
35       xcb_dri2_dri2_buffer_t *xcb_dri2_get_buffers_buffers(const
36              xcb_dri2_get_buffers_request_t *reply);
37
38       int xcb_dri2_get_buffers_buffers_length(const
39              xcb_dri2_get_buffers_reply_t *reply);
40
41       xcb_dri2_dri2_buffer_iterator_t
42              xcb_dri2_get_buffers_buffers_iterator(const
43              xcb_dri2_get_buffers_reply_t *reply);
44

REQUEST ARGUMENTS

46       conn      The XCB connection to X11.
47
48       drawable  TODO: NOT YET DOCUMENTED.
49
50       count     TODO: NOT YET DOCUMENTED.
51
52       attachments_len
53                 TODO: NOT YET DOCUMENTED.
54
55       attachments
56                 TODO: NOT YET DOCUMENTED.
57

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

77       Returns an xcb_dri2_get_buffers_cookie_t. Errors have to be handled
78       when calling the reply function xcb_dri2_get_buffers_reply.
79
80       If you want to handle errors in the event loop instead, use
81       xcb_dri2_get_buffers_unchecked. See xcb-requests(3) for details.
82

ERRORS

84       This request does never generate any errors.
85

SEE ALSO

AUTHOR

88       Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correcā€
89       tions and improvements.
90
91
92
93X Version 11                      libxcb 1.13          xcb_dri2_get_buffers(3)
Impressum