1xcb_xf86dri_get_device_info(3) XCB Requests xcb_xf86dri_get_device_info(3)
2
3
4
6 xcb_xf86dri_get_device_info -
7
9 #include <xcb/xf86dri.h>
10
11 Request function
12 xcb_xf86dri_get_device_info_cookie_t
13 xcb_xf86dri_get_device_info(xcb_connection_t *conn,
14 uint32_t screen);
15
16 Reply datastructure
17 typedef struct xcb_xf86dri_get_device_info_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t framebuffer_handle_low;
23 uint32_t framebuffer_handle_high;
24 uint32_t framebuffer_origin_offset;
25 uint32_t framebuffer_size;
26 uint32_t framebuffer_stride;
27 uint32_t device_private_size;
28 } xcb_xf86dri_get_device_info_reply_t;
29
30 Reply function
31 xcb_xf86dri_get_device_info_reply_t
32 *xcb_xf86dri_get_device_info_reply(xcb_connection_t *conn,
33 xcb_xf86dri_get_device_info_cookie_t cookie,
34 xcb_generic_error_t **e);
35
36 Reply accessors
37 uint32_t *xcb_xf86dri_get_device_info_device_private(const
38 xcb_xf86dri_get_device_info_request_t *reply);
39
40 int xcb_xf86dri_get_device_info_device_private_length(const
41 xcb_xf86dri_get_device_info_reply_t *reply);
42
43 xcb_generic_iterator_t
44 xcb_xf86dri_get_device_info_device_private_end(const
45 xcb_xf86dri_get_device_info_reply_t *reply);
46
48 conn The XCB connection to X11.
49
50 screen TODO: NOT YET DOCUMENTED.
51
53 response_type
54 The type of this reply, in this case XCB_XF86DRI_GET_DE‐
55 VICE_INFO. This field is also present in the xcb_generic_re‐
56 ply_t and can be used to tell replies apart from each other.
57
58 sequence The sequence number of the last request processed by the X11
59 server.
60
61 length The length of the reply, in words (a word is 4 bytes).
62
63 framebuffer_handle_low
64 TODO: NOT YET DOCUMENTED.
65
66 framebuffer_handle_high
67 TODO: NOT YET DOCUMENTED.
68
69 framebuffer_origin_offset
70 TODO: NOT YET DOCUMENTED.
71
72 framebuffer_size
73 TODO: NOT YET DOCUMENTED.
74
75 framebuffer_stride
76 TODO: NOT YET DOCUMENTED.
77
78 device_private_size
79 TODO: NOT YET DOCUMENTED.
80
83 Returns an xcb_xf86dri_get_device_info_cookie_t. Errors have to be han‐
84 dled when calling the reply function xcb_xf86dri_get_device_info_reply.
85
86 If you want to handle errors in the event loop instead, use
87 xcb_xf86dri_get_device_info_unchecked. See xcb-requests(3) for details.
88
90 This request does never generate any errors.
91
94 Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for cor‐
95 rections and improvements.
96
97
98
99X Version 11 libxcb 1.13 xcb_xf86dri_get_device_info(3)