1 /*
2  * This file generated automatically from xf86dri.xml by c-client.xsl using XSLT.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_XF86Dri_API XCB XF86Dri API
8  * @brief XF86Dri XCB Protocol Implementation.
9  * @{
10  **/
11 
12 
13 module std.c.linux.X11.xcb.xf86dri;
14 
15 import std.c.linux.X11.xcb.xcb;
16 
17 const int XCB_XF86DRI_MAJOR_VERSION =4;
18 const int XCB_XF86DRI_MINOR_VERSION =1;
19   
20 extern(C) extern xcb_extension_t xcb_xf86dri_id;
21 
22 /**
23  * @brief xcb_xf86dri_drm_clip_rect_t
24  **/
25 struct xcb_xf86dri_drm_clip_rect_t {
26     short x1; /**<  */
27     short y1; /**<  */
28     short x2; /**<  */
29     short x3; /**<  */
30 } ;
31 
32 /**
33  * @brief xcb_xf86dri_drm_clip_rect_iterator_t
34  **/
35 struct xcb_xf86dri_drm_clip_rect_iterator_t {
36     xcb_xf86dri_drm_clip_rect_t *data; /**<  */
37     int                          rem; /**<  */
38     int                          index; /**<  */
39 } ;
40 
41 /**
42  * @brief xcb_xf86dri_query_version_cookie_t
43  **/
44 struct xcb_xf86dri_query_version_cookie_t {
45     uint sequence; /**<  */
46 } ;
47 
48 /** Opcode for xcb_xf86dri_query_version. */
49 const uint XCB_XF86DRI_QUERY_VERSION = 0;
50 
51 /**
52  * @brief xcb_xf86dri_query_version_request_t
53  **/
54 struct xcb_xf86dri_query_version_request_t {
55     ubyte  major_opcode; /**<  */
56     ubyte  minor_opcode; /**<  */
57     ushort length; /**<  */
58 } ;
59 
60 /**
61  * @brief xcb_xf86dri_query_version_reply_t
62  **/
63 struct xcb_xf86dri_query_version_reply_t {
64     ubyte  response_type; /**<  */
65     ubyte  pad0; /**<  */
66     ushort sequence; /**<  */
67     uint   length; /**<  */
68     ushort dri_major_version; /**<  */
69     ushort dri_minor_version; /**<  */
70     uint   dri_minor_patch; /**<  */
71 } ;
72 
73 /**
74  * @brief xcb_xf86dri_query_direct_rendering_capable_cookie_t
75  **/
76 struct xcb_xf86dri_query_direct_rendering_capable_cookie_t {
77     uint sequence; /**<  */
78 } ;
79 
80 /** Opcode for xcb_xf86dri_query_direct_rendering_capable. */
81 const uint XCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE = 1;
82 
83 /**
84  * @brief xcb_xf86dri_query_direct_rendering_capable_request_t
85  **/
86 struct xcb_xf86dri_query_direct_rendering_capable_request_t {
87     ubyte  major_opcode; /**<  */
88     ubyte  minor_opcode; /**<  */
89     ushort length; /**<  */
90     uint   screen; /**<  */
91 } ;
92 
93 /**
94  * @brief xcb_xf86dri_query_direct_rendering_capable_reply_t
95  **/
96 struct xcb_xf86dri_query_direct_rendering_capable_reply_t {
97     ubyte  response_type; /**<  */
98     ubyte  pad0; /**<  */
99     ushort sequence; /**<  */
100     uint   length; /**<  */
101     bool   is_capable; /**<  */
102 } ;
103 
104 /**
105  * @brief xcb_xf86dri_open_connection_cookie_t
106  **/
107 struct xcb_xf86dri_open_connection_cookie_t {
108     uint sequence; /**<  */
109 } ;
110 
111 /** Opcode for xcb_xf86dri_open_connection. */
112 const uint XCB_XF86DRI_OPEN_CONNECTION = 2;
113 
114 /**
115  * @brief xcb_xf86dri_open_connection_request_t
116  **/
117 struct xcb_xf86dri_open_connection_request_t {
118     ubyte  major_opcode; /**<  */
119     ubyte  minor_opcode; /**<  */
120     ushort length; /**<  */
121     uint   screen; /**<  */
122 } ;
123 
124 /**
125  * @brief xcb_xf86dri_open_connection_reply_t
126  **/
127 struct xcb_xf86dri_open_connection_reply_t {
128     ubyte  response_type; /**<  */
129     ubyte  pad0; /**<  */
130     ushort sequence; /**<  */
131     uint   length; /**<  */
132     uint   drm_client_key_low; /**<  */
133     uint   drm_client_key_high; /**<  */
134     uint   sarea_handle_low; /**<  */
135     uint   sarea_handle_high; /**<  */
136     uint   bus_id_len; /**<  */
137     ubyte  pad1[12]; /**<  */
138 } ;
139 
140 /** Opcode for xcb_xf86dri_close_connection. */
141 const uint XCB_XF86DRI_CLOSE_CONNECTION = 3;
142 
143 /**
144  * @brief xcb_xf86dri_close_connection_request_t
145  **/
146 struct xcb_xf86dri_close_connection_request_t {
147     ubyte  major_opcode; /**<  */
148     ubyte  minor_opcode; /**<  */
149     ushort length; /**<  */
150     uint   screen; /**<  */
151 } ;
152 
153 /**
154  * @brief xcb_xf86dri_get_client_driver_name_cookie_t
155  **/
156 struct xcb_xf86dri_get_client_driver_name_cookie_t {
157     uint sequence; /**<  */
158 } ;
159 
160 /** Opcode for xcb_xf86dri_get_client_driver_name. */
161 const uint XCB_XF86DRI_GET_CLIENT_DRIVER_NAME = 4;
162 
163 /**
164  * @brief xcb_xf86dri_get_client_driver_name_request_t
165  **/
166 struct xcb_xf86dri_get_client_driver_name_request_t {
167     ubyte  major_opcode; /**<  */
168     ubyte  minor_opcode; /**<  */
169     ushort length; /**<  */
170     uint   screen; /**<  */
171 } ;
172 
173 /**
174  * @brief xcb_xf86dri_get_client_driver_name_reply_t
175  **/
176 struct xcb_xf86dri_get_client_driver_name_reply_t {
177     ubyte  response_type; /**<  */
178     ubyte  pad0; /**<  */
179     ushort sequence; /**<  */
180     uint   length; /**<  */
181     uint   client_driver_major_version; /**<  */
182     uint   client_driver_minor_version; /**<  */
183     uint   client_driver_patch_version; /**<  */
184     uint   client_driver_name_len; /**<  */
185     ubyte  pad1[8]; /**<  */
186 } ;
187 
188 /**
189  * @brief xcb_xf86dri_create_context_cookie_t
190  **/
191 struct xcb_xf86dri_create_context_cookie_t {
192     uint sequence; /**<  */
193 } ;
194 
195 /** Opcode for xcb_xf86dri_create_context. */
196 const uint XCB_XF86DRI_CREATE_CONTEXT = 5;
197 
198 /**
199  * @brief xcb_xf86dri_create_context_request_t
200  **/
201 struct xcb_xf86dri_create_context_request_t {
202     ubyte  major_opcode; /**<  */
203     ubyte  minor_opcode; /**<  */
204     ushort length; /**<  */
205     uint   visual; /**<  */
206     uint   screen; /**<  */
207     uint   context; /**<  */
208 } ;
209 
210 /**
211  * @brief xcb_xf86dri_create_context_reply_t
212  **/
213 struct xcb_xf86dri_create_context_reply_t {
214     ubyte  response_type; /**<  */
215     ubyte  pad0; /**<  */
216     ushort sequence; /**<  */
217     uint   length; /**<  */
218     uint   hw_context; /**<  */
219 } ;
220 
221 /** Opcode for xcb_xf86dri_destroy_context. */
222 const uint XCB_XF86DRI_DESTROY_CONTEXT = 6;
223 
224 /**
225  * @brief xcb_xf86dri_destroy_context_request_t
226  **/
227 struct xcb_xf86dri_destroy_context_request_t {
228     ubyte  major_opcode; /**<  */
229     ubyte  minor_opcode; /**<  */
230     ushort length; /**<  */
231     uint   screen; /**<  */
232     uint   context; /**<  */
233 } ;
234 
235 /**
236  * @brief xcb_xf86dri_create_drawable_cookie_t
237  **/
238 struct xcb_xf86dri_create_drawable_cookie_t {
239     uint sequence; /**<  */
240 } ;
241 
242 /** Opcode for xcb_xf86dri_create_drawable. */
243 const uint XCB_XF86DRI_CREATE_DRAWABLE = 7;
244 
245 /**
246  * @brief xcb_xf86dri_create_drawable_request_t
247  **/
248 struct xcb_xf86dri_create_drawable_request_t {
249     ubyte  major_opcode; /**<  */
250     ubyte  minor_opcode; /**<  */
251     ushort length; /**<  */
252     uint   screen; /**<  */
253     uint   drawable; /**<  */
254 } ;
255 
256 /**
257  * @brief xcb_xf86dri_create_drawable_reply_t
258  **/
259 struct xcb_xf86dri_create_drawable_reply_t {
260     ubyte  response_type; /**<  */
261     ubyte  pad0; /**<  */
262     ushort sequence; /**<  */
263     uint   length; /**<  */
264     uint   hw_drawable_handle; /**<  */
265 } ;
266 
267 /** Opcode for xcb_xf86dri_destroy_drawable. */
268 const uint XCB_XF86DRI_DESTROY_DRAWABLE = 8;
269 
270 /**
271  * @brief xcb_xf86dri_destroy_drawable_request_t
272  **/
273 struct xcb_xf86dri_destroy_drawable_request_t {
274     ubyte  major_opcode; /**<  */
275     ubyte  minor_opcode; /**<  */
276     ushort length; /**<  */
277     uint   screen; /**<  */
278     uint   drawable; /**<  */
279 } ;
280 
281 /**
282  * @brief xcb_xf86dri_get_drawable_info_cookie_t
283  **/
284 struct xcb_xf86dri_get_drawable_info_cookie_t {
285     uint sequence; /**<  */
286 } ;
287 
288 /** Opcode for xcb_xf86dri_get_drawable_info. */
289 const uint XCB_XF86DRI_GET_DRAWABLE_INFO = 9;
290 
291 /**
292  * @brief xcb_xf86dri_get_drawable_info_request_t
293  **/
294 struct xcb_xf86dri_get_drawable_info_request_t {
295     ubyte  major_opcode; /**<  */
296     ubyte  minor_opcode; /**<  */
297     ushort length; /**<  */
298     uint   screen; /**<  */
299     uint   drawable; /**<  */
300 } ;
301 
302 /**
303  * @brief xcb_xf86dri_get_drawable_info_reply_t
304  **/
305 struct xcb_xf86dri_get_drawable_info_reply_t {
306     ubyte  response_type; /**<  */
307     ubyte  pad0; /**<  */
308     ushort sequence; /**<  */
309     uint   length; /**<  */
310     uint   drawable_table_index; /**<  */
311     uint   drawable_table_stamp; /**<  */
312     short  drawable_origin_X; /**<  */
313     short  drawable_origin_Y; /**<  */
314     short  drawable_size_W; /**<  */
315     short  drawable_size_H; /**<  */
316     uint   num_clip_rects; /**<  */
317     ubyte  pad1[4]; /**<  */
318 } ;
319 
320 /**
321  * @brief xcb_xf86dri_get_device_info_cookie_t
322  **/
323 struct xcb_xf86dri_get_device_info_cookie_t {
324     uint sequence; /**<  */
325 } ;
326 
327 /** Opcode for xcb_xf86dri_get_device_info. */
328 const uint XCB_XF86DRI_GET_DEVICE_INFO = 10;
329 
330 /**
331  * @brief xcb_xf86dri_get_device_info_request_t
332  **/
333 struct xcb_xf86dri_get_device_info_request_t {
334     ubyte  major_opcode; /**<  */
335     ubyte  minor_opcode; /**<  */
336     ushort length; /**<  */
337     uint   screen; /**<  */
338 } ;
339 
340 /**
341  * @brief xcb_xf86dri_get_device_info_reply_t
342  **/
343 struct xcb_xf86dri_get_device_info_reply_t {
344     ubyte  response_type; /**<  */
345     ubyte  pad0; /**<  */
346     ushort sequence; /**<  */
347     uint   length; /**<  */
348     uint   framebuffer_handle_low; /**<  */
349     uint   framebuffer_handle_high; /**<  */
350     uint   framebuffer_origin_offset; /**<  */
351     uint   framebuffer_size; /**<  */
352     uint   framebuffer_stride; /**<  */
353     uint   device_private_size; /**<  */
354 } ;
355 
356 /**
357  * @brief xcb_xf86dri_auth_connection_cookie_t
358  **/
359 struct xcb_xf86dri_auth_connection_cookie_t {
360     uint sequence; /**<  */
361 } ;
362 
363 /** Opcode for xcb_xf86dri_auth_connection. */
364 const uint XCB_XF86DRI_AUTH_CONNECTION = 11;
365 
366 /**
367  * @brief xcb_xf86dri_auth_connection_request_t
368  **/
369 struct xcb_xf86dri_auth_connection_request_t {
370     ubyte  major_opcode; /**<  */
371     ubyte  minor_opcode; /**<  */
372     ushort length; /**<  */
373     uint   screen; /**<  */
374     uint   magic; /**<  */
375 } ;
376 
377 /**
378  * @brief xcb_xf86dri_auth_connection_reply_t
379  **/
380 struct xcb_xf86dri_auth_connection_reply_t {
381     ubyte  response_type; /**<  */
382     ubyte  pad0; /**<  */
383     ushort sequence; /**<  */
384     uint   length; /**<  */
385     uint   authenticated; /**<  */
386 } ;
387 
388 
389 /*****************************************************************************
390  **
391  ** void xcb_xf86dri_drm_clip_rect_next
392  ** 
393  ** @param xcb_xf86dri_drm_clip_rect_iterator_t *i
394  ** @returns void
395  **
396  *****************************************************************************/
397  
398 extern(C) void
399 xcb_xf86dri_drm_clip_rect_next (xcb_xf86dri_drm_clip_rect_iterator_t *i  /**< */);
400 
401 
402 /*****************************************************************************
403  **
404  ** xcb_generic_iterator_t xcb_xf86dri_drm_clip_rect_end
405  ** 
406  ** @param xcb_xf86dri_drm_clip_rect_iterator_t i
407  ** @returns xcb_generic_iterator_t
408  **
409  *****************************************************************************/
410  
411 extern(C) xcb_generic_iterator_t
412 xcb_xf86dri_drm_clip_rect_end (xcb_xf86dri_drm_clip_rect_iterator_t i  /**< */);
413 
414 
415 /*****************************************************************************
416  **
417  ** xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version
418  ** 
419  ** @param xcb_connection_t *c
420  ** @returns xcb_xf86dri_query_version_cookie_t
421  **
422  *****************************************************************************/
423  
424 extern(C) xcb_xf86dri_query_version_cookie_t
425 xcb_xf86dri_query_version (xcb_connection_t *c  /**< */);
426 
427 
428 /*****************************************************************************
429  **
430  ** xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version_unchecked
431  ** 
432  ** @param xcb_connection_t *c
433  ** @returns xcb_xf86dri_query_version_cookie_t
434  **
435  *****************************************************************************/
436  
437 extern(C) xcb_xf86dri_query_version_cookie_t
438 xcb_xf86dri_query_version_unchecked (xcb_connection_t *c  /**< */);
439 
440 
441 /*****************************************************************************
442  **
443  ** xcb_xf86dri_query_version_reply_t * xcb_xf86dri_query_version_reply
444  ** 
445  ** @param xcb_connection_t                    *c
446  ** @param xcb_xf86dri_query_version_cookie_t   cookie
447  ** @param xcb_generic_error_t                **e
448  ** @returns xcb_xf86dri_query_version_reply_t *
449  **
450  *****************************************************************************/
451  
452 extern(C) xcb_xf86dri_query_version_reply_t *
453 xcb_xf86dri_query_version_reply (xcb_connection_t                    *c  /**< */,
454                                  xcb_xf86dri_query_version_cookie_t   cookie  /**< */,
455                                  xcb_generic_error_t                **e  /**< */);
456 
457 
458 /*****************************************************************************
459  **
460  ** xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable
461  ** 
462  ** @param xcb_connection_t *c
463  ** @param uint              screen
464  ** @returns xcb_xf86dri_query_direct_rendering_capable_cookie_t
465  **
466  *****************************************************************************/
467  
468 extern(C) xcb_xf86dri_query_direct_rendering_capable_cookie_t
469 xcb_xf86dri_query_direct_rendering_capable (xcb_connection_t *c  /**< */,
470                                             uint              screen  /**< */);
471 
472 
473 /*****************************************************************************
474  **
475  ** xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable_unchecked
476  ** 
477  ** @param xcb_connection_t *c
478  ** @param uint              screen
479  ** @returns xcb_xf86dri_query_direct_rendering_capable_cookie_t
480  **
481  *****************************************************************************/
482  
483 extern(C) xcb_xf86dri_query_direct_rendering_capable_cookie_t
484 xcb_xf86dri_query_direct_rendering_capable_unchecked (xcb_connection_t *c  /**< */,
485                                                       uint              screen  /**< */);
486 
487 
488 /*****************************************************************************
489  **
490  ** xcb_xf86dri_query_direct_rendering_capable_reply_t * xcb_xf86dri_query_direct_rendering_capable_reply
491  ** 
492  ** @param xcb_connection_t                                     *c
493  ** @param xcb_xf86dri_query_direct_rendering_capable_cookie_t   cookie
494  ** @param xcb_generic_error_t                                 **e
495  ** @returns xcb_xf86dri_query_direct_rendering_capable_reply_t *
496  **
497  *****************************************************************************/
498  
499 extern(C) xcb_xf86dri_query_direct_rendering_capable_reply_t *
500 xcb_xf86dri_query_direct_rendering_capable_reply (xcb_connection_t                                     *c  /**< */,
501                                                   xcb_xf86dri_query_direct_rendering_capable_cookie_t   cookie  /**< */,
502                                                   xcb_generic_error_t                                 **e  /**< */);
503 
504 
505 /*****************************************************************************
506  **
507  ** xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection
508  ** 
509  ** @param xcb_connection_t *c
510  ** @param uint              screen
511  ** @returns xcb_xf86dri_open_connection_cookie_t
512  **
513  *****************************************************************************/
514  
515 extern(C) xcb_xf86dri_open_connection_cookie_t
516 xcb_xf86dri_open_connection (xcb_connection_t *c  /**< */,
517                              uint              screen  /**< */);
518 
519 
520 /*****************************************************************************
521  **
522  ** xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection_unchecked
523  ** 
524  ** @param xcb_connection_t *c
525  ** @param uint              screen
526  ** @returns xcb_xf86dri_open_connection_cookie_t
527  **
528  *****************************************************************************/
529  
530 extern(C) xcb_xf86dri_open_connection_cookie_t
531 xcb_xf86dri_open_connection_unchecked (xcb_connection_t *c  /**< */,
532                                        uint              screen  /**< */);
533 
534 
535 /*****************************************************************************
536  **
537  ** ubyte * xcb_xf86dri_open_connection_bus_id
538  ** 
539  ** @param /+const+/ xcb_xf86dri_open_connection_reply_t *R
540  ** @returns ubyte *
541  **
542  *****************************************************************************/
543  
544 extern(C) ubyte *
545 xcb_xf86dri_open_connection_bus_id (/+const+/ xcb_xf86dri_open_connection_reply_t *R  /**< */);
546 
547 
548 /*****************************************************************************
549  **
550  ** int xcb_xf86dri_open_connection_bus_id_length
551  ** 
552  ** @param /+const+/ xcb_xf86dri_open_connection_reply_t *R
553  ** @returns int
554  **
555  *****************************************************************************/
556  
557 extern(C) int
558 xcb_xf86dri_open_connection_bus_id_length (/+const+/ xcb_xf86dri_open_connection_reply_t *R  /**< */);
559 
560 
561 /*****************************************************************************
562  **
563  ** xcb_generic_iterator_t xcb_xf86dri_open_connection_bus_id_end
564  ** 
565  ** @param /+const+/ xcb_xf86dri_open_connection_reply_t *R
566  ** @returns xcb_generic_iterator_t
567  **
568  *****************************************************************************/
569  
570 extern(C) xcb_generic_iterator_t
571 xcb_xf86dri_open_connection_bus_id_end (/+const+/ xcb_xf86dri_open_connection_reply_t *R  /**< */);
572 
573 
574 /*****************************************************************************
575  **
576  ** xcb_xf86dri_open_connection_reply_t * xcb_xf86dri_open_connection_reply
577  ** 
578  ** @param xcb_connection_t                      *c
579  ** @param xcb_xf86dri_open_connection_cookie_t   cookie
580  ** @param xcb_generic_error_t                  **e
581  ** @returns xcb_xf86dri_open_connection_reply_t *
582  **
583  *****************************************************************************/
584  
585 extern(C) xcb_xf86dri_open_connection_reply_t *
586 xcb_xf86dri_open_connection_reply (xcb_connection_t                      *c  /**< */,
587                                    xcb_xf86dri_open_connection_cookie_t   cookie  /**< */,
588                                    xcb_generic_error_t                  **e  /**< */);
589 
590 
591 /*****************************************************************************
592  **
593  ** xcb_void_cookie_t xcb_xf86dri_close_connection_checked
594  ** 
595  ** @param xcb_connection_t *c
596  ** @param uint              screen
597  ** @returns xcb_void_cookie_t
598  **
599  *****************************************************************************/
600  
601 extern(C) xcb_void_cookie_t
602 xcb_xf86dri_close_connection_checked (xcb_connection_t *c  /**< */,
603                                       uint              screen  /**< */);
604 
605 
606 /*****************************************************************************
607  **
608  ** xcb_void_cookie_t xcb_xf86dri_close_connection
609  ** 
610  ** @param xcb_connection_t *c
611  ** @param uint              screen
612  ** @returns xcb_void_cookie_t
613  **
614  *****************************************************************************/
615  
616 extern(C) xcb_void_cookie_t
617 xcb_xf86dri_close_connection (xcb_connection_t *c  /**< */,
618                               uint              screen  /**< */);
619 
620 
621 /*****************************************************************************
622  **
623  ** xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name
624  ** 
625  ** @param xcb_connection_t *c
626  ** @param uint              screen
627  ** @returns xcb_xf86dri_get_client_driver_name_cookie_t
628  **
629  *****************************************************************************/
630  
631 extern(C) xcb_xf86dri_get_client_driver_name_cookie_t
632 xcb_xf86dri_get_client_driver_name (xcb_connection_t *c  /**< */,
633                                     uint              screen  /**< */);
634 
635 
636 /*****************************************************************************
637  **
638  ** xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name_unchecked
639  ** 
640  ** @param xcb_connection_t *c
641  ** @param uint              screen
642  ** @returns xcb_xf86dri_get_client_driver_name_cookie_t
643  **
644  *****************************************************************************/
645  
646 extern(C) xcb_xf86dri_get_client_driver_name_cookie_t
647 xcb_xf86dri_get_client_driver_name_unchecked (xcb_connection_t *c  /**< */,
648                                               uint              screen  /**< */);
649 
650 
651 /*****************************************************************************
652  **
653  ** ubyte * xcb_xf86dri_get_client_driver_name_client_driver_name
654  ** 
655  ** @param /+const+/ xcb_xf86dri_get_client_driver_name_reply_t *R
656  ** @returns ubyte *
657  **
658  *****************************************************************************/
659  
660 extern(C) ubyte *
661 xcb_xf86dri_get_client_driver_name_client_driver_name (/+const+/ xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
662 
663 
664 /*****************************************************************************
665  **
666  ** int xcb_xf86dri_get_client_driver_name_client_driver_name_length
667  ** 
668  ** @param /+const+/ xcb_xf86dri_get_client_driver_name_reply_t *R
669  ** @returns int
670  **
671  *****************************************************************************/
672  
673 extern(C) int
674 xcb_xf86dri_get_client_driver_name_client_driver_name_length (/+const+/ xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
675 
676 
677 /*****************************************************************************
678  **
679  ** xcb_generic_iterator_t xcb_xf86dri_get_client_driver_name_client_driver_name_end
680  ** 
681  ** @param /+const+/ xcb_xf86dri_get_client_driver_name_reply_t *R
682  ** @returns xcb_generic_iterator_t
683  **
684  *****************************************************************************/
685  
686 extern(C) xcb_generic_iterator_t
687 xcb_xf86dri_get_client_driver_name_client_driver_name_end (/+const+/ xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
688 
689 
690 /*****************************************************************************
691  **
692  ** xcb_xf86dri_get_client_driver_name_reply_t * xcb_xf86dri_get_client_driver_name_reply
693  ** 
694  ** @param xcb_connection_t                             *c
695  ** @param xcb_xf86dri_get_client_driver_name_cookie_t   cookie
696  ** @param xcb_generic_error_t                         **e
697  ** @returns xcb_xf86dri_get_client_driver_name_reply_t *
698  **
699  *****************************************************************************/
700  
701 extern(C) xcb_xf86dri_get_client_driver_name_reply_t *
702 xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t                             *c  /**< */,
703                                           xcb_xf86dri_get_client_driver_name_cookie_t   cookie  /**< */,
704                                           xcb_generic_error_t                         **e  /**< */);
705 
706 
707 /*****************************************************************************
708  **
709  ** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context
710  ** 
711  ** @param xcb_connection_t *c
712  ** @param uint              visual
713  ** @param uint              screen
714  ** @param uint              context
715  ** @returns xcb_xf86dri_create_context_cookie_t
716  **
717  *****************************************************************************/
718  
719 extern(C) xcb_xf86dri_create_context_cookie_t
720 xcb_xf86dri_create_context (xcb_connection_t *c  /**< */,
721                             uint              visual  /**< */,
722                             uint              screen  /**< */,
723                             uint              context  /**< */);
724 
725 
726 /*****************************************************************************
727  **
728  ** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_unchecked
729  ** 
730  ** @param xcb_connection_t *c
731  ** @param uint              visual
732  ** @param uint              screen
733  ** @param uint              context
734  ** @returns xcb_xf86dri_create_context_cookie_t
735  **
736  *****************************************************************************/
737  
738 extern(C) xcb_xf86dri_create_context_cookie_t
739 xcb_xf86dri_create_context_unchecked (xcb_connection_t *c  /**< */,
740                                       uint              visual  /**< */,
741                                       uint              screen  /**< */,
742                                       uint              context  /**< */);
743 
744 
745 /*****************************************************************************
746  **
747  ** xcb_xf86dri_create_context_reply_t * xcb_xf86dri_create_context_reply
748  ** 
749  ** @param xcb_connection_t                     *c
750  ** @param xcb_xf86dri_create_context_cookie_t   cookie
751  ** @param xcb_generic_error_t                 **e
752  ** @returns xcb_xf86dri_create_context_reply_t *
753  **
754  *****************************************************************************/
755  
756 extern(C) xcb_xf86dri_create_context_reply_t *
757 xcb_xf86dri_create_context_reply (xcb_connection_t                     *c  /**< */,
758                                   xcb_xf86dri_create_context_cookie_t   cookie  /**< */,
759                                   xcb_generic_error_t                 **e  /**< */);
760 
761 
762 /*****************************************************************************
763  **
764  ** xcb_void_cookie_t xcb_xf86dri_destroy_context_checked
765  ** 
766  ** @param xcb_connection_t *c
767  ** @param uint              screen
768  ** @param uint              context
769  ** @returns xcb_void_cookie_t
770  **
771  *****************************************************************************/
772  
773 extern(C) xcb_void_cookie_t
774 xcb_xf86dri_destroy_context_checked (xcb_connection_t *c  /**< */,
775                                      uint              screen  /**< */,
776                                      uint              context  /**< */);
777 
778 
779 /*****************************************************************************
780  **
781  ** xcb_void_cookie_t xcb_xf86dri_destroy_context
782  ** 
783  ** @param xcb_connection_t *c
784  ** @param uint              screen
785  ** @param uint              context
786  ** @returns xcb_void_cookie_t
787  **
788  *****************************************************************************/
789  
790 extern(C) xcb_void_cookie_t
791 xcb_xf86dri_destroy_context (xcb_connection_t *c  /**< */,
792                              uint              screen  /**< */,
793                              uint              context  /**< */);
794 
795 
796 /*****************************************************************************
797  **
798  ** xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable
799  ** 
800  ** @param xcb_connection_t *c
801  ** @param uint              screen
802  ** @param uint              drawable
803  ** @returns xcb_xf86dri_create_drawable_cookie_t
804  **
805  *****************************************************************************/
806  
807 extern(C) xcb_xf86dri_create_drawable_cookie_t
808 xcb_xf86dri_create_drawable (xcb_connection_t *c  /**< */,
809                              uint              screen  /**< */,
810                              uint              drawable  /**< */);
811 
812 
813 /*****************************************************************************
814  **
815  ** xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable_unchecked
816  ** 
817  ** @param xcb_connection_t *c
818  ** @param uint              screen
819  ** @param uint              drawable
820  ** @returns xcb_xf86dri_create_drawable_cookie_t
821  **
822  *****************************************************************************/
823  
824 extern(C) xcb_xf86dri_create_drawable_cookie_t
825 xcb_xf86dri_create_drawable_unchecked (xcb_connection_t *c  /**< */,
826                                        uint              screen  /**< */,
827                                        uint              drawable  /**< */);
828 
829 
830 /*****************************************************************************
831  **
832  ** xcb_xf86dri_create_drawable_reply_t * xcb_xf86dri_create_drawable_reply
833  ** 
834  ** @param xcb_connection_t                      *c
835  ** @param xcb_xf86dri_create_drawable_cookie_t   cookie
836  ** @param xcb_generic_error_t                  **e
837  ** @returns xcb_xf86dri_create_drawable_reply_t *
838  **
839  *****************************************************************************/
840  
841 extern(C) xcb_xf86dri_create_drawable_reply_t *
842 xcb_xf86dri_create_drawable_reply (xcb_connection_t                      *c  /**< */,
843                                    xcb_xf86dri_create_drawable_cookie_t   cookie  /**< */,
844                                    xcb_generic_error_t                  **e  /**< */);
845 
846 
847 /*****************************************************************************
848  **
849  ** xcb_void_cookie_t xcb_xf86dri_destroy_drawable_checked
850  ** 
851  ** @param xcb_connection_t *c
852  ** @param uint              screen
853  ** @param uint              drawable
854  ** @returns xcb_void_cookie_t
855  **
856  *****************************************************************************/
857  
858 extern(C) xcb_void_cookie_t
859 xcb_xf86dri_destroy_drawable_checked (xcb_connection_t *c  /**< */,
860                                       uint              screen  /**< */,
861                                       uint              drawable  /**< */);
862 
863 
864 /*****************************************************************************
865  **
866  ** xcb_void_cookie_t xcb_xf86dri_destroy_drawable
867  ** 
868  ** @param xcb_connection_t *c
869  ** @param uint              screen
870  ** @param uint              drawable
871  ** @returns xcb_void_cookie_t
872  **
873  *****************************************************************************/
874  
875 extern(C) xcb_void_cookie_t
876 xcb_xf86dri_destroy_drawable (xcb_connection_t *c  /**< */,
877                               uint              screen  /**< */,
878                               uint              drawable  /**< */);
879 
880 
881 /*****************************************************************************
882  **
883  ** xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info
884  ** 
885  ** @param xcb_connection_t *c
886  ** @param uint              screen
887  ** @param uint              drawable
888  ** @returns xcb_xf86dri_get_drawable_info_cookie_t
889  **
890  *****************************************************************************/
891  
892 extern(C) xcb_xf86dri_get_drawable_info_cookie_t
893 xcb_xf86dri_get_drawable_info (xcb_connection_t *c  /**< */,
894                                uint              screen  /**< */,
895                                uint              drawable  /**< */);
896 
897 
898 /*****************************************************************************
899  **
900  ** xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info_unchecked
901  ** 
902  ** @param xcb_connection_t *c
903  ** @param uint              screen
904  ** @param uint              drawable
905  ** @returns xcb_xf86dri_get_drawable_info_cookie_t
906  **
907  *****************************************************************************/
908  
909 extern(C) xcb_xf86dri_get_drawable_info_cookie_t
910 xcb_xf86dri_get_drawable_info_unchecked (xcb_connection_t *c  /**< */,
911                                          uint              screen  /**< */,
912                                          uint              drawable  /**< */);
913 
914 
915 /*****************************************************************************
916  **
917  ** xcb_xf86dri_drm_clip_rect_t * xcb_xf86dri_get_drawable_info_clip_rects
918  ** 
919  ** @param /+const+/ xcb_xf86dri_get_drawable_info_reply_t *R
920  ** @returns xcb_xf86dri_drm_clip_rect_t *
921  **
922  *****************************************************************************/
923  
924 extern(C) xcb_xf86dri_drm_clip_rect_t *
925 xcb_xf86dri_get_drawable_info_clip_rects (/+const+/ xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
926 
927 
928 /*****************************************************************************
929  **
930  ** int xcb_xf86dri_get_drawable_info_clip_rects_length
931  ** 
932  ** @param /+const+/ xcb_xf86dri_get_drawable_info_reply_t *R
933  ** @returns int
934  **
935  *****************************************************************************/
936  
937 extern(C) int
938 xcb_xf86dri_get_drawable_info_clip_rects_length (/+const+/ xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
939 
940 
941 /*****************************************************************************
942  **
943  ** xcb_xf86dri_drm_clip_rect_iterator_t xcb_xf86dri_get_drawable_info_clip_rects_iterator
944  ** 
945  ** @param /+const+/ xcb_xf86dri_get_drawable_info_reply_t *R
946  ** @returns xcb_xf86dri_drm_clip_rect_iterator_t
947  **
948  *****************************************************************************/
949  
950 extern(C) xcb_xf86dri_drm_clip_rect_iterator_t
951 xcb_xf86dri_get_drawable_info_clip_rects_iterator (/+const+/ xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
952 
953 
954 /*****************************************************************************
955  **
956  ** xcb_xf86dri_get_drawable_info_reply_t * xcb_xf86dri_get_drawable_info_reply
957  ** 
958  ** @param xcb_connection_t                        *c
959  ** @param xcb_xf86dri_get_drawable_info_cookie_t   cookie
960  ** @param xcb_generic_error_t                    **e
961  ** @returns xcb_xf86dri_get_drawable_info_reply_t *
962  **
963  *****************************************************************************/
964  
965 extern(C) xcb_xf86dri_get_drawable_info_reply_t *
966 xcb_xf86dri_get_drawable_info_reply (xcb_connection_t                        *c  /**< */,
967                                      xcb_xf86dri_get_drawable_info_cookie_t   cookie  /**< */,
968                                      xcb_generic_error_t                    **e  /**< */);
969 
970 
971 /*****************************************************************************
972  **
973  ** xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info
974  ** 
975  ** @param xcb_connection_t *c
976  ** @param uint              screen
977  ** @returns xcb_xf86dri_get_device_info_cookie_t
978  **
979  *****************************************************************************/
980  
981 extern(C) xcb_xf86dri_get_device_info_cookie_t
982 xcb_xf86dri_get_device_info (xcb_connection_t *c  /**< */,
983                              uint              screen  /**< */);
984 
985 
986 /*****************************************************************************
987  **
988  ** xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info_unchecked
989  ** 
990  ** @param xcb_connection_t *c
991  ** @param uint              screen
992  ** @returns xcb_xf86dri_get_device_info_cookie_t
993  **
994  *****************************************************************************/
995  
996 extern(C) xcb_xf86dri_get_device_info_cookie_t
997 xcb_xf86dri_get_device_info_unchecked (xcb_connection_t *c  /**< */,
998                                        uint              screen  /**< */);
999 
1000 
1001 /*****************************************************************************
1002  **
1003  ** uint * xcb_xf86dri_get_device_info_device_private
1004  ** 
1005  ** @param /+const+/ xcb_xf86dri_get_device_info_reply_t *R
1006  ** @returns uint *
1007  **
1008  *****************************************************************************/
1009  
1010 extern(C) uint *
1011 xcb_xf86dri_get_device_info_device_private (/+const+/ xcb_xf86dri_get_device_info_reply_t *R  /**< */);
1012 
1013 
1014 /*****************************************************************************
1015  **
1016  ** int xcb_xf86dri_get_device_info_device_private_length
1017  ** 
1018  ** @param /+const+/ xcb_xf86dri_get_device_info_reply_t *R
1019  ** @returns int
1020  **
1021  *****************************************************************************/
1022  
1023 extern(C) int
1024 xcb_xf86dri_get_device_info_device_private_length (/+const+/ xcb_xf86dri_get_device_info_reply_t *R  /**< */);
1025 
1026 
1027 /*****************************************************************************
1028  **
1029  ** xcb_generic_iterator_t xcb_xf86dri_get_device_info_device_private_end
1030  ** 
1031  ** @param /+const+/ xcb_xf86dri_get_device_info_reply_t *R
1032  ** @returns xcb_generic_iterator_t
1033  **
1034  *****************************************************************************/
1035  
1036 extern(C) xcb_generic_iterator_t
1037 xcb_xf86dri_get_device_info_device_private_end (/+const+/ xcb_xf86dri_get_device_info_reply_t *R  /**< */);
1038 
1039 
1040 /*****************************************************************************
1041  **
1042  ** xcb_xf86dri_get_device_info_reply_t * xcb_xf86dri_get_device_info_reply
1043  ** 
1044  ** @param xcb_connection_t                      *c
1045  ** @param xcb_xf86dri_get_device_info_cookie_t   cookie
1046  ** @param xcb_generic_error_t                  **e
1047  ** @returns xcb_xf86dri_get_device_info_reply_t *
1048  **
1049  *****************************************************************************/
1050  
1051 extern(C) xcb_xf86dri_get_device_info_reply_t *
1052 xcb_xf86dri_get_device_info_reply (xcb_connection_t                      *c  /**< */,
1053                                    xcb_xf86dri_get_device_info_cookie_t   cookie  /**< */,
1054                                    xcb_generic_error_t                  **e  /**< */);
1055 
1056 
1057 /*****************************************************************************
1058  **
1059  ** xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection
1060  ** 
1061  ** @param xcb_connection_t *c
1062  ** @param uint              screen
1063  ** @param uint              magic
1064  ** @returns xcb_xf86dri_auth_connection_cookie_t
1065  **
1066  *****************************************************************************/
1067  
1068 extern(C) xcb_xf86dri_auth_connection_cookie_t
1069 xcb_xf86dri_auth_connection (xcb_connection_t *c  /**< */,
1070                              uint              screen  /**< */,
1071                              uint              magic  /**< */);
1072 
1073 
1074 /*****************************************************************************
1075  **
1076  ** xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection_unchecked
1077  ** 
1078  ** @param xcb_connection_t *c
1079  ** @param uint              screen
1080  ** @param uint              magic
1081  ** @returns xcb_xf86dri_auth_connection_cookie_t
1082  **
1083  *****************************************************************************/
1084  
1085 extern(C) xcb_xf86dri_auth_connection_cookie_t
1086 xcb_xf86dri_auth_connection_unchecked (xcb_connection_t *c  /**< */,
1087                                        uint              screen  /**< */,
1088                                        uint              magic  /**< */);
1089 
1090 
1091 /*****************************************************************************
1092  **
1093  ** xcb_xf86dri_auth_connection_reply_t * xcb_xf86dri_auth_connection_reply
1094  ** 
1095  ** @param xcb_connection_t                      *c
1096  ** @param xcb_xf86dri_auth_connection_cookie_t   cookie
1097  ** @param xcb_generic_error_t                  **e
1098  ** @returns xcb_xf86dri_auth_connection_reply_t *
1099  **
1100  *****************************************************************************/
1101  
1102 extern(C) xcb_xf86dri_auth_connection_reply_t *
1103 xcb_xf86dri_auth_connection_reply (xcb_connection_t                      *c  /**< */,
1104                                    xcb_xf86dri_auth_connection_cookie_t   cookie  /**< */,
1105                                    xcb_generic_error_t                  **e  /**< */);
1106 
1107 
1108 
1109 /**
1110  * @}
1111  */