xref: /netbsd-src/external/mit/xorg/lib/libxcb/files/dri3.h (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1 /*
2  * This file generated automatically from dri3.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_DRI3_API XCB DRI3 API
8  * @brief DRI3 XCB Protocol Implementation.
9  * @{
10  **/
11 
12 #ifndef __DRI3_H
13 #define __DRI3_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_DRI3_MAJOR_VERSION 1
23 #define XCB_DRI3_MINOR_VERSION 0
24 
25 extern xcb_extension_t xcb_dri3_id;
26 
27 /**
28  * @brief xcb_dri3_query_version_cookie_t
29  **/
30 typedef struct xcb_dri3_query_version_cookie_t {
31     unsigned int sequence; /**<  */
32 } xcb_dri3_query_version_cookie_t;
33 
34 /** Opcode for xcb_dri3_query_version. */
35 #define XCB_DRI3_QUERY_VERSION 0
36 
37 /**
38  * @brief xcb_dri3_query_version_request_t
39  **/
40 typedef struct xcb_dri3_query_version_request_t {
41     uint8_t  major_opcode; /**<  */
42     uint8_t  minor_opcode; /**<  */
43     uint16_t length; /**<  */
44     uint32_t major_version; /**<  */
45     uint32_t minor_version; /**<  */
46 } xcb_dri3_query_version_request_t;
47 
48 /**
49  * @brief xcb_dri3_query_version_reply_t
50  **/
51 typedef struct xcb_dri3_query_version_reply_t {
52     uint8_t  response_type; /**<  */
53     uint8_t  pad0; /**<  */
54     uint16_t sequence; /**<  */
55     uint32_t length; /**<  */
56     uint32_t major_version; /**<  */
57     uint32_t minor_version; /**<  */
58 } xcb_dri3_query_version_reply_t;
59 
60 /**
61  * @brief xcb_dri3_open_cookie_t
62  **/
63 typedef struct xcb_dri3_open_cookie_t {
64     unsigned int sequence; /**<  */
65 } xcb_dri3_open_cookie_t;
66 
67 /** Opcode for xcb_dri3_open. */
68 #define XCB_DRI3_OPEN 1
69 
70 /**
71  * @brief xcb_dri3_open_request_t
72  **/
73 typedef struct xcb_dri3_open_request_t {
74     uint8_t        major_opcode; /**<  */
75     uint8_t        minor_opcode; /**<  */
76     uint16_t       length; /**<  */
77     xcb_drawable_t drawable; /**<  */
78     uint32_t       provider; /**<  */
79 } xcb_dri3_open_request_t;
80 
81 /**
82  * @brief xcb_dri3_open_reply_t
83  **/
84 typedef struct xcb_dri3_open_reply_t {
85     uint8_t  response_type; /**<  */
86     uint8_t  nfd; /**<  */
87     uint16_t sequence; /**<  */
88     uint32_t length; /**<  */
89     uint8_t  pad0[24]; /**<  */
90 } xcb_dri3_open_reply_t;
91 
92 /** Opcode for xcb_dri3_pixmap_from_buffer. */
93 #define XCB_DRI3_PIXMAP_FROM_BUFFER 2
94 
95 /**
96  * @brief xcb_dri3_pixmap_from_buffer_request_t
97  **/
98 typedef struct xcb_dri3_pixmap_from_buffer_request_t {
99     uint8_t        major_opcode; /**<  */
100     uint8_t        minor_opcode; /**<  */
101     uint16_t       length; /**<  */
102     xcb_pixmap_t   pixmap; /**<  */
103     xcb_drawable_t drawable; /**<  */
104     uint32_t       size; /**<  */
105     uint16_t       width; /**<  */
106     uint16_t       height; /**<  */
107     uint16_t       stride; /**<  */
108     uint8_t        depth; /**<  */
109     uint8_t        bpp; /**<  */
110 } xcb_dri3_pixmap_from_buffer_request_t;
111 
112 /**
113  * @brief xcb_dri3_buffer_from_pixmap_cookie_t
114  **/
115 typedef struct xcb_dri3_buffer_from_pixmap_cookie_t {
116     unsigned int sequence; /**<  */
117 } xcb_dri3_buffer_from_pixmap_cookie_t;
118 
119 /** Opcode for xcb_dri3_buffer_from_pixmap. */
120 #define XCB_DRI3_BUFFER_FROM_PIXMAP 3
121 
122 /**
123  * @brief xcb_dri3_buffer_from_pixmap_request_t
124  **/
125 typedef struct xcb_dri3_buffer_from_pixmap_request_t {
126     uint8_t      major_opcode; /**<  */
127     uint8_t      minor_opcode; /**<  */
128     uint16_t     length; /**<  */
129     xcb_pixmap_t pixmap; /**<  */
130 } xcb_dri3_buffer_from_pixmap_request_t;
131 
132 /**
133  * @brief xcb_dri3_buffer_from_pixmap_reply_t
134  **/
135 typedef struct xcb_dri3_buffer_from_pixmap_reply_t {
136     uint8_t  response_type; /**<  */
137     uint8_t  nfd; /**<  */
138     uint16_t sequence; /**<  */
139     uint32_t length; /**<  */
140     uint32_t size; /**<  */
141     uint16_t width; /**<  */
142     uint16_t height; /**<  */
143     uint16_t stride; /**<  */
144     uint8_t  depth; /**<  */
145     uint8_t  bpp; /**<  */
146     uint8_t  pad0[12]; /**<  */
147 } xcb_dri3_buffer_from_pixmap_reply_t;
148 
149 /** Opcode for xcb_dri3_fence_from_fd. */
150 #define XCB_DRI3_FENCE_FROM_FD 4
151 
152 /**
153  * @brief xcb_dri3_fence_from_fd_request_t
154  **/
155 typedef struct xcb_dri3_fence_from_fd_request_t {
156     uint8_t        major_opcode; /**<  */
157     uint8_t        minor_opcode; /**<  */
158     uint16_t       length; /**<  */
159     xcb_drawable_t drawable; /**<  */
160     uint32_t       fence; /**<  */
161     uint8_t        initially_triggered; /**<  */
162     uint8_t        pad0[3]; /**<  */
163 } xcb_dri3_fence_from_fd_request_t;
164 
165 /**
166  * @brief xcb_dri3_fd_from_fence_cookie_t
167  **/
168 typedef struct xcb_dri3_fd_from_fence_cookie_t {
169     unsigned int sequence; /**<  */
170 } xcb_dri3_fd_from_fence_cookie_t;
171 
172 /** Opcode for xcb_dri3_fd_from_fence. */
173 #define XCB_DRI3_FD_FROM_FENCE 5
174 
175 /**
176  * @brief xcb_dri3_fd_from_fence_request_t
177  **/
178 typedef struct xcb_dri3_fd_from_fence_request_t {
179     uint8_t        major_opcode; /**<  */
180     uint8_t        minor_opcode; /**<  */
181     uint16_t       length; /**<  */
182     xcb_drawable_t drawable; /**<  */
183     uint32_t       fence; /**<  */
184 } xcb_dri3_fd_from_fence_request_t;
185 
186 /**
187  * @brief xcb_dri3_fd_from_fence_reply_t
188  **/
189 typedef struct xcb_dri3_fd_from_fence_reply_t {
190     uint8_t  response_type; /**<  */
191     uint8_t  nfd; /**<  */
192     uint16_t sequence; /**<  */
193     uint32_t length; /**<  */
194     uint8_t  pad0[24]; /**<  */
195 } xcb_dri3_fd_from_fence_reply_t;
196 
197 /**
198  *
199  * @param c The connection
200  * @return A cookie
201  *
202  * Delivers a request to the X server.
203  *
204  */
205 
206 /*****************************************************************************
207  **
208  ** xcb_dri3_query_version_cookie_t xcb_dri3_query_version
209  **
210  ** @param xcb_connection_t *c
211  ** @param uint32_t          major_version
212  ** @param uint32_t          minor_version
213  ** @returns xcb_dri3_query_version_cookie_t
214  **
215  *****************************************************************************/
216 
217 xcb_dri3_query_version_cookie_t
218 xcb_dri3_query_version (xcb_connection_t *c  /**< */,
219                         uint32_t          major_version  /**< */,
220                         uint32_t          minor_version  /**< */);
221 
222 /**
223  *
224  * @param c The connection
225  * @return A cookie
226  *
227  * Delivers a request to the X server.
228  *
229  * This form can be used only if the request will cause
230  * a reply to be generated. Any returned error will be
231  * placed in the event queue.
232  */
233 
234 /*****************************************************************************
235  **
236  ** xcb_dri3_query_version_cookie_t xcb_dri3_query_version_unchecked
237  **
238  ** @param xcb_connection_t *c
239  ** @param uint32_t          major_version
240  ** @param uint32_t          minor_version
241  ** @returns xcb_dri3_query_version_cookie_t
242  **
243  *****************************************************************************/
244 
245 xcb_dri3_query_version_cookie_t
246 xcb_dri3_query_version_unchecked (xcb_connection_t *c  /**< */,
247                                   uint32_t          major_version  /**< */,
248                                   uint32_t          minor_version  /**< */);
249 
250 /**
251  * Return the reply
252  * @param c      The connection
253  * @param cookie The cookie
254  * @param e      The xcb_generic_error_t supplied
255  *
256  * Returns the reply of the request asked by
257  *
258  * The parameter @p e supplied to this function must be NULL if
259  * xcb_dri3_query_version_unchecked(). is used.
260  * Otherwise, it stores the error if any.
261  *
262  * The returned value must be freed by the caller using free().
263  */
264 
265 /*****************************************************************************
266  **
267  ** xcb_dri3_query_version_reply_t * xcb_dri3_query_version_reply
268  **
269  ** @param xcb_connection_t                 *c
270  ** @param xcb_dri3_query_version_cookie_t   cookie
271  ** @param xcb_generic_error_t             **e
272  ** @returns xcb_dri3_query_version_reply_t *
273  **
274  *****************************************************************************/
275 
276 xcb_dri3_query_version_reply_t *
277 xcb_dri3_query_version_reply (xcb_connection_t                 *c  /**< */,
278                               xcb_dri3_query_version_cookie_t   cookie  /**< */,
279                               xcb_generic_error_t             **e  /**< */);
280 
281 /**
282  *
283  * @param c The connection
284  * @return A cookie
285  *
286  * Delivers a request to the X server.
287  *
288  */
289 
290 /*****************************************************************************
291  **
292  ** xcb_dri3_open_cookie_t xcb_dri3_open
293  **
294  ** @param xcb_connection_t *c
295  ** @param xcb_drawable_t    drawable
296  ** @param uint32_t          provider
297  ** @returns xcb_dri3_open_cookie_t
298  **
299  *****************************************************************************/
300 
301 xcb_dri3_open_cookie_t
302 xcb_dri3_open (xcb_connection_t *c  /**< */,
303                xcb_drawable_t    drawable  /**< */,
304                uint32_t          provider  /**< */);
305 
306 /**
307  *
308  * @param c The connection
309  * @return A cookie
310  *
311  * Delivers a request to the X server.
312  *
313  * This form can be used only if the request will cause
314  * a reply to be generated. Any returned error will be
315  * placed in the event queue.
316  */
317 
318 /*****************************************************************************
319  **
320  ** xcb_dri3_open_cookie_t xcb_dri3_open_unchecked
321  **
322  ** @param xcb_connection_t *c
323  ** @param xcb_drawable_t    drawable
324  ** @param uint32_t          provider
325  ** @returns xcb_dri3_open_cookie_t
326  **
327  *****************************************************************************/
328 
329 xcb_dri3_open_cookie_t
330 xcb_dri3_open_unchecked (xcb_connection_t *c  /**< */,
331                          xcb_drawable_t    drawable  /**< */,
332                          uint32_t          provider  /**< */);
333 
334 /**
335  * Return the reply
336  * @param c      The connection
337  * @param cookie The cookie
338  * @param e      The xcb_generic_error_t supplied
339  *
340  * Returns the reply of the request asked by
341  *
342  * The parameter @p e supplied to this function must be NULL if
343  * xcb_dri3_open_unchecked(). is used.
344  * Otherwise, it stores the error if any.
345  *
346  * The returned value must be freed by the caller using free().
347  */
348 
349 /*****************************************************************************
350  **
351  ** xcb_dri3_open_reply_t * xcb_dri3_open_reply
352  **
353  ** @param xcb_connection_t        *c
354  ** @param xcb_dri3_open_cookie_t   cookie
355  ** @param xcb_generic_error_t    **e
356  ** @returns xcb_dri3_open_reply_t *
357  **
358  *****************************************************************************/
359 
360 xcb_dri3_open_reply_t *
361 xcb_dri3_open_reply (xcb_connection_t        *c  /**< */,
362                      xcb_dri3_open_cookie_t   cookie  /**< */,
363                      xcb_generic_error_t    **e  /**< */);
364 
365 /**
366  * Return the reply fds
367  * @param c      The connection
368  * @param reply  The reply
369  *
370  * Returns the array of reply fds of the request asked by
371  *
372  * The returned value must be freed by the caller using free().
373  */
374 
375 /*****************************************************************************
376  **
377  ** int * xcb_dri3_open_reply_fds
378  **
379  ** @param xcb_connection_t       *c
380  ** @param xcb_dri3_open_reply_t  *reply
381  ** @returns int *
382  **
383  *****************************************************************************/
384 
385 int *
386 xcb_dri3_open_reply_fds (xcb_connection_t       *c  /**< */,
387                          xcb_dri3_open_reply_t  *reply  /**< */);
388 
389 /**
390  *
391  * @param c The connection
392  * @return A cookie
393  *
394  * Delivers a request to the X server.
395  *
396  * This form can be used only if the request will not cause
397  * a reply to be generated. Any returned error will be
398  * saved for handling by xcb_request_check().
399  */
400 
401 /*****************************************************************************
402  **
403  ** xcb_void_cookie_t xcb_dri3_pixmap_from_buffer_checked
404  **
405  ** @param xcb_connection_t *c
406  ** @param xcb_pixmap_t      pixmap
407  ** @param xcb_drawable_t    drawable
408  ** @param uint32_t          size
409  ** @param uint16_t          width
410  ** @param uint16_t          height
411  ** @param uint16_t          stride
412  ** @param uint8_t           depth
413  ** @param uint8_t           bpp
414  ** @param int32_t           pixmap_fd
415  ** @returns xcb_void_cookie_t
416  **
417  *****************************************************************************/
418 
419 xcb_void_cookie_t
420 xcb_dri3_pixmap_from_buffer_checked (xcb_connection_t *c  /**< */,
421                                      xcb_pixmap_t      pixmap  /**< */,
422                                      xcb_drawable_t    drawable  /**< */,
423                                      uint32_t          size  /**< */,
424                                      uint16_t          width  /**< */,
425                                      uint16_t          height  /**< */,
426                                      uint16_t          stride  /**< */,
427                                      uint8_t           depth  /**< */,
428                                      uint8_t           bpp  /**< */,
429                                      int32_t           pixmap_fd  /**< */);
430 
431 /**
432  *
433  * @param c The connection
434  * @return A cookie
435  *
436  * Delivers a request to the X server.
437  *
438  */
439 
440 /*****************************************************************************
441  **
442  ** xcb_void_cookie_t xcb_dri3_pixmap_from_buffer
443  **
444  ** @param xcb_connection_t *c
445  ** @param xcb_pixmap_t      pixmap
446  ** @param xcb_drawable_t    drawable
447  ** @param uint32_t          size
448  ** @param uint16_t          width
449  ** @param uint16_t          height
450  ** @param uint16_t          stride
451  ** @param uint8_t           depth
452  ** @param uint8_t           bpp
453  ** @param int32_t           pixmap_fd
454  ** @returns xcb_void_cookie_t
455  **
456  *****************************************************************************/
457 
458 xcb_void_cookie_t
459 xcb_dri3_pixmap_from_buffer (xcb_connection_t *c  /**< */,
460                              xcb_pixmap_t      pixmap  /**< */,
461                              xcb_drawable_t    drawable  /**< */,
462                              uint32_t          size  /**< */,
463                              uint16_t          width  /**< */,
464                              uint16_t          height  /**< */,
465                              uint16_t          stride  /**< */,
466                              uint8_t           depth  /**< */,
467                              uint8_t           bpp  /**< */,
468                              int32_t           pixmap_fd  /**< */);
469 
470 /**
471  *
472  * @param c The connection
473  * @return A cookie
474  *
475  * Delivers a request to the X server.
476  *
477  */
478 
479 /*****************************************************************************
480  **
481  ** xcb_dri3_buffer_from_pixmap_cookie_t xcb_dri3_buffer_from_pixmap
482  **
483  ** @param xcb_connection_t *c
484  ** @param xcb_pixmap_t      pixmap
485  ** @returns xcb_dri3_buffer_from_pixmap_cookie_t
486  **
487  *****************************************************************************/
488 
489 xcb_dri3_buffer_from_pixmap_cookie_t
490 xcb_dri3_buffer_from_pixmap (xcb_connection_t *c  /**< */,
491                              xcb_pixmap_t      pixmap  /**< */);
492 
493 /**
494  *
495  * @param c The connection
496  * @return A cookie
497  *
498  * Delivers a request to the X server.
499  *
500  * This form can be used only if the request will cause
501  * a reply to be generated. Any returned error will be
502  * placed in the event queue.
503  */
504 
505 /*****************************************************************************
506  **
507  ** xcb_dri3_buffer_from_pixmap_cookie_t xcb_dri3_buffer_from_pixmap_unchecked
508  **
509  ** @param xcb_connection_t *c
510  ** @param xcb_pixmap_t      pixmap
511  ** @returns xcb_dri3_buffer_from_pixmap_cookie_t
512  **
513  *****************************************************************************/
514 
515 xcb_dri3_buffer_from_pixmap_cookie_t
516 xcb_dri3_buffer_from_pixmap_unchecked (xcb_connection_t *c  /**< */,
517                                        xcb_pixmap_t      pixmap  /**< */);
518 
519 /**
520  * Return the reply
521  * @param c      The connection
522  * @param cookie The cookie
523  * @param e      The xcb_generic_error_t supplied
524  *
525  * Returns the reply of the request asked by
526  *
527  * The parameter @p e supplied to this function must be NULL if
528  * xcb_dri3_buffer_from_pixmap_unchecked(). is used.
529  * Otherwise, it stores the error if any.
530  *
531  * The returned value must be freed by the caller using free().
532  */
533 
534 /*****************************************************************************
535  **
536  ** xcb_dri3_buffer_from_pixmap_reply_t * xcb_dri3_buffer_from_pixmap_reply
537  **
538  ** @param xcb_connection_t                      *c
539  ** @param xcb_dri3_buffer_from_pixmap_cookie_t   cookie
540  ** @param xcb_generic_error_t                  **e
541  ** @returns xcb_dri3_buffer_from_pixmap_reply_t *
542  **
543  *****************************************************************************/
544 
545 xcb_dri3_buffer_from_pixmap_reply_t *
546 xcb_dri3_buffer_from_pixmap_reply (xcb_connection_t                      *c  /**< */,
547                                    xcb_dri3_buffer_from_pixmap_cookie_t   cookie  /**< */,
548                                    xcb_generic_error_t                  **e  /**< */);
549 
550 /**
551  * Return the reply fds
552  * @param c      The connection
553  * @param reply  The reply
554  *
555  * Returns the array of reply fds of the request asked by
556  *
557  * The returned value must be freed by the caller using free().
558  */
559 
560 /*****************************************************************************
561  **
562  ** int * xcb_dri3_buffer_from_pixmap_reply_fds
563  **
564  ** @param xcb_connection_t                     *c
565  ** @param xcb_dri3_buffer_from_pixmap_reply_t  *reply
566  ** @returns int *
567  **
568  *****************************************************************************/
569 
570 int *
571 xcb_dri3_buffer_from_pixmap_reply_fds (xcb_connection_t                     *c  /**< */,
572                                        xcb_dri3_buffer_from_pixmap_reply_t  *reply  /**< */);
573 
574 /**
575  *
576  * @param c The connection
577  * @return A cookie
578  *
579  * Delivers a request to the X server.
580  *
581  * This form can be used only if the request will not cause
582  * a reply to be generated. Any returned error will be
583  * saved for handling by xcb_request_check().
584  */
585 
586 /*****************************************************************************
587  **
588  ** xcb_void_cookie_t xcb_dri3_fence_from_fd_checked
589  **
590  ** @param xcb_connection_t *c
591  ** @param xcb_drawable_t    drawable
592  ** @param uint32_t          fence
593  ** @param uint8_t           initially_triggered
594  ** @param int32_t           fence_fd
595  ** @returns xcb_void_cookie_t
596  **
597  *****************************************************************************/
598 
599 xcb_void_cookie_t
600 xcb_dri3_fence_from_fd_checked (xcb_connection_t *c  /**< */,
601                                 xcb_drawable_t    drawable  /**< */,
602                                 uint32_t          fence  /**< */,
603                                 uint8_t           initially_triggered  /**< */,
604                                 int32_t           fence_fd  /**< */);
605 
606 /**
607  *
608  * @param c The connection
609  * @return A cookie
610  *
611  * Delivers a request to the X server.
612  *
613  */
614 
615 /*****************************************************************************
616  **
617  ** xcb_void_cookie_t xcb_dri3_fence_from_fd
618  **
619  ** @param xcb_connection_t *c
620  ** @param xcb_drawable_t    drawable
621  ** @param uint32_t          fence
622  ** @param uint8_t           initially_triggered
623  ** @param int32_t           fence_fd
624  ** @returns xcb_void_cookie_t
625  **
626  *****************************************************************************/
627 
628 xcb_void_cookie_t
629 xcb_dri3_fence_from_fd (xcb_connection_t *c  /**< */,
630                         xcb_drawable_t    drawable  /**< */,
631                         uint32_t          fence  /**< */,
632                         uint8_t           initially_triggered  /**< */,
633                         int32_t           fence_fd  /**< */);
634 
635 /**
636  *
637  * @param c The connection
638  * @return A cookie
639  *
640  * Delivers a request to the X server.
641  *
642  */
643 
644 /*****************************************************************************
645  **
646  ** xcb_dri3_fd_from_fence_cookie_t xcb_dri3_fd_from_fence
647  **
648  ** @param xcb_connection_t *c
649  ** @param xcb_drawable_t    drawable
650  ** @param uint32_t          fence
651  ** @returns xcb_dri3_fd_from_fence_cookie_t
652  **
653  *****************************************************************************/
654 
655 xcb_dri3_fd_from_fence_cookie_t
656 xcb_dri3_fd_from_fence (xcb_connection_t *c  /**< */,
657                         xcb_drawable_t    drawable  /**< */,
658                         uint32_t          fence  /**< */);
659 
660 /**
661  *
662  * @param c The connection
663  * @return A cookie
664  *
665  * Delivers a request to the X server.
666  *
667  * This form can be used only if the request will cause
668  * a reply to be generated. Any returned error will be
669  * placed in the event queue.
670  */
671 
672 /*****************************************************************************
673  **
674  ** xcb_dri3_fd_from_fence_cookie_t xcb_dri3_fd_from_fence_unchecked
675  **
676  ** @param xcb_connection_t *c
677  ** @param xcb_drawable_t    drawable
678  ** @param uint32_t          fence
679  ** @returns xcb_dri3_fd_from_fence_cookie_t
680  **
681  *****************************************************************************/
682 
683 xcb_dri3_fd_from_fence_cookie_t
684 xcb_dri3_fd_from_fence_unchecked (xcb_connection_t *c  /**< */,
685                                   xcb_drawable_t    drawable  /**< */,
686                                   uint32_t          fence  /**< */);
687 
688 /**
689  * Return the reply
690  * @param c      The connection
691  * @param cookie The cookie
692  * @param e      The xcb_generic_error_t supplied
693  *
694  * Returns the reply of the request asked by
695  *
696  * The parameter @p e supplied to this function must be NULL if
697  * xcb_dri3_fd_from_fence_unchecked(). is used.
698  * Otherwise, it stores the error if any.
699  *
700  * The returned value must be freed by the caller using free().
701  */
702 
703 /*****************************************************************************
704  **
705  ** xcb_dri3_fd_from_fence_reply_t * xcb_dri3_fd_from_fence_reply
706  **
707  ** @param xcb_connection_t                 *c
708  ** @param xcb_dri3_fd_from_fence_cookie_t   cookie
709  ** @param xcb_generic_error_t             **e
710  ** @returns xcb_dri3_fd_from_fence_reply_t *
711  **
712  *****************************************************************************/
713 
714 xcb_dri3_fd_from_fence_reply_t *
715 xcb_dri3_fd_from_fence_reply (xcb_connection_t                 *c  /**< */,
716                               xcb_dri3_fd_from_fence_cookie_t   cookie  /**< */,
717                               xcb_generic_error_t             **e  /**< */);
718 
719 /**
720  * Return the reply fds
721  * @param c      The connection
722  * @param reply  The reply
723  *
724  * Returns the array of reply fds of the request asked by
725  *
726  * The returned value must be freed by the caller using free().
727  */
728 
729 /*****************************************************************************
730  **
731  ** int * xcb_dri3_fd_from_fence_reply_fds
732  **
733  ** @param xcb_connection_t                *c
734  ** @param xcb_dri3_fd_from_fence_reply_t  *reply
735  ** @returns int *
736  **
737  *****************************************************************************/
738 
739 int *
740 xcb_dri3_fd_from_fence_reply_fds (xcb_connection_t                *c  /**< */,
741                                   xcb_dri3_fd_from_fence_reply_t  *reply  /**< */);
742 
743 
744 #ifdef __cplusplus
745 }
746 #endif
747 
748 #endif
749 
750 /**
751  * @}
752  */
753