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

NAME

6       xcb_dri3_buffer_from_pixmap -
7

SYNOPSIS

9       #include <xcb/dri3.h>
10
11   Request function
12       xcb_dri3_buffer_from_pixmap_cookie_t
13              xcb_dri3_buffer_from_pixmap(xcb_connection_t *conn,
14              xcb_pixmap_t pixmap);
15
16   Reply datastructure
17       typedef struct xcb_dri3_buffer_from_pixmap_reply_t {
18           uint8_t  response_type;
19           uint8_t  nfd;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t size;
23           uint16_t width;
24           uint16_t height;
25           uint16_t stride;
26           uint8_t  depth;
27           uint8_t  bpp;
28           uint8_t  pad0[12];
29       } xcb_dri3_buffer_from_pixmap_reply_t;
30
31   Reply function
32       xcb_dri3_buffer_from_pixmap_reply_t
33              *xcb_dri3_buffer_from_pixmap_reply(xcb_connection_t *conn,
34              xcb_dri3_buffer_from_pixmap_cookie_t cookie,
35              xcb_generic_error_t **e);
36

REQUEST ARGUMENTS

38       conn      The XCB connection to X11.
39
40       pixmap    TODO: NOT YET DOCUMENTED.
41

REPLY FIELDS

43       response_type
44                 The type of this reply, in this case XCB_DRI3_BUF‐
45                 FER_FROM_PIXMAP. This field is also present in the xcb_gener‐
46                 ic_reply_t and can be used to tell replies apart from each
47                 other.
48
49       sequence  The sequence number of the last request processed by the X11
50                 server.
51
52       length    The length of the reply, in words (a word is 4 bytes).
53
54       nfd       TODO: NOT YET DOCUMENTED.
55
56       size      TODO: NOT YET DOCUMENTED.
57
58       width     TODO: NOT YET DOCUMENTED.
59
60       height    TODO: NOT YET DOCUMENTED.
61
62       stride    TODO: NOT YET DOCUMENTED.
63
64       depth     TODO: NOT YET DOCUMENTED.
65
66       bpp       TODO: NOT YET DOCUMENTED.
67
68       pixmap_fd TODO: NOT YET DOCUMENTED.
69

DESCRIPTION

RETURN VALUE

72       Returns an xcb_dri3_buffer_from_pixmap_cookie_t. Errors have to be han‐
73       dled when calling the reply function xcb_dri3_buffer_from_pixmap_reply.
74
75       If you want to handle errors in the event loop instead, use
76       xcb_dri3_buffer_from_pixmap_unchecked. See xcb-requests(3) for details.
77

ERRORS

79       This request does never generate any errors.
80

SEE ALSO

AUTHOR

83       Generated from dri3.xml. Contact xcb@lists.freedesktop.org for correc‐
84       tions and improvements.
85
86
87
88X Version 11                      libxcb 1.13   xcb_dri3_buffer_from_pixmap(3)
Impressum