home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / xf86dri.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  46.5 KB  |  1,466 lines

  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. #ifndef __XF86DRI_H
  13. #define __XF86DRI_H
  14.  
  15. #include "xcb.h"
  16.  
  17. #define XCB_XF86DRI_MAJOR_VERSION 4
  18. #define XCB_XF86DRI_MINOR_VERSION 1
  19.   
  20. extern xcb_extension_t xcb_xf86dri_id;
  21.  
  22. /**
  23.  * @brief xcb_xf86dri_drm_clip_rect_t
  24.  **/
  25. typedef struct xcb_xf86dri_drm_clip_rect_t {
  26.     int16_t x1; /**<  */
  27.     int16_t y1; /**<  */
  28.     int16_t x2; /**<  */
  29.     int16_t x3; /**<  */
  30. } xcb_xf86dri_drm_clip_rect_t;
  31.  
  32. /**
  33.  * @brief xcb_xf86dri_drm_clip_rect_iterator_t
  34.  **/
  35. typedef struct xcb_xf86dri_drm_clip_rect_iterator_t {
  36.     xcb_xf86dri_drm_clip_rect_t *data; /**<  */
  37.     int                          rem; /**<  */
  38.     int                          index; /**<  */
  39. } xcb_xf86dri_drm_clip_rect_iterator_t;
  40.  
  41. /**
  42.  * @brief xcb_xf86dri_query_version_cookie_t
  43.  **/
  44. typedef struct xcb_xf86dri_query_version_cookie_t {
  45.     unsigned int sequence; /**<  */
  46. } xcb_xf86dri_query_version_cookie_t;
  47.  
  48. /** Opcode for xcb_xf86dri_query_version. */
  49. #define XCB_XF86DRI_QUERY_VERSION 0
  50.  
  51. /**
  52.  * @brief xcb_xf86dri_query_version_request_t
  53.  **/
  54. typedef struct xcb_xf86dri_query_version_request_t {
  55.     uint8_t  major_opcode; /**<  */
  56.     uint8_t  minor_opcode; /**<  */
  57.     uint16_t length; /**<  */
  58. } xcb_xf86dri_query_version_request_t;
  59.  
  60. /**
  61.  * @brief xcb_xf86dri_query_version_reply_t
  62.  **/
  63. typedef struct xcb_xf86dri_query_version_reply_t {
  64.     uint8_t  response_type; /**<  */
  65.     uint8_t  pad0; /**<  */
  66.     uint16_t sequence; /**<  */
  67.     uint32_t length; /**<  */
  68.     uint16_t dri_major_version; /**<  */
  69.     uint16_t dri_minor_version; /**<  */
  70.     uint32_t dri_minor_patch; /**<  */
  71. } xcb_xf86dri_query_version_reply_t;
  72.  
  73. /**
  74.  * @brief xcb_xf86dri_query_direct_rendering_capable_cookie_t
  75.  **/
  76. typedef struct xcb_xf86dri_query_direct_rendering_capable_cookie_t {
  77.     unsigned int sequence; /**<  */
  78. } xcb_xf86dri_query_direct_rendering_capable_cookie_t;
  79.  
  80. /** Opcode for xcb_xf86dri_query_direct_rendering_capable. */
  81. #define XCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE 1
  82.  
  83. /**
  84.  * @brief xcb_xf86dri_query_direct_rendering_capable_request_t
  85.  **/
  86. typedef struct xcb_xf86dri_query_direct_rendering_capable_request_t {
  87.     uint8_t  major_opcode; /**<  */
  88.     uint8_t  minor_opcode; /**<  */
  89.     uint16_t length; /**<  */
  90.     uint32_t screen; /**<  */
  91. } xcb_xf86dri_query_direct_rendering_capable_request_t;
  92.  
  93. /**
  94.  * @brief xcb_xf86dri_query_direct_rendering_capable_reply_t
  95.  **/
  96. typedef struct xcb_xf86dri_query_direct_rendering_capable_reply_t {
  97.     uint8_t  response_type; /**<  */
  98.     uint8_t  pad0; /**<  */
  99.     uint16_t sequence; /**<  */
  100.     uint32_t length; /**<  */
  101.     uint8_t  is_capable; /**<  */
  102. } xcb_xf86dri_query_direct_rendering_capable_reply_t;
  103.  
  104. /**
  105.  * @brief xcb_xf86dri_open_connection_cookie_t
  106.  **/
  107. typedef struct xcb_xf86dri_open_connection_cookie_t {
  108.     unsigned int sequence; /**<  */
  109. } xcb_xf86dri_open_connection_cookie_t;
  110.  
  111. /** Opcode for xcb_xf86dri_open_connection. */
  112. #define XCB_XF86DRI_OPEN_CONNECTION 2
  113.  
  114. /**
  115.  * @brief xcb_xf86dri_open_connection_request_t
  116.  **/
  117. typedef struct xcb_xf86dri_open_connection_request_t {
  118.     uint8_t  major_opcode; /**<  */
  119.     uint8_t  minor_opcode; /**<  */
  120.     uint16_t length; /**<  */
  121.     uint32_t screen; /**<  */
  122. } xcb_xf86dri_open_connection_request_t;
  123.  
  124. /**
  125.  * @brief xcb_xf86dri_open_connection_reply_t
  126.  **/
  127. typedef struct xcb_xf86dri_open_connection_reply_t {
  128.     uint8_t  response_type; /**<  */
  129.     uint8_t  pad0; /**<  */
  130.     uint16_t sequence; /**<  */
  131.     uint32_t length; /**<  */
  132.     uint32_t drm_client_key_low; /**<  */
  133.     uint32_t drm_client_key_high; /**<  */
  134.     uint32_t sarea_handle_low; /**<  */
  135.     uint32_t sarea_handle_high; /**<  */
  136.     uint32_t bus_id_len; /**<  */
  137.     uint8_t  pad1[12]; /**<  */
  138. } xcb_xf86dri_open_connection_reply_t;
  139.  
  140. /** Opcode for xcb_xf86dri_close_connection. */
  141. #define XCB_XF86DRI_CLOSE_CONNECTION 3
  142.  
  143. /**
  144.  * @brief xcb_xf86dri_close_connection_request_t
  145.  **/
  146. typedef struct xcb_xf86dri_close_connection_request_t {
  147.     uint8_t  major_opcode; /**<  */
  148.     uint8_t  minor_opcode; /**<  */
  149.     uint16_t length; /**<  */
  150.     uint32_t screen; /**<  */
  151. } xcb_xf86dri_close_connection_request_t;
  152.  
  153. /**
  154.  * @brief xcb_xf86dri_get_client_driver_name_cookie_t
  155.  **/
  156. typedef struct xcb_xf86dri_get_client_driver_name_cookie_t {
  157.     unsigned int sequence; /**<  */
  158. } xcb_xf86dri_get_client_driver_name_cookie_t;
  159.  
  160. /** Opcode for xcb_xf86dri_get_client_driver_name. */
  161. #define XCB_XF86DRI_GET_CLIENT_DRIVER_NAME 4
  162.  
  163. /**
  164.  * @brief xcb_xf86dri_get_client_driver_name_request_t
  165.  **/
  166. typedef struct xcb_xf86dri_get_client_driver_name_request_t {
  167.     uint8_t  major_opcode; /**<  */
  168.     uint8_t  minor_opcode; /**<  */
  169.     uint16_t length; /**<  */
  170.     uint32_t screen; /**<  */
  171. } xcb_xf86dri_get_client_driver_name_request_t;
  172.  
  173. /**
  174.  * @brief xcb_xf86dri_get_client_driver_name_reply_t
  175.  **/
  176. typedef struct xcb_xf86dri_get_client_driver_name_reply_t {
  177.     uint8_t  response_type; /**<  */
  178.     uint8_t  pad0; /**<  */
  179.     uint16_t sequence; /**<  */
  180.     uint32_t length; /**<  */
  181.     uint32_t client_driver_major_version; /**<  */
  182.     uint32_t client_driver_minor_version; /**<  */
  183.     uint32_t client_driver_patch_version; /**<  */
  184.     uint32_t client_driver_name_len; /**<  */
  185.     uint8_t  pad1[8]; /**<  */
  186. } xcb_xf86dri_get_client_driver_name_reply_t;
  187.  
  188. /**
  189.  * @brief xcb_xf86dri_create_context_cookie_t
  190.  **/
  191. typedef struct xcb_xf86dri_create_context_cookie_t {
  192.     unsigned int sequence; /**<  */
  193. } xcb_xf86dri_create_context_cookie_t;
  194.  
  195. /** Opcode for xcb_xf86dri_create_context. */
  196. #define XCB_XF86DRI_CREATE_CONTEXT 5
  197.  
  198. /**
  199.  * @brief xcb_xf86dri_create_context_request_t
  200.  **/
  201. typedef struct xcb_xf86dri_create_context_request_t {
  202.     uint8_t  major_opcode; /**<  */
  203.     uint8_t  minor_opcode; /**<  */
  204.     uint16_t length; /**<  */
  205.     uint32_t visual; /**<  */
  206.     uint32_t screen; /**<  */
  207.     uint32_t context; /**<  */
  208. } xcb_xf86dri_create_context_request_t;
  209.  
  210. /**
  211.  * @brief xcb_xf86dri_create_context_reply_t
  212.  **/
  213. typedef struct xcb_xf86dri_create_context_reply_t {
  214.     uint8_t  response_type; /**<  */
  215.     uint8_t  pad0; /**<  */
  216.     uint16_t sequence; /**<  */
  217.     uint32_t length; /**<  */
  218.     uint32_t hw_context; /**<  */
  219. } xcb_xf86dri_create_context_reply_t;
  220.  
  221. /** Opcode for xcb_xf86dri_destroy_context. */
  222. #define XCB_XF86DRI_DESTROY_CONTEXT 6
  223.  
  224. /**
  225.  * @brief xcb_xf86dri_destroy_context_request_t
  226.  **/
  227. typedef struct xcb_xf86dri_destroy_context_request_t {
  228.     uint8_t  major_opcode; /**<  */
  229.     uint8_t  minor_opcode; /**<  */
  230.     uint16_t length; /**<  */
  231.     uint32_t screen; /**<  */
  232.     uint32_t context; /**<  */
  233. } xcb_xf86dri_destroy_context_request_t;
  234.  
  235. /**
  236.  * @brief xcb_xf86dri_create_drawable_cookie_t
  237.  **/
  238. typedef struct xcb_xf86dri_create_drawable_cookie_t {
  239.     unsigned int sequence; /**<  */
  240. } xcb_xf86dri_create_drawable_cookie_t;
  241.  
  242. /** Opcode for xcb_xf86dri_create_drawable. */
  243. #define XCB_XF86DRI_CREATE_DRAWABLE 7
  244.  
  245. /**
  246.  * @brief xcb_xf86dri_create_drawable_request_t
  247.  **/
  248. typedef struct xcb_xf86dri_create_drawable_request_t {
  249.     uint8_t  major_opcode; /**<  */
  250.     uint8_t  minor_opcode; /**<  */
  251.     uint16_t length; /**<  */
  252.     uint32_t screen; /**<  */
  253.     uint32_t drawable; /**<  */
  254. } xcb_xf86dri_create_drawable_request_t;
  255.  
  256. /**
  257.  * @brief xcb_xf86dri_create_drawable_reply_t
  258.  **/
  259. typedef struct xcb_xf86dri_create_drawable_reply_t {
  260.     uint8_t  response_type; /**<  */
  261.     uint8_t  pad0; /**<  */
  262.     uint16_t sequence; /**<  */
  263.     uint32_t length; /**<  */
  264.     uint32_t hw_drawable_handle; /**<  */
  265. } xcb_xf86dri_create_drawable_reply_t;
  266.  
  267. /** Opcode for xcb_xf86dri_destroy_drawable. */
  268. #define XCB_XF86DRI_DESTROY_DRAWABLE 8
  269.  
  270. /**
  271.  * @brief xcb_xf86dri_destroy_drawable_request_t
  272.  **/
  273. typedef struct xcb_xf86dri_destroy_drawable_request_t {
  274.     uint8_t  major_opcode; /**<  */
  275.     uint8_t  minor_opcode; /**<  */
  276.     uint16_t length; /**<  */
  277.     uint32_t screen; /**<  */
  278.     uint32_t drawable; /**<  */
  279. } xcb_xf86dri_destroy_drawable_request_t;
  280.  
  281. /**
  282.  * @brief xcb_xf86dri_get_drawable_info_cookie_t
  283.  **/
  284. typedef struct xcb_xf86dri_get_drawable_info_cookie_t {
  285.     unsigned int sequence; /**<  */
  286. } xcb_xf86dri_get_drawable_info_cookie_t;
  287.  
  288. /** Opcode for xcb_xf86dri_get_drawable_info. */
  289. #define XCB_XF86DRI_GET_DRAWABLE_INFO 9
  290.  
  291. /**
  292.  * @brief xcb_xf86dri_get_drawable_info_request_t
  293.  **/
  294. typedef struct xcb_xf86dri_get_drawable_info_request_t {
  295.     uint8_t  major_opcode; /**<  */
  296.     uint8_t  minor_opcode; /**<  */
  297.     uint16_t length; /**<  */
  298.     uint32_t screen; /**<  */
  299.     uint32_t drawable; /**<  */
  300. } xcb_xf86dri_get_drawable_info_request_t;
  301.  
  302. /**
  303.  * @brief xcb_xf86dri_get_drawable_info_reply_t
  304.  **/
  305. typedef struct xcb_xf86dri_get_drawable_info_reply_t {
  306.     uint8_t  response_type; /**<  */
  307.     uint8_t  pad0; /**<  */
  308.     uint16_t sequence; /**<  */
  309.     uint32_t length; /**<  */
  310.     uint32_t drawable_table_index; /**<  */
  311.     uint32_t drawable_table_stamp; /**<  */
  312.     int16_t  drawable_origin_X; /**<  */
  313.     int16_t  drawable_origin_Y; /**<  */
  314.     int16_t  drawable_size_W; /**<  */
  315.     int16_t  drawable_size_H; /**<  */
  316.     uint32_t num_clip_rects; /**<  */
  317.     uint8_t  pad1[4]; /**<  */
  318. } xcb_xf86dri_get_drawable_info_reply_t;
  319.  
  320. /**
  321.  * @brief xcb_xf86dri_get_device_info_cookie_t
  322.  **/
  323. typedef struct xcb_xf86dri_get_device_info_cookie_t {
  324.     unsigned int sequence; /**<  */
  325. } xcb_xf86dri_get_device_info_cookie_t;
  326.  
  327. /** Opcode for xcb_xf86dri_get_device_info. */
  328. #define XCB_XF86DRI_GET_DEVICE_INFO 10
  329.  
  330. /**
  331.  * @brief xcb_xf86dri_get_device_info_request_t
  332.  **/
  333. typedef struct xcb_xf86dri_get_device_info_request_t {
  334.     uint8_t  major_opcode; /**<  */
  335.     uint8_t  minor_opcode; /**<  */
  336.     uint16_t length; /**<  */
  337.     uint32_t screen; /**<  */
  338. } xcb_xf86dri_get_device_info_request_t;
  339.  
  340. /**
  341.  * @brief xcb_xf86dri_get_device_info_reply_t
  342.  **/
  343. typedef struct xcb_xf86dri_get_device_info_reply_t {
  344.     uint8_t  response_type; /**<  */
  345.     uint8_t  pad0; /**<  */
  346.     uint16_t sequence; /**<  */
  347.     uint32_t length; /**<  */
  348.     uint32_t framebuffer_handle_low; /**<  */
  349.     uint32_t framebuffer_handle_high; /**<  */
  350.     uint32_t framebuffer_origin_offset; /**<  */
  351.     uint32_t framebuffer_size; /**<  */
  352.     uint32_t framebuffer_stride; /**<  */
  353.     uint32_t device_private_size; /**<  */
  354. } xcb_xf86dri_get_device_info_reply_t;
  355.  
  356. /**
  357.  * @brief xcb_xf86dri_auth_connection_cookie_t
  358.  **/
  359. typedef struct xcb_xf86dri_auth_connection_cookie_t {
  360.     unsigned int sequence; /**<  */
  361. } xcb_xf86dri_auth_connection_cookie_t;
  362.  
  363. /** Opcode for xcb_xf86dri_auth_connection. */
  364. #define XCB_XF86DRI_AUTH_CONNECTION 11
  365.  
  366. /**
  367.  * @brief xcb_xf86dri_auth_connection_request_t
  368.  **/
  369. typedef struct xcb_xf86dri_auth_connection_request_t {
  370.     uint8_t  major_opcode; /**<  */
  371.     uint8_t  minor_opcode; /**<  */
  372.     uint16_t length; /**<  */
  373.     uint32_t screen; /**<  */
  374.     uint32_t magic; /**<  */
  375. } xcb_xf86dri_auth_connection_request_t;
  376.  
  377. /**
  378.  * @brief xcb_xf86dri_auth_connection_reply_t
  379.  **/
  380. typedef struct xcb_xf86dri_auth_connection_reply_t {
  381.     uint8_t  response_type; /**<  */
  382.     uint8_t  pad0; /**<  */
  383.     uint16_t sequence; /**<  */
  384.     uint32_t length; /**<  */
  385.     uint32_t authenticated; /**<  */
  386. } xcb_xf86dri_auth_connection_reply_t;
  387.  
  388. /**
  389.  * Get the next element of the iterator
  390.  * @param i Pointer to a xcb_xf86dri_drm_clip_rect_iterator_t
  391.  *
  392.  * Get the next element in the iterator. The member rem is
  393.  * decreased by one. The member data points to the next
  394.  * element. The member index is increased by sizeof(xcb_xf86dri_drm_clip_rect_t)
  395.  */
  396.  
  397. /*****************************************************************************
  398.  **
  399.  ** void xcb_xf86dri_drm_clip_rect_next
  400.  ** 
  401.  ** @param xcb_xf86dri_drm_clip_rect_iterator_t *i
  402.  ** @returns void
  403.  **
  404.  *****************************************************************************/
  405.  
  406. void
  407. xcb_xf86dri_drm_clip_rect_next (xcb_xf86dri_drm_clip_rect_iterator_t *i  /**< */);
  408.  
  409. /**
  410.  * Return the iterator pointing to the last element
  411.  * @param i An xcb_xf86dri_drm_clip_rect_iterator_t
  412.  * @return  The iterator pointing to the last element
  413.  *
  414.  * Set the current element in the iterator to the last element.
  415.  * The member rem is set to 0. The member data points to the
  416.  * last element.
  417.  */
  418.  
  419. /*****************************************************************************
  420.  **
  421.  ** xcb_generic_iterator_t xcb_xf86dri_drm_clip_rect_end
  422.  ** 
  423.  ** @param xcb_xf86dri_drm_clip_rect_iterator_t i
  424.  ** @returns xcb_generic_iterator_t
  425.  **
  426.  *****************************************************************************/
  427.  
  428. xcb_generic_iterator_t
  429. xcb_xf86dri_drm_clip_rect_end (xcb_xf86dri_drm_clip_rect_iterator_t i  /**< */);
  430.  
  431. /**
  432.  * Delivers a request to the X server
  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_xf86dri_query_version_cookie_t xcb_xf86dri_query_version
  443.  ** 
  444.  ** @param xcb_connection_t *c
  445.  ** @returns xcb_xf86dri_query_version_cookie_t
  446.  **
  447.  *****************************************************************************/
  448.  
  449. xcb_xf86dri_query_version_cookie_t
  450. xcb_xf86dri_query_version (xcb_connection_t *c  /**< */);
  451.  
  452. /**
  453.  * Delivers a request to the X server
  454.  * @param c The connection
  455.  * @return A cookie
  456.  *
  457.  * Delivers a request to the X server.
  458.  * 
  459.  * This form can be used only if the request will cause
  460.  * a reply to be generated. Any returned error will be
  461.  * placed in the event queue.
  462.  */
  463.  
  464. /*****************************************************************************
  465.  **
  466.  ** xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version_unchecked
  467.  ** 
  468.  ** @param xcb_connection_t *c
  469.  ** @returns xcb_xf86dri_query_version_cookie_t
  470.  **
  471.  *****************************************************************************/
  472.  
  473. xcb_xf86dri_query_version_cookie_t
  474. xcb_xf86dri_query_version_unchecked (xcb_connection_t *c  /**< */);
  475.  
  476. /**
  477.  * Return the reply
  478.  * @param c      The connection
  479.  * @param cookie The cookie
  480.  * @param e      The xcb_generic_error_t supplied
  481.  *
  482.  * Returns the reply of the request asked by
  483.  * 
  484.  * The parameter @p e supplied to this function must be NULL if
  485.  * xcb_xf86dri_query_version_unchecked(). is used.
  486.  * Otherwise, it stores the error if any.
  487.  */
  488.  
  489. /*****************************************************************************
  490.  **
  491.  ** xcb_xf86dri_query_version_reply_t * xcb_xf86dri_query_version_reply
  492.  ** 
  493.  ** @param xcb_connection_t                    *c
  494.  ** @param xcb_xf86dri_query_version_cookie_t   cookie
  495.  ** @param xcb_generic_error_t                **e
  496.  ** @returns xcb_xf86dri_query_version_reply_t *
  497.  **
  498.  *****************************************************************************/
  499.  
  500. xcb_xf86dri_query_version_reply_t *
  501. xcb_xf86dri_query_version_reply (xcb_connection_t                    *c  /**< */,
  502.                                  xcb_xf86dri_query_version_cookie_t   cookie  /**< */,
  503.                                  xcb_generic_error_t                **e  /**< */);
  504.  
  505. /**
  506.  * Delivers a request to the X server
  507.  * @param c The connection
  508.  * @return A cookie
  509.  *
  510.  * Delivers a request to the X server.
  511.  * 
  512.  */
  513.  
  514. /*****************************************************************************
  515.  **
  516.  ** xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable
  517.  ** 
  518.  ** @param xcb_connection_t *c
  519.  ** @param uint32_t          screen
  520.  ** @returns xcb_xf86dri_query_direct_rendering_capable_cookie_t
  521.  **
  522.  *****************************************************************************/
  523.  
  524. xcb_xf86dri_query_direct_rendering_capable_cookie_t
  525. xcb_xf86dri_query_direct_rendering_capable (xcb_connection_t *c  /**< */,
  526.                                             uint32_t          screen  /**< */);
  527.  
  528. /**
  529.  * Delivers a request to the X server
  530.  * @param c The connection
  531.  * @return A cookie
  532.  *
  533.  * Delivers a request to the X server.
  534.  * 
  535.  * This form can be used only if the request will cause
  536.  * a reply to be generated. Any returned error will be
  537.  * placed in the event queue.
  538.  */
  539.  
  540. /*****************************************************************************
  541.  **
  542.  ** xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable_unchecked
  543.  ** 
  544.  ** @param xcb_connection_t *c
  545.  ** @param uint32_t          screen
  546.  ** @returns xcb_xf86dri_query_direct_rendering_capable_cookie_t
  547.  **
  548.  *****************************************************************************/
  549.  
  550. xcb_xf86dri_query_direct_rendering_capable_cookie_t
  551. xcb_xf86dri_query_direct_rendering_capable_unchecked (xcb_connection_t *c  /**< */,
  552.                                                       uint32_t          screen  /**< */);
  553.  
  554. /**
  555.  * Return the reply
  556.  * @param c      The connection
  557.  * @param cookie The cookie
  558.  * @param e      The xcb_generic_error_t supplied
  559.  *
  560.  * Returns the reply of the request asked by
  561.  * 
  562.  * The parameter @p e supplied to this function must be NULL if
  563.  * xcb_xf86dri_query_direct_rendering_capable_unchecked(). is used.
  564.  * Otherwise, it stores the error if any.
  565.  */
  566.  
  567. /*****************************************************************************
  568.  **
  569.  ** xcb_xf86dri_query_direct_rendering_capable_reply_t * xcb_xf86dri_query_direct_rendering_capable_reply
  570.  ** 
  571.  ** @param xcb_connection_t                                     *c
  572.  ** @param xcb_xf86dri_query_direct_rendering_capable_cookie_t   cookie
  573.  ** @param xcb_generic_error_t                                 **e
  574.  ** @returns xcb_xf86dri_query_direct_rendering_capable_reply_t *
  575.  **
  576.  *****************************************************************************/
  577.  
  578. xcb_xf86dri_query_direct_rendering_capable_reply_t *
  579. xcb_xf86dri_query_direct_rendering_capable_reply (xcb_connection_t                                     *c  /**< */,
  580.                                                   xcb_xf86dri_query_direct_rendering_capable_cookie_t   cookie  /**< */,
  581.                                                   xcb_generic_error_t                                 **e  /**< */);
  582.  
  583. /**
  584.  * Delivers a request to the X server
  585.  * @param c The connection
  586.  * @return A cookie
  587.  *
  588.  * Delivers a request to the X server.
  589.  * 
  590.  */
  591.  
  592. /*****************************************************************************
  593.  **
  594.  ** xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection
  595.  ** 
  596.  ** @param xcb_connection_t *c
  597.  ** @param uint32_t          screen
  598.  ** @returns xcb_xf86dri_open_connection_cookie_t
  599.  **
  600.  *****************************************************************************/
  601.  
  602. xcb_xf86dri_open_connection_cookie_t
  603. xcb_xf86dri_open_connection (xcb_connection_t *c  /**< */,
  604.                              uint32_t          screen  /**< */);
  605.  
  606. /**
  607.  * Delivers a request to the X server
  608.  * @param c The connection
  609.  * @return A cookie
  610.  *
  611.  * Delivers a request to the X server.
  612.  * 
  613.  * This form can be used only if the request will cause
  614.  * a reply to be generated. Any returned error will be
  615.  * placed in the event queue.
  616.  */
  617.  
  618. /*****************************************************************************
  619.  **
  620.  ** xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection_unchecked
  621.  ** 
  622.  ** @param xcb_connection_t *c
  623.  ** @param uint32_t          screen
  624.  ** @returns xcb_xf86dri_open_connection_cookie_t
  625.  **
  626.  *****************************************************************************/
  627.  
  628. xcb_xf86dri_open_connection_cookie_t
  629. xcb_xf86dri_open_connection_unchecked (xcb_connection_t *c  /**< */,
  630.                                        uint32_t          screen  /**< */);
  631.  
  632.  
  633. /*****************************************************************************
  634.  **
  635.  ** uint8_t * xcb_xf86dri_open_connection_bus_id
  636.  ** 
  637.  ** @param const xcb_xf86dri_open_connection_reply_t *R
  638.  ** @returns uint8_t *
  639.  **
  640.  *****************************************************************************/
  641.  
  642. uint8_t *
  643. xcb_xf86dri_open_connection_bus_id (const xcb_xf86dri_open_connection_reply_t *R  /**< */);
  644.  
  645.  
  646. /*****************************************************************************
  647.  **
  648.  ** int xcb_xf86dri_open_connection_bus_id_length
  649.  ** 
  650.  ** @param const xcb_xf86dri_open_connection_reply_t *R
  651.  ** @returns int
  652.  **
  653.  *****************************************************************************/
  654.  
  655. int
  656. xcb_xf86dri_open_connection_bus_id_length (const xcb_xf86dri_open_connection_reply_t *R  /**< */);
  657.  
  658.  
  659. /*****************************************************************************
  660.  **
  661.  ** xcb_generic_iterator_t xcb_xf86dri_open_connection_bus_id_end
  662.  ** 
  663.  ** @param const xcb_xf86dri_open_connection_reply_t *R
  664.  ** @returns xcb_generic_iterator_t
  665.  **
  666.  *****************************************************************************/
  667.  
  668. xcb_generic_iterator_t
  669. xcb_xf86dri_open_connection_bus_id_end (const xcb_xf86dri_open_connection_reply_t *R  /**< */);
  670.  
  671. /**
  672.  * Return the reply
  673.  * @param c      The connection
  674.  * @param cookie The cookie
  675.  * @param e      The xcb_generic_error_t supplied
  676.  *
  677.  * Returns the reply of the request asked by
  678.  * 
  679.  * The parameter @p e supplied to this function must be NULL if
  680.  * xcb_xf86dri_open_connection_unchecked(). is used.
  681.  * Otherwise, it stores the error if any.
  682.  */
  683.  
  684. /*****************************************************************************
  685.  **
  686.  ** xcb_xf86dri_open_connection_reply_t * xcb_xf86dri_open_connection_reply
  687.  ** 
  688.  ** @param xcb_connection_t                      *c
  689.  ** @param xcb_xf86dri_open_connection_cookie_t   cookie
  690.  ** @param xcb_generic_error_t                  **e
  691.  ** @returns xcb_xf86dri_open_connection_reply_t *
  692.  **
  693.  *****************************************************************************/
  694.  
  695. xcb_xf86dri_open_connection_reply_t *
  696. xcb_xf86dri_open_connection_reply (xcb_connection_t                      *c  /**< */,
  697.                                    xcb_xf86dri_open_connection_cookie_t   cookie  /**< */,
  698.                                    xcb_generic_error_t                  **e  /**< */);
  699.  
  700. /**
  701.  * Delivers a request to the X server
  702.  * @param c The connection
  703.  * @return A cookie
  704.  *
  705.  * Delivers a request to the X server.
  706.  * 
  707.  * This form can be used only if the request will not cause
  708.  * a reply to be generated. Any returned error will be
  709.  * saved for handling by xcb_request_check().
  710.  */
  711.  
  712. /*****************************************************************************
  713.  **
  714.  ** xcb_void_cookie_t xcb_xf86dri_close_connection_checked
  715.  ** 
  716.  ** @param xcb_connection_t *c
  717.  ** @param uint32_t          screen
  718.  ** @returns xcb_void_cookie_t
  719.  **
  720.  *****************************************************************************/
  721.  
  722. xcb_void_cookie_t
  723. xcb_xf86dri_close_connection_checked (xcb_connection_t *c  /**< */,
  724.                                       uint32_t          screen  /**< */);
  725.  
  726. /**
  727.  * Delivers a request to the X server
  728.  * @param c The connection
  729.  * @return A cookie
  730.  *
  731.  * Delivers a request to the X server.
  732.  * 
  733.  */
  734.  
  735. /*****************************************************************************
  736.  **
  737.  ** xcb_void_cookie_t xcb_xf86dri_close_connection
  738.  ** 
  739.  ** @param xcb_connection_t *c
  740.  ** @param uint32_t          screen
  741.  ** @returns xcb_void_cookie_t
  742.  **
  743.  *****************************************************************************/
  744.  
  745. xcb_void_cookie_t
  746. xcb_xf86dri_close_connection (xcb_connection_t *c  /**< */,
  747.                               uint32_t          screen  /**< */);
  748.  
  749. /**
  750.  * Delivers a request to the X server
  751.  * @param c The connection
  752.  * @return A cookie
  753.  *
  754.  * Delivers a request to the X server.
  755.  * 
  756.  */
  757.  
  758. /*****************************************************************************
  759.  **
  760.  ** xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name
  761.  ** 
  762.  ** @param xcb_connection_t *c
  763.  ** @param uint32_t          screen
  764.  ** @returns xcb_xf86dri_get_client_driver_name_cookie_t
  765.  **
  766.  *****************************************************************************/
  767.  
  768. xcb_xf86dri_get_client_driver_name_cookie_t
  769. xcb_xf86dri_get_client_driver_name (xcb_connection_t *c  /**< */,
  770.                                     uint32_t          screen  /**< */);
  771.  
  772. /**
  773.  * Delivers a request to the X server
  774.  * @param c The connection
  775.  * @return A cookie
  776.  *
  777.  * Delivers a request to the X server.
  778.  * 
  779.  * This form can be used only if the request will cause
  780.  * a reply to be generated. Any returned error will be
  781.  * placed in the event queue.
  782.  */
  783.  
  784. /*****************************************************************************
  785.  **
  786.  ** xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name_unchecked
  787.  ** 
  788.  ** @param xcb_connection_t *c
  789.  ** @param uint32_t          screen
  790.  ** @returns xcb_xf86dri_get_client_driver_name_cookie_t
  791.  **
  792.  *****************************************************************************/
  793.  
  794. xcb_xf86dri_get_client_driver_name_cookie_t
  795. xcb_xf86dri_get_client_driver_name_unchecked (xcb_connection_t *c  /**< */,
  796.                                               uint32_t          screen  /**< */);
  797.  
  798.  
  799. /*****************************************************************************
  800.  **
  801.  ** uint8_t * xcb_xf86dri_get_client_driver_name_client_driver_name
  802.  ** 
  803.  ** @param const xcb_xf86dri_get_client_driver_name_reply_t *R
  804.  ** @returns uint8_t *
  805.  **
  806.  *****************************************************************************/
  807.  
  808. uint8_t *
  809. xcb_xf86dri_get_client_driver_name_client_driver_name (const xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
  810.  
  811.  
  812. /*****************************************************************************
  813.  **
  814.  ** int xcb_xf86dri_get_client_driver_name_client_driver_name_length
  815.  ** 
  816.  ** @param const xcb_xf86dri_get_client_driver_name_reply_t *R
  817.  ** @returns int
  818.  **
  819.  *****************************************************************************/
  820.  
  821. int
  822. xcb_xf86dri_get_client_driver_name_client_driver_name_length (const xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
  823.  
  824.  
  825. /*****************************************************************************
  826.  **
  827.  ** xcb_generic_iterator_t xcb_xf86dri_get_client_driver_name_client_driver_name_end
  828.  ** 
  829.  ** @param const xcb_xf86dri_get_client_driver_name_reply_t *R
  830.  ** @returns xcb_generic_iterator_t
  831.  **
  832.  *****************************************************************************/
  833.  
  834. xcb_generic_iterator_t
  835. xcb_xf86dri_get_client_driver_name_client_driver_name_end (const xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
  836.  
  837. /**
  838.  * Return the reply
  839.  * @param c      The connection
  840.  * @param cookie The cookie
  841.  * @param e      The xcb_generic_error_t supplied
  842.  *
  843.  * Returns the reply of the request asked by
  844.  * 
  845.  * The parameter @p e supplied to this function must be NULL if
  846.  * xcb_xf86dri_get_client_driver_name_unchecked(). is used.
  847.  * Otherwise, it stores the error if any.
  848.  */
  849.  
  850. /*****************************************************************************
  851.  **
  852.  ** xcb_xf86dri_get_client_driver_name_reply_t * xcb_xf86dri_get_client_driver_name_reply
  853.  ** 
  854.  ** @param xcb_connection_t                             *c
  855.  ** @param xcb_xf86dri_get_client_driver_name_cookie_t   cookie
  856.  ** @param xcb_generic_error_t                         **e
  857.  ** @returns xcb_xf86dri_get_client_driver_name_reply_t *
  858.  **
  859.  *****************************************************************************/
  860.  
  861. xcb_xf86dri_get_client_driver_name_reply_t *
  862. xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t                             *c  /**< */,
  863.                                           xcb_xf86dri_get_client_driver_name_cookie_t   cookie  /**< */,
  864.                                           xcb_generic_error_t                         **e  /**< */);
  865.  
  866. /**
  867.  * Delivers a request to the X server
  868.  * @param c The connection
  869.  * @return A cookie
  870.  *
  871.  * Delivers a request to the X server.
  872.  * 
  873.  */
  874.  
  875. /*****************************************************************************
  876.  **
  877.  ** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context
  878.  ** 
  879.  ** @param xcb_connection_t *c
  880.  ** @param uint32_t          visual
  881.  ** @param uint32_t          screen
  882.  ** @param uint32_t          context
  883.  ** @returns xcb_xf86dri_create_context_cookie_t
  884.  **
  885.  *****************************************************************************/
  886.  
  887. xcb_xf86dri_create_context_cookie_t
  888. xcb_xf86dri_create_context (xcb_connection_t *c  /**< */,
  889.                             uint32_t          visual  /**< */,
  890.                             uint32_t          screen  /**< */,
  891.                             uint32_t          context  /**< */);
  892.  
  893. /**
  894.  * Delivers a request to the X server
  895.  * @param c The connection
  896.  * @return A cookie
  897.  *
  898.  * Delivers a request to the X server.
  899.  * 
  900.  * This form can be used only if the request will cause
  901.  * a reply to be generated. Any returned error will be
  902.  * placed in the event queue.
  903.  */
  904.  
  905. /*****************************************************************************
  906.  **
  907.  ** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_unchecked
  908.  ** 
  909.  ** @param xcb_connection_t *c
  910.  ** @param uint32_t          visual
  911.  ** @param uint32_t          screen
  912.  ** @param uint32_t          context
  913.  ** @returns xcb_xf86dri_create_context_cookie_t
  914.  **
  915.  *****************************************************************************/
  916.  
  917. xcb_xf86dri_create_context_cookie_t
  918. xcb_xf86dri_create_context_unchecked (xcb_connection_t *c  /**< */,
  919.                                       uint32_t          visual  /**< */,
  920.                                       uint32_t          screen  /**< */,
  921.                                       uint32_t          context  /**< */);
  922.  
  923. /**
  924.  * Return the reply
  925.  * @param c      The connection
  926.  * @param cookie The cookie
  927.  * @param e      The xcb_generic_error_t supplied
  928.  *
  929.  * Returns the reply of the request asked by
  930.  * 
  931.  * The parameter @p e supplied to this function must be NULL if
  932.  * xcb_xf86dri_create_context_unchecked(). is used.
  933.  * Otherwise, it stores the error if any.
  934.  */
  935.  
  936. /*****************************************************************************
  937.  **
  938.  ** xcb_xf86dri_create_context_reply_t * xcb_xf86dri_create_context_reply
  939.  ** 
  940.  ** @param xcb_connection_t                     *c
  941.  ** @param xcb_xf86dri_create_context_cookie_t   cookie
  942.  ** @param xcb_generic_error_t                 **e
  943.  ** @returns xcb_xf86dri_create_context_reply_t *
  944.  **
  945.  *****************************************************************************/
  946.  
  947. xcb_xf86dri_create_context_reply_t *
  948. xcb_xf86dri_create_context_reply (xcb_connection_t                     *c  /**< */,
  949.                                   xcb_xf86dri_create_context_cookie_t   cookie  /**< */,
  950.                                   xcb_generic_error_t                 **e  /**< */);
  951.  
  952. /**
  953.  * Delivers a request to the X server
  954.  * @param c The connection
  955.  * @return A cookie
  956.  *
  957.  * Delivers a request to the X server.
  958.  * 
  959.  * This form can be used only if the request will not cause
  960.  * a reply to be generated. Any returned error will be
  961.  * saved for handling by xcb_request_check().
  962.  */
  963.  
  964. /*****************************************************************************
  965.  **
  966.  ** xcb_void_cookie_t xcb_xf86dri_destroy_context_checked
  967.  ** 
  968.  ** @param xcb_connection_t *c
  969.  ** @param uint32_t          screen
  970.  ** @param uint32_t          context
  971.  ** @returns xcb_void_cookie_t
  972.  **
  973.  *****************************************************************************/
  974.  
  975. xcb_void_cookie_t
  976. xcb_xf86dri_destroy_context_checked (xcb_connection_t *c  /**< */,
  977.                                      uint32_t          screen  /**< */,
  978.                                      uint32_t          context  /**< */);
  979.  
  980. /**
  981.  * Delivers a request to the X server
  982.  * @param c The connection
  983.  * @return A cookie
  984.  *
  985.  * Delivers a request to the X server.
  986.  * 
  987.  */
  988.  
  989. /*****************************************************************************
  990.  **
  991.  ** xcb_void_cookie_t xcb_xf86dri_destroy_context
  992.  ** 
  993.  ** @param xcb_connection_t *c
  994.  ** @param uint32_t          screen
  995.  ** @param uint32_t          context
  996.  ** @returns xcb_void_cookie_t
  997.  **
  998.  *****************************************************************************/
  999.  
  1000. xcb_void_cookie_t
  1001. xcb_xf86dri_destroy_context (xcb_connection_t *c  /**< */,
  1002.                              uint32_t          screen  /**< */,
  1003.                              uint32_t          context  /**< */);
  1004.  
  1005. /**
  1006.  * Delivers a request to the X server
  1007.  * @param c The connection
  1008.  * @return A cookie
  1009.  *
  1010.  * Delivers a request to the X server.
  1011.  * 
  1012.  */
  1013.  
  1014. /*****************************************************************************
  1015.  **
  1016.  ** xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable
  1017.  ** 
  1018.  ** @param xcb_connection_t *c
  1019.  ** @param uint32_t          screen
  1020.  ** @param uint32_t          drawable
  1021.  ** @returns xcb_xf86dri_create_drawable_cookie_t
  1022.  **
  1023.  *****************************************************************************/
  1024.  
  1025. xcb_xf86dri_create_drawable_cookie_t
  1026. xcb_xf86dri_create_drawable (xcb_connection_t *c  /**< */,
  1027.                              uint32_t          screen  /**< */,
  1028.                              uint32_t          drawable  /**< */);
  1029.  
  1030. /**
  1031.  * Delivers a request to the X server
  1032.  * @param c The connection
  1033.  * @return A cookie
  1034.  *
  1035.  * Delivers a request to the X server.
  1036.  * 
  1037.  * This form can be used only if the request will cause
  1038.  * a reply to be generated. Any returned error will be
  1039.  * placed in the event queue.
  1040.  */
  1041.  
  1042. /*****************************************************************************
  1043.  **
  1044.  ** xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable_unchecked
  1045.  ** 
  1046.  ** @param xcb_connection_t *c
  1047.  ** @param uint32_t          screen
  1048.  ** @param uint32_t          drawable
  1049.  ** @returns xcb_xf86dri_create_drawable_cookie_t
  1050.  **
  1051.  *****************************************************************************/
  1052.  
  1053. xcb_xf86dri_create_drawable_cookie_t
  1054. xcb_xf86dri_create_drawable_unchecked (xcb_connection_t *c  /**< */,
  1055.                                        uint32_t          screen  /**< */,
  1056.                                        uint32_t          drawable  /**< */);
  1057.  
  1058. /**
  1059.  * Return the reply
  1060.  * @param c      The connection
  1061.  * @param cookie The cookie
  1062.  * @param e      The xcb_generic_error_t supplied
  1063.  *
  1064.  * Returns the reply of the request asked by
  1065.  * 
  1066.  * The parameter @p e supplied to this function must be NULL if
  1067.  * xcb_xf86dri_create_drawable_unchecked(). is used.
  1068.  * Otherwise, it stores the error if any.
  1069.  */
  1070.  
  1071. /*****************************************************************************
  1072.  **
  1073.  ** xcb_xf86dri_create_drawable_reply_t * xcb_xf86dri_create_drawable_reply
  1074.  ** 
  1075.  ** @param xcb_connection_t                      *c
  1076.  ** @param xcb_xf86dri_create_drawable_cookie_t   cookie
  1077.  ** @param xcb_generic_error_t                  **e
  1078.  ** @returns xcb_xf86dri_create_drawable_reply_t *
  1079.  **
  1080.  *****************************************************************************/
  1081.  
  1082. xcb_xf86dri_create_drawable_reply_t *
  1083. xcb_xf86dri_create_drawable_reply (xcb_connection_t                      *c  /**< */,
  1084.                                    xcb_xf86dri_create_drawable_cookie_t   cookie  /**< */,
  1085.                                    xcb_generic_error_t                  **e  /**< */);
  1086.  
  1087. /**
  1088.  * Delivers a request to the X server
  1089.  * @param c The connection
  1090.  * @return A cookie
  1091.  *
  1092.  * Delivers a request to the X server.
  1093.  * 
  1094.  * This form can be used only if the request will not cause
  1095.  * a reply to be generated. Any returned error will be
  1096.  * saved for handling by xcb_request_check().
  1097.  */
  1098.  
  1099. /*****************************************************************************
  1100.  **
  1101.  ** xcb_void_cookie_t xcb_xf86dri_destroy_drawable_checked
  1102.  ** 
  1103.  ** @param xcb_connection_t *c
  1104.  ** @param uint32_t          screen
  1105.  ** @param uint32_t          drawable
  1106.  ** @returns xcb_void_cookie_t
  1107.  **
  1108.  *****************************************************************************/
  1109.  
  1110. xcb_void_cookie_t
  1111. xcb_xf86dri_destroy_drawable_checked (xcb_connection_t *c  /**< */,
  1112.                                       uint32_t          screen  /**< */,
  1113.                                       uint32_t          drawable  /**< */);
  1114.  
  1115. /**
  1116.  * Delivers a request to the X server
  1117.  * @param c The connection
  1118.  * @return A cookie
  1119.  *
  1120.  * Delivers a request to the X server.
  1121.  * 
  1122.  */
  1123.  
  1124. /*****************************************************************************
  1125.  **
  1126.  ** xcb_void_cookie_t xcb_xf86dri_destroy_drawable
  1127.  ** 
  1128.  ** @param xcb_connection_t *c
  1129.  ** @param uint32_t          screen
  1130.  ** @param uint32_t          drawable
  1131.  ** @returns xcb_void_cookie_t
  1132.  **
  1133.  *****************************************************************************/
  1134.  
  1135. xcb_void_cookie_t
  1136. xcb_xf86dri_destroy_drawable (xcb_connection_t *c  /**< */,
  1137.                               uint32_t          screen  /**< */,
  1138.                               uint32_t          drawable  /**< */);
  1139.  
  1140. /**
  1141.  * Delivers a request to the X server
  1142.  * @param c The connection
  1143.  * @return A cookie
  1144.  *
  1145.  * Delivers a request to the X server.
  1146.  * 
  1147.  */
  1148.  
  1149. /*****************************************************************************
  1150.  **
  1151.  ** xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info
  1152.  ** 
  1153.  ** @param xcb_connection_t *c
  1154.  ** @param uint32_t          screen
  1155.  ** @param uint32_t          drawable
  1156.  ** @returns xcb_xf86dri_get_drawable_info_cookie_t
  1157.  **
  1158.  *****************************************************************************/
  1159.  
  1160. xcb_xf86dri_get_drawable_info_cookie_t
  1161. xcb_xf86dri_get_drawable_info (xcb_connection_t *c  /**< */,
  1162.                                uint32_t          screen  /**< */,
  1163.                                uint32_t          drawable  /**< */);
  1164.  
  1165. /**
  1166.  * Delivers a request to the X server
  1167.  * @param c The connection
  1168.  * @return A cookie
  1169.  *
  1170.  * Delivers a request to the X server.
  1171.  * 
  1172.  * This form can be used only if the request will cause
  1173.  * a reply to be generated. Any returned error will be
  1174.  * placed in the event queue.
  1175.  */
  1176.  
  1177. /*****************************************************************************
  1178.  **
  1179.  ** xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info_unchecked
  1180.  ** 
  1181.  ** @param xcb_connection_t *c
  1182.  ** @param uint32_t          screen
  1183.  ** @param uint32_t          drawable
  1184.  ** @returns xcb_xf86dri_get_drawable_info_cookie_t
  1185.  **
  1186.  *****************************************************************************/
  1187.  
  1188. xcb_xf86dri_get_drawable_info_cookie_t
  1189. xcb_xf86dri_get_drawable_info_unchecked (xcb_connection_t *c  /**< */,
  1190.                                          uint32_t          screen  /**< */,
  1191.                                          uint32_t          drawable  /**< */);
  1192.  
  1193.  
  1194. /*****************************************************************************
  1195.  **
  1196.  ** xcb_xf86dri_drm_clip_rect_t * xcb_xf86dri_get_drawable_info_clip_rects
  1197.  ** 
  1198.  ** @param const xcb_xf86dri_get_drawable_info_reply_t *R
  1199.  ** @returns xcb_xf86dri_drm_clip_rect_t *
  1200.  **
  1201.  *****************************************************************************/
  1202.  
  1203. xcb_xf86dri_drm_clip_rect_t *
  1204. xcb_xf86dri_get_drawable_info_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
  1205.  
  1206.  
  1207. /*****************************************************************************
  1208.  **
  1209.  ** int xcb_xf86dri_get_drawable_info_clip_rects_length
  1210.  ** 
  1211.  ** @param const xcb_xf86dri_get_drawable_info_reply_t *R
  1212.  ** @returns int
  1213.  **
  1214.  *****************************************************************************/
  1215.  
  1216. int
  1217. xcb_xf86dri_get_drawable_info_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
  1218.  
  1219.  
  1220. /*****************************************************************************
  1221.  **
  1222.  ** xcb_xf86dri_drm_clip_rect_iterator_t xcb_xf86dri_get_drawable_info_clip_rects_iterator
  1223.  ** 
  1224.  ** @param const xcb_xf86dri_get_drawable_info_reply_t *R
  1225.  ** @returns xcb_xf86dri_drm_clip_rect_iterator_t
  1226.  **
  1227.  *****************************************************************************/
  1228.  
  1229. xcb_xf86dri_drm_clip_rect_iterator_t
  1230. xcb_xf86dri_get_drawable_info_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
  1231.  
  1232. /**
  1233.  * Return the reply
  1234.  * @param c      The connection
  1235.  * @param cookie The cookie
  1236.  * @param e      The xcb_generic_error_t supplied
  1237.  *
  1238.  * Returns the reply of the request asked by
  1239.  * 
  1240.  * The parameter @p e supplied to this function must be NULL if
  1241.  * xcb_xf86dri_get_drawable_info_unchecked(). is used.
  1242.  * Otherwise, it stores the error if any.
  1243.  */
  1244.  
  1245. /*****************************************************************************
  1246.  **
  1247.  ** xcb_xf86dri_get_drawable_info_reply_t * xcb_xf86dri_get_drawable_info_reply
  1248.  ** 
  1249.  ** @param xcb_connection_t                        *c
  1250.  ** @param xcb_xf86dri_get_drawable_info_cookie_t   cookie
  1251.  ** @param xcb_generic_error_t                    **e
  1252.  ** @returns xcb_xf86dri_get_drawable_info_reply_t *
  1253.  **
  1254.  *****************************************************************************/
  1255.  
  1256. xcb_xf86dri_get_drawable_info_reply_t *
  1257. xcb_xf86dri_get_drawable_info_reply (xcb_connection_t                        *c  /**< */,
  1258.                                      xcb_xf86dri_get_drawable_info_cookie_t   cookie  /**< */,
  1259.                                      xcb_generic_error_t                    **e  /**< */);
  1260.  
  1261. /**
  1262.  * Delivers a request to the X server
  1263.  * @param c The connection
  1264.  * @return A cookie
  1265.  *
  1266.  * Delivers a request to the X server.
  1267.  * 
  1268.  */
  1269.  
  1270. /*****************************************************************************
  1271.  **
  1272.  ** xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info
  1273.  ** 
  1274.  ** @param xcb_connection_t *c
  1275.  ** @param uint32_t          screen
  1276.  ** @returns xcb_xf86dri_get_device_info_cookie_t
  1277.  **
  1278.  *****************************************************************************/
  1279.  
  1280. xcb_xf86dri_get_device_info_cookie_t
  1281. xcb_xf86dri_get_device_info (xcb_connection_t *c  /**< */,
  1282.                              uint32_t          screen  /**< */);
  1283.  
  1284. /**
  1285.  * Delivers a request to the X server
  1286.  * @param c The connection
  1287.  * @return A cookie
  1288.  *
  1289.  * Delivers a request to the X server.
  1290.  * 
  1291.  * This form can be used only if the request will cause
  1292.  * a reply to be generated. Any returned error will be
  1293.  * placed in the event queue.
  1294.  */
  1295.  
  1296. /*****************************************************************************
  1297.  **
  1298.  ** xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info_unchecked
  1299.  ** 
  1300.  ** @param xcb_connection_t *c
  1301.  ** @param uint32_t          screen
  1302.  ** @returns xcb_xf86dri_get_device_info_cookie_t
  1303.  **
  1304.  *****************************************************************************/
  1305.  
  1306. xcb_xf86dri_get_device_info_cookie_t
  1307. xcb_xf86dri_get_device_info_unchecked (xcb_connection_t *c  /**< */,
  1308.                                        uint32_t          screen  /**< */);
  1309.  
  1310.  
  1311. /*****************************************************************************
  1312.  **
  1313.  ** uint32_t * xcb_xf86dri_get_device_info_device_private
  1314.  ** 
  1315.  ** @param const xcb_xf86dri_get_device_info_reply_t *R
  1316.  ** @returns uint32_t *
  1317.  **
  1318.  *****************************************************************************/
  1319.  
  1320. uint32_t *
  1321. xcb_xf86dri_get_device_info_device_private (const xcb_xf86dri_get_device_info_reply_t *R  /**< */);
  1322.  
  1323.  
  1324. /*****************************************************************************
  1325.  **
  1326.  ** int xcb_xf86dri_get_device_info_device_private_length
  1327.  ** 
  1328.  ** @param const xcb_xf86dri_get_device_info_reply_t *R
  1329.  ** @returns int
  1330.  **
  1331.  *****************************************************************************/
  1332.  
  1333. int
  1334. xcb_xf86dri_get_device_info_device_private_length (const xcb_xf86dri_get_device_info_reply_t *R  /**< */);
  1335.  
  1336.  
  1337. /*****************************************************************************
  1338.  **
  1339.  ** xcb_generic_iterator_t xcb_xf86dri_get_device_info_device_private_end
  1340.  ** 
  1341.  ** @param const xcb_xf86dri_get_device_info_reply_t *R
  1342.  ** @returns xcb_generic_iterator_t
  1343.  **
  1344.  *****************************************************************************/
  1345.  
  1346. xcb_generic_iterator_t
  1347. xcb_xf86dri_get_device_info_device_private_end (const xcb_xf86dri_get_device_info_reply_t *R  /**< */);
  1348.  
  1349. /**
  1350.  * Return the reply
  1351.  * @param c      The connection
  1352.  * @param cookie The cookie
  1353.  * @param e      The xcb_generic_error_t supplied
  1354.  *
  1355.  * Returns the reply of the request asked by
  1356.  * 
  1357.  * The parameter @p e supplied to this function must be NULL if
  1358.  * xcb_xf86dri_get_device_info_unchecked(). is used.
  1359.  * Otherwise, it stores the error if any.
  1360.  */
  1361.  
  1362. /*****************************************************************************
  1363.  **
  1364.  ** xcb_xf86dri_get_device_info_reply_t * xcb_xf86dri_get_device_info_reply
  1365.  ** 
  1366.  ** @param xcb_connection_t                      *c
  1367.  ** @param xcb_xf86dri_get_device_info_cookie_t   cookie
  1368.  ** @param xcb_generic_error_t                  **e
  1369.  ** @returns xcb_xf86dri_get_device_info_reply_t *
  1370.  **
  1371.  *****************************************************************************/
  1372.  
  1373. xcb_xf86dri_get_device_info_reply_t *
  1374. xcb_xf86dri_get_device_info_reply (xcb_connection_t                      *c  /**< */,
  1375.                                    xcb_xf86dri_get_device_info_cookie_t   cookie  /**< */,
  1376.                                    xcb_generic_error_t                  **e  /**< */);
  1377.  
  1378. /**
  1379.  * Delivers a request to the X server
  1380.  * @param c The connection
  1381.  * @return A cookie
  1382.  *
  1383.  * Delivers a request to the X server.
  1384.  * 
  1385.  */
  1386.  
  1387. /*****************************************************************************
  1388.  **
  1389.  ** xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection
  1390.  ** 
  1391.  ** @param xcb_connection_t *c
  1392.  ** @param uint32_t          screen
  1393.  ** @param uint32_t          magic
  1394.  ** @returns xcb_xf86dri_auth_connection_cookie_t
  1395.  **
  1396.  *****************************************************************************/
  1397.  
  1398. xcb_xf86dri_auth_connection_cookie_t
  1399. xcb_xf86dri_auth_connection (xcb_connection_t *c  /**< */,
  1400.                              uint32_t          screen  /**< */,
  1401.                              uint32_t          magic  /**< */);
  1402.  
  1403. /**
  1404.  * Delivers a request to the X server
  1405.  * @param c The connection
  1406.  * @return A cookie
  1407.  *
  1408.  * Delivers a request to the X server.
  1409.  * 
  1410.  * This form can be used only if the request will cause
  1411.  * a reply to be generated. Any returned error will be
  1412.  * placed in the event queue.
  1413.  */
  1414.  
  1415. /*****************************************************************************
  1416.  **
  1417.  ** xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection_unchecked
  1418.  ** 
  1419.  ** @param xcb_connection_t *c
  1420.  ** @param uint32_t          screen
  1421.  ** @param uint32_t          magic
  1422.  ** @returns xcb_xf86dri_auth_connection_cookie_t
  1423.  **
  1424.  *****************************************************************************/
  1425.  
  1426. xcb_xf86dri_auth_connection_cookie_t
  1427. xcb_xf86dri_auth_connection_unchecked (xcb_connection_t *c  /**< */,
  1428.                                        uint32_t          screen  /**< */,
  1429.                                        uint32_t          magic  /**< */);
  1430.  
  1431. /**
  1432.  * Return the reply
  1433.  * @param c      The connection
  1434.  * @param cookie The cookie
  1435.  * @param e      The xcb_generic_error_t supplied
  1436.  *
  1437.  * Returns the reply of the request asked by
  1438.  * 
  1439.  * The parameter @p e supplied to this function must be NULL if
  1440.  * xcb_xf86dri_auth_connection_unchecked(). is used.
  1441.  * Otherwise, it stores the error if any.
  1442.  */
  1443.  
  1444. /*****************************************************************************
  1445.  **
  1446.  ** xcb_xf86dri_auth_connection_reply_t * xcb_xf86dri_auth_connection_reply
  1447.  ** 
  1448.  ** @param xcb_connection_t                      *c
  1449.  ** @param xcb_xf86dri_auth_connection_cookie_t   cookie
  1450.  ** @param xcb_generic_error_t                  **e
  1451.  ** @returns xcb_xf86dri_auth_connection_reply_t *
  1452.  **
  1453.  *****************************************************************************/
  1454.  
  1455. xcb_xf86dri_auth_connection_reply_t *
  1456. xcb_xf86dri_auth_connection_reply (xcb_connection_t                      *c  /**< */,
  1457.                                    xcb_xf86dri_auth_connection_cookie_t   cookie  /**< */,
  1458.                                    xcb_generic_error_t                  **e  /**< */);
  1459.  
  1460.  
  1461. #endif
  1462.  
  1463. /**
  1464.  * @}
  1465.  */
  1466.