1xcb_dri2_get_buffers_with_format(3X)CB Requestxscb_dri2_get_buffers_with_format(3)
2
3
4

NAME

6       xcb_dri2_get_buffers_with_format -
7

SYNOPSIS

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

REQUEST ARGUMENTS

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

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

80       Returns an xcb_dri2_get_buffers_with_format_cookie_t. Errors have to be
81       handled when calling the reply function xcb_dri2_get_buffers_with_for‐
82       mat_reply.
83
84       If you want to handle errors in the event loop instead, use
85       xcb_dri2_get_buffers_with_format_unchecked. See xcb-requests(3) for de‐
86       tails.
87

ERRORS

89       This request does never generate any errors.
90

SEE ALSO

AUTHOR

93       Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correc‐
94       tions and improvements.
95
96
97
98X Version 11                     libxcb 1.13x.c1b_dri2_get_buffers_with_format(3)
Impressum