XCB  1.12
xf86dri.h
1 /*
2  * This file generated automatically from xf86dri.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __XF86DRI_H
13 #define __XF86DRI_H
14 
15 #include "xcb.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #define XCB_XF86DRI_MAJOR_VERSION 4
22 #define XCB_XF86DRI_MINOR_VERSION 1
23 
24 extern xcb_extension_t xcb_xf86dri_id;
25 
30  int16_t x1;
31  int16_t y1;
32  int16_t x2;
33  int16_t x3;
35 
41  int rem;
42  int index;
44 
49  unsigned int sequence;
51 
53 #define XCB_XF86DRI_QUERY_VERSION 0
54 
59  uint8_t major_opcode;
60  uint8_t minor_opcode;
61  uint16_t length;
63 
68  uint8_t response_type;
69  uint8_t pad0;
70  uint16_t sequence;
71  uint32_t length;
72  uint16_t dri_major_version;
73  uint16_t dri_minor_version;
74  uint32_t dri_minor_patch;
76 
81  unsigned int sequence;
83 
85 #define XCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE 1
86 
91  uint8_t major_opcode;
92  uint8_t minor_opcode;
93  uint16_t length;
94  uint32_t screen;
96 
101  uint8_t response_type;
102  uint8_t pad0;
103  uint16_t sequence;
104  uint32_t length;
105  uint8_t is_capable;
107 
112  unsigned int sequence;
114 
116 #define XCB_XF86DRI_OPEN_CONNECTION 2
117 
122  uint8_t major_opcode;
123  uint8_t minor_opcode;
124  uint16_t length;
125  uint32_t screen;
127 
132  uint8_t response_type;
133  uint8_t pad0;
134  uint16_t sequence;
135  uint32_t length;
136  uint32_t sarea_handle_low;
137  uint32_t sarea_handle_high;
138  uint32_t bus_id_len;
139  uint8_t pad1[12];
141 
143 #define XCB_XF86DRI_CLOSE_CONNECTION 3
144 
149  uint8_t major_opcode;
150  uint8_t minor_opcode;
151  uint16_t length;
152  uint32_t screen;
154 
159  unsigned int sequence;
161 
163 #define XCB_XF86DRI_GET_CLIENT_DRIVER_NAME 4
164 
169  uint8_t major_opcode;
170  uint8_t minor_opcode;
171  uint16_t length;
172  uint32_t screen;
174 
179  uint8_t response_type;
180  uint8_t pad0;
181  uint16_t sequence;
182  uint32_t length;
183  uint32_t client_driver_major_version;
184  uint32_t client_driver_minor_version;
185  uint32_t client_driver_patch_version;
186  uint32_t client_driver_name_len;
187  uint8_t pad1[8];
189 
194  unsigned int sequence;
196 
198 #define XCB_XF86DRI_CREATE_CONTEXT 5
199 
204  uint8_t major_opcode;
205  uint8_t minor_opcode;
206  uint16_t length;
207  uint32_t screen;
208  uint32_t visual;
209  uint32_t context;
211 
216  uint8_t response_type;
217  uint8_t pad0;
218  uint16_t sequence;
219  uint32_t length;
220  uint32_t hw_context;
222 
224 #define XCB_XF86DRI_DESTROY_CONTEXT 6
225 
230  uint8_t major_opcode;
231  uint8_t minor_opcode;
232  uint16_t length;
233  uint32_t screen;
234  uint32_t context;
236 
241  unsigned int sequence;
243 
245 #define XCB_XF86DRI_CREATE_DRAWABLE 7
246 
251  uint8_t major_opcode;
252  uint8_t minor_opcode;
253  uint16_t length;
254  uint32_t screen;
255  uint32_t drawable;
257 
262  uint8_t response_type;
263  uint8_t pad0;
264  uint16_t sequence;
265  uint32_t length;
266  uint32_t hw_drawable_handle;
268 
270 #define XCB_XF86DRI_DESTROY_DRAWABLE 8
271 
276  uint8_t major_opcode;
277  uint8_t minor_opcode;
278  uint16_t length;
279  uint32_t screen;
280  uint32_t drawable;
282 
287  unsigned int sequence;
289 
291 #define XCB_XF86DRI_GET_DRAWABLE_INFO 9
292 
297  uint8_t major_opcode;
298  uint8_t minor_opcode;
299  uint16_t length;
300  uint32_t screen;
301  uint32_t drawable;
303 
308  uint8_t response_type;
309  uint8_t pad0;
310  uint16_t sequence;
311  uint32_t length;
312  uint32_t drawable_table_index;
313  uint32_t drawable_table_stamp;
314  int16_t drawable_origin_X;
315  int16_t drawable_origin_Y;
316  int16_t drawable_size_W;
317  int16_t drawable_size_H;
318  uint32_t num_clip_rects;
319  int16_t back_x;
320  int16_t back_y;
321  uint32_t num_back_clip_rects;
323 
328  unsigned int sequence;
330 
332 #define XCB_XF86DRI_GET_DEVICE_INFO 10
333 
338  uint8_t major_opcode;
339  uint8_t minor_opcode;
340  uint16_t length;
341  uint32_t screen;
343 
348  uint8_t response_type;
349  uint8_t pad0;
350  uint16_t sequence;
351  uint32_t length;
352  uint32_t framebuffer_handle_low;
353  uint32_t framebuffer_handle_high;
354  uint32_t framebuffer_origin_offset;
355  uint32_t framebuffer_size;
356  uint32_t framebuffer_stride;
357  uint32_t device_private_size;
359 
364  unsigned int sequence;
366 
368 #define XCB_XF86DRI_AUTH_CONNECTION 11
369 
374  uint8_t major_opcode;
375  uint8_t minor_opcode;
376  uint16_t length;
377  uint32_t screen;
378  uint32_t magic;
380 
385  uint8_t response_type;
386  uint8_t pad0;
387  uint16_t sequence;
388  uint32_t length;
389  uint32_t authenticated;
391 
400 void
402 
414 
425 
439 
457  xcb_generic_error_t **e);
458 
469  uint32_t screen);
470 
484  uint32_t screen);
485 
503  xcb_generic_error_t **e);
504 
505 int
506 xcb_xf86dri_open_connection_sizeof (const void *_buffer);
507 
518  uint32_t screen);
519 
533  uint32_t screen);
534 
535 char *
536 xcb_xf86dri_open_connection_bus_id (const xcb_xf86dri_open_connection_reply_t *R);
537 
538 int
539 xcb_xf86dri_open_connection_bus_id_length (const xcb_xf86dri_open_connection_reply_t *R);
540 
542 xcb_xf86dri_open_connection_bus_id_end (const xcb_xf86dri_open_connection_reply_t *R);
543 
561  xcb_generic_error_t **e);
562 
576  uint32_t screen);
577 
588  uint32_t screen);
589 
590 int
591 xcb_xf86dri_get_client_driver_name_sizeof (const void *_buffer);
592 
603  uint32_t screen);
604 
618  uint32_t screen);
619 
620 char *
621 xcb_xf86dri_get_client_driver_name_client_driver_name (const xcb_xf86dri_get_client_driver_name_reply_t *R);
622 
623 int
624 xcb_xf86dri_get_client_driver_name_client_driver_name_length (const xcb_xf86dri_get_client_driver_name_reply_t *R);
625 
627 xcb_xf86dri_get_client_driver_name_client_driver_name_end (const xcb_xf86dri_get_client_driver_name_reply_t *R);
628 
646  xcb_generic_error_t **e);
647 
658  uint32_t screen,
659  uint32_t visual,
660  uint32_t context);
661 
675  uint32_t screen,
676  uint32_t visual,
677  uint32_t context);
678 
696  xcb_generic_error_t **e);
697 
711  uint32_t screen,
712  uint32_t context);
713 
724  uint32_t screen,
725  uint32_t context);
726 
737  uint32_t screen,
738  uint32_t drawable);
739 
753  uint32_t screen,
754  uint32_t drawable);
755 
773  xcb_generic_error_t **e);
774 
788  uint32_t screen,
789  uint32_t drawable);
790 
801  uint32_t screen,
802  uint32_t drawable);
803 
804 int
805 xcb_xf86dri_get_drawable_info_sizeof (const void *_buffer);
806 
817  uint32_t screen,
818  uint32_t drawable);
819 
833  uint32_t screen,
834  uint32_t drawable);
835 
837 xcb_xf86dri_get_drawable_info_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R);
838 
839 int
840 xcb_xf86dri_get_drawable_info_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R);
841 
843 xcb_xf86dri_get_drawable_info_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R);
844 
846 xcb_xf86dri_get_drawable_info_back_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R);
847 
848 int
849 xcb_xf86dri_get_drawable_info_back_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R);
850 
852 xcb_xf86dri_get_drawable_info_back_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R);
853 
871  xcb_generic_error_t **e);
872 
873 int
874 xcb_xf86dri_get_device_info_sizeof (const void *_buffer);
875 
886  uint32_t screen);
887 
901  uint32_t screen);
902 
903 uint32_t *
904 xcb_xf86dri_get_device_info_device_private (const xcb_xf86dri_get_device_info_reply_t *R);
905 
906 int
907 xcb_xf86dri_get_device_info_device_private_length (const xcb_xf86dri_get_device_info_reply_t *R);
908 
910 xcb_xf86dri_get_device_info_device_private_end (const xcb_xf86dri_get_device_info_reply_t *R);
911 
929  xcb_generic_error_t **e);
930 
941  uint32_t screen,
942  uint32_t magic);
943 
957  uint32_t screen,
958  uint32_t magic);
959 
977  xcb_generic_error_t **e);
978 
979 
980 #ifdef __cplusplus
981 }
982 #endif
983 
984 #endif
985 
struct xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable_cookie_t
xcb_xf86dri_query_direct_rendering_capable_cookie_t
xcb_xf86dri_create_drawable_request_t
Definition: xf86dri.h:250
Generic error.
Definition: xcb.h:170
xcb_xf86dri_drm_clip_rect_t
Definition: xf86dri.h:29
xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context(xcb_connection_t *c, uint32_t screen, uint32_t visual, uint32_t context)
Definition: xf86dri.c:433
xcb_xf86dri_destroy_drawable_request_t
Definition: xf86dri.h:275
struct xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection_cookie_t
xcb_xf86dri_open_connection_cookie_t
xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection_unchecked(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:212
xcb_xf86dri_open_connection_reply_t * xcb_xf86dri_open_connection_reply(xcb_connection_t *c, xcb_xf86dri_open_connection_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:260
struct xcb_xf86dri_get_drawable_info_reply_t xcb_xf86dri_get_drawable_info_reply_t
xcb_xf86dri_get_drawable_info_reply_t
void xcb_xf86dri_drm_clip_rect_next(xcb_xf86dri_drm_clip_rect_iterator_t *i)
Definition: xf86dri.c:21
xcb_xf86dri_query_direct_rendering_capable_reply_t
Definition: xf86dri.h:100
xcb_xf86dri_get_drawable_info_reply_t * xcb_xf86dri_get_drawable_info_reply(xcb_connection_t *c, xcb_xf86dri_get_drawable_info_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:822
xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info(xcb_connection_t *c, uint32_t screen, uint32_t drawable)
Definition: xf86dri.c:720
struct xcb_xf86dri_get_device_info_reply_t xcb_xf86dri_get_device_info_reply_t
xcb_xf86dri_get_device_info_reply_t
struct xcb_xf86dri_query_direct_rendering_capable_reply_t xcb_xf86dri_query_direct_rendering_capable_reply_t
xcb_xf86dri_query_direct_rendering_capable_reply_t
xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:186
xcb_xf86dri_query_direct_rendering_capable_request_t
Definition: xf86dri.h:90
xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:95
xcb_void_cookie_t xcb_xf86dri_destroy_drawable(xcb_connection_t *c, uint32_t screen, uint32_t drawable)
Definition: xf86dri.c:649
xcb_xf86dri_auth_connection_reply_t
Definition: xf86dri.h:384
xcb_void_cookie_t xcb_xf86dri_destroy_context(xcb_connection_t *c, uint32_t screen, uint32_t context)
Definition: xf86dri.c:529
xcb_xf86dri_get_client_driver_name_reply_t
Definition: xf86dri.h:178
struct xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version_cookie_t
xcb_xf86dri_query_version_cookie_t
xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable_unchecked(xcb_connection_t *c, uint32_t screen, uint32_t drawable)
Definition: xf86dri.c:585
xcb_xf86dri_query_version_reply_t * xcb_xf86dri_query_version_reply(xcb_connection_t *c, xcb_xf86dri_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:87
Definition: xcbext.h:39
xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version(xcb_connection_t *c)
Definition: xf86dri.c:39
struct xcb_xf86dri_open_connection_request_t xcb_xf86dri_open_connection_request_t
xcb_xf86dri_open_connection_request_t
xcb_xf86dri_get_drawable_info_request_t
Definition: xf86dri.h:296
xcb_xf86dri_get_device_info_reply_t
Definition: xf86dri.h:347
struct xcb_xf86dri_drm_clip_rect_iterator_t xcb_xf86dri_drm_clip_rect_iterator_t
xcb_xf86dri_drm_clip_rect_iterator_t
Generic iterator.
Definition: xcb.h:114
struct xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection_cookie_t
xcb_xf86dri_auth_connection_cookie_t
xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection(xcb_connection_t *c, uint32_t screen, uint32_t magic)
Definition: xf86dri.c:943
xcb_xf86dri_get_drawable_info_reply_t
Definition: xf86dri.h:307
xcb_xf86dri_query_direct_rendering_capable_reply_t * xcb_xf86dri_query_direct_rendering_capable_reply(xcb_connection_t *c, xcb_xf86dri_query_direct_rendering_capable_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:147
xcb_xf86dri_create_drawable_reply_t
Definition: xf86dri.h:261
xcb_xf86dri_create_drawable_reply_t * xcb_xf86dri_create_drawable_reply(xcb_connection_t *c, xcb_xf86dri_create_drawable_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:613
struct xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable_cookie_t
xcb_xf86dri_create_drawable_cookie_t
struct xcb_xf86dri_get_device_info_request_t xcb_xf86dri_get_device_info_request_t
xcb_xf86dri_get_device_info_request_t
xcb_void_cookie_t xcb_xf86dri_close_connection(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:294
xcb_xf86dri_auth_connection_request_t
Definition: xf86dri.h:373
struct xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name_cookie_t
xcb_xf86dri_get_client_driver_name_cookie_t
xcb_xf86dri_query_version_request_t
Definition: xf86dri.h:58
xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info_unchecked(xcb_connection_t *c, uint32_t screen, uint32_t drawable)
Definition: xf86dri.c:748
xcb_xf86dri_get_device_info_reply_t * xcb_xf86dri_get_device_info_reply(xcb_connection_t *c, xcb_xf86dri_get_device_info_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:935
struct xcb_xf86dri_create_context_request_t xcb_xf86dri_create_context_request_t
xcb_xf86dri_create_context_request_t
xcb_xf86dri_get_client_driver_name_reply_t * xcb_xf86dri_get_client_driver_name_reply(xcb_connection_t *c, xcb_xf86dri_get_client_driver_name_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:425
struct xcb_xf86dri_get_client_driver_name_request_t xcb_xf86dri_get_client_driver_name_request_t
xcb_xf86dri_get_client_driver_name_request_t
xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version_unchecked(xcb_connection_t *c)
Definition: xf86dri.c:63
struct xcb_xf86dri_destroy_drawable_request_t xcb_xf86dri_destroy_drawable_request_t
xcb_xf86dri_destroy_drawable_request_t
xcb_xf86dri_get_device_info_request_t
Definition: xf86dri.h:337
struct xcb_xf86dri_auth_connection_request_t xcb_xf86dri_auth_connection_request_t
xcb_xf86dri_auth_connection_request_t
struct xcb_xf86dri_get_drawable_info_request_t xcb_xf86dri_get_drawable_info_request_t
xcb_xf86dri_get_drawable_info_request_t
xcb_xf86dri_get_client_driver_name_request_t
Definition: xf86dri.h:168
struct xcb_xf86dri_create_drawable_reply_t xcb_xf86dri_create_drawable_reply_t
xcb_xf86dri_create_drawable_reply_t
xcb_xf86dri_open_connection_reply_t
Definition: xf86dri.h:131
xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info_unchecked(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:887
struct xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_cookie_t
xcb_xf86dri_create_context_cookie_t
struct xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info_cookie_t
xcb_xf86dri_get_device_info_cookie_t
xcb_xf86dri_create_context_reply_t
Definition: xf86dri.h:215
xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_unchecked(xcb_connection_t *c, uint32_t screen, uint32_t visual, uint32_t context)
Definition: xf86dri.c:463
xcb_void_cookie_t xcb_xf86dri_close_connection_checked(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:268
struct xcb_xf86dri_close_connection_request_t xcb_xf86dri_close_connection_request_t
xcb_xf86dri_close_connection_request_t
struct xcb_xf86dri_open_connection_reply_t xcb_xf86dri_open_connection_reply_t
xcb_xf86dri_open_connection_reply_t
xcb_generic_iterator_t xcb_xf86dri_drm_clip_rect_end(xcb_xf86dri_drm_clip_rect_iterator_t i)
Definition: xf86dri.c:29
xcb_void_cookie_t xcb_xf86dri_destroy_context_checked(xcb_connection_t *c, uint32_t screen, uint32_t context)
Definition: xf86dri.c:501
xcb_xf86dri_open_connection_request_t
Definition: xf86dri.h:121
xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection_unchecked(xcb_connection_t *c, uint32_t screen, uint32_t magic)
Definition: xf86dri.c:971
struct xcb_xf86dri_drm_clip_rect_t xcb_xf86dri_drm_clip_rect_t
xcb_xf86dri_drm_clip_rect_t
struct xcb_xf86dri_get_client_driver_name_reply_t xcb_xf86dri_get_client_driver_name_reply_t
xcb_xf86dri_get_client_driver_name_reply_t
xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable_unchecked(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:121
struct xcb_xf86dri_query_direct_rendering_capable_request_t xcb_xf86dri_query_direct_rendering_capable_request_t
xcb_xf86dri_query_direct_rendering_capable_request_t
xcb_xf86dri_query_version_reply_t
Definition: xf86dri.h:67
struct xcb_xf86dri_query_version_reply_t xcb_xf86dri_query_version_reply_t
xcb_xf86dri_query_version_reply_t
struct xcb_xf86dri_destroy_context_request_t xcb_xf86dri_destroy_context_request_t
xcb_xf86dri_destroy_context_request_t
xcb_xf86dri_drm_clip_rect_iterator_t
Definition: xf86dri.h:39
xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable(xcb_connection_t *c, uint32_t screen, uint32_t drawable)
Definition: xf86dri.c:557
struct xcb_xf86dri_create_context_reply_t xcb_xf86dri_create_context_reply_t
xcb_xf86dri_create_context_reply_t
xcb_xf86dri_auth_connection_reply_t * xcb_xf86dri_auth_connection_reply(xcb_connection_t *c, xcb_xf86dri_auth_connection_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:999
xcb_xf86dri_create_context_reply_t * xcb_xf86dri_create_context_reply(xcb_connection_t *c, xcb_xf86dri_create_context_cookie_t cookie, xcb_generic_error_t **e)
Definition: xf86dri.c:493
struct xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info_cookie_t
xcb_xf86dri_get_drawable_info_cookie_t
struct xcb_xf86dri_create_drawable_request_t xcb_xf86dri_create_drawable_request_t
xcb_xf86dri_create_drawable_request_t
xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:861
xcb_void_cookie_t xcb_xf86dri_destroy_drawable_checked(xcb_connection_t *c, uint32_t screen, uint32_t drawable)
Definition: xf86dri.c:621
struct xcb_xf86dri_auth_connection_reply_t xcb_xf86dri_auth_connection_reply_t
xcb_xf86dri_auth_connection_reply_t
struct xcb_xf86dri_query_version_request_t xcb_xf86dri_query_version_request_t
xcb_xf86dri_query_version_request_t
xcb_xf86dri_destroy_context_request_t
Definition: xf86dri.h:229
Definition: xcbint.h:198
xcb_xf86dri_create_context_request_t
Definition: xf86dri.h:203
xcb_xf86dri_close_connection_request_t
Definition: xf86dri.h:148
xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:351
xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name_unchecked(xcb_connection_t *c, uint32_t screen)
Definition: xf86dri.c:377