1xcb_xf86dri_get_drawable_info(3) XCB Requests xcb_xf86dri_get_drawable_info(3)
2
3
4
6 xcb_xf86dri_get_drawable_info -
7
9 #include <xcb/xf86dri.h>
10
11 Request function
12 xcb_xf86dri_get_drawable_info_cookie_t
13 xcb_xf86dri_get_drawable_info(xcb_connection_t *conn,
14 uint32_t screen, uint32_t drawable);
15
16 Reply datastructure
17 typedef struct xcb_xf86dri_get_drawable_info_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t drawable_table_index;
23 uint32_t drawable_table_stamp;
24 int16_t drawable_origin_X;
25 int16_t drawable_origin_Y;
26 int16_t drawable_size_W;
27 int16_t drawable_size_H;
28 uint32_t num_clip_rects;
29 int16_t back_x;
30 int16_t back_y;
31 uint32_t num_back_clip_rects;
32 } xcb_xf86dri_get_drawable_info_reply_t;
33
34 Reply function
35 xcb_xf86dri_get_drawable_info_reply_t
36 *xcb_xf86dri_get_drawable_info_reply(xcb_connection_t *conn,
37 xcb_xf86dri_get_drawable_info_cookie_t cookie,
38 xcb_generic_error_t **e);
39
40 Reply accessors
41 xcb_xf86dri_drm_clip_rect_t
42 *xcb_xf86dri_get_drawable_info_clip_rects(const
43 xcb_xf86dri_get_drawable_info_request_t *reply);
44
45 int xcb_xf86dri_get_drawable_info_clip_rects_length(const
46 xcb_xf86dri_get_drawable_info_reply_t *reply);
47
48 xcb_xf86dri_drm_clip_rect_iterator_t
49 xcb_xf86dri_get_drawable_info_clip_rects_iterator(const
50 xcb_xf86dri_get_drawable_info_reply_t *reply);
51
52 xcb_xf86dri_drm_clip_rect_t
53 *xcb_xf86dri_get_drawable_info_back_clip_rects(const
54 xcb_xf86dri_get_drawable_info_request_t *reply);
55
56 int xcb_xf86dri_get_drawable_info_back_clip_rects_length(const
57 xcb_xf86dri_get_drawable_info_reply_t *reply);
58
59 xcb_xf86dri_drm_clip_rect_iterator_t
60 xcb_xf86dri_get_drawable_info_back_clip_rects_iterator(const
61 xcb_xf86dri_get_drawable_info_reply_t *reply);
62
64 conn The XCB connection to X11.
65
66 screen TODO: NOT YET DOCUMENTED.
67
68 drawable TODO: NOT YET DOCUMENTED.
69
71 response_type
72 The type of this reply, in this case XCB_XF86DRI_GET_DRAW‐
73 ABLE_INFO. This field is also present in the xcb_generic_re‐
74 ply_t and can be used to tell replies apart from each other.
75
76 sequence The sequence number of the last request processed by the X11
77 server.
78
79 length The length of the reply, in words (a word is 4 bytes).
80
81 drawable_table_index
82 TODO: NOT YET DOCUMENTED.
83
84 drawable_table_stamp
85 TODO: NOT YET DOCUMENTED.
86
87 drawable_origin_X
88 TODO: NOT YET DOCUMENTED.
89
90 drawable_origin_Y
91 TODO: NOT YET DOCUMENTED.
92
93 drawable_size_W
94 TODO: NOT YET DOCUMENTED.
95
96 drawable_size_H
97 TODO: NOT YET DOCUMENTED.
98
99 num_clip_rects
100 TODO: NOT YET DOCUMENTED.
101
102 back_x TODO: NOT YET DOCUMENTED.
103
104 back_y TODO: NOT YET DOCUMENTED.
105
106 num_back_clip_rects
107 TODO: NOT YET DOCUMENTED.
108
111 Returns an xcb_xf86dri_get_drawable_info_cookie_t. Errors have to be
112 handled when calling the reply function xcb_xf86dri_get_drawable_in‐
113 fo_reply.
114
115 If you want to handle errors in the event loop instead, use
116 xcb_xf86dri_get_drawable_info_unchecked. See xcb-requests(3) for de‐
117 tails.
118
120 This request does never generate any errors.
121
124 Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for cor‐
125 rections and improvements.
126
127
128
129X Version 11 libxcb 1.13 xcb_xf86dri_get_drawable_info(3)