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

NAME

6       xcb_xf86dri_create_drawable -
7

SYNOPSIS

9       #include <xcb/xf86dri.h>
10
11   Request function
12       xcb_xf86dri_create_drawable_cookie_t
13              xcb_xf86dri_create_drawable(xcb_connection_t *conn,
14              uint32_t screen, uint32_t drawable);
15
16   Reply datastructure
17       typedef struct xcb_xf86dri_create_drawable_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t hw_drawable_handle;
23       } xcb_xf86dri_create_drawable_reply_t;
24
25   Reply function
26       xcb_xf86dri_create_drawable_reply_t
27              *xcb_xf86dri_create_drawable_reply(xcb_connection_t *conn,
28              xcb_xf86dri_create_drawable_cookie_t cookie,
29              xcb_generic_error_t **e);
30

REQUEST ARGUMENTS

32       conn      The XCB connection to X11.
33
34       screen    TODO: NOT YET DOCUMENTED.
35
36       drawable  TODO: NOT YET DOCUMENTED.
37

REPLY FIELDS

39       response_type
40                 The type of this reply, in this case XCB_XF86DRI_CREATE_DRAW‐
41                 ABLE. This field is also present in the xcb_generic_reply_t
42                 and can be used to tell replies apart from each other.
43
44       sequence  The sequence number of the last request processed by the X11
45                 server.
46
47       length    The length of the reply, in words (a word is 4 bytes).
48
49       hw_drawable_handle
50                 TODO: NOT YET DOCUMENTED.
51

DESCRIPTION

RETURN VALUE

54       Returns an xcb_xf86dri_create_drawable_cookie_t. Errors have to be han‐
55       dled when calling the reply function xcb_xf86dri_create_drawable_reply.
56
57       If you want to handle errors in the event loop instead, use
58       xcb_xf86dri_create_drawable_unchecked. See xcb-requests(3) for details.
59

ERRORS

61       This request does never generate any errors.
62

SEE ALSO

AUTHOR

65       Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for cor‐
66       rections and improvements.
67
68
69
70X Version 11                      libxcb 1.12   xcb_xf86dri_create_drawable(3)
Impressum