Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:38

0001 /*
0002  * This file generated automatically from glx.xml by c_client.py.
0003  * Edit at your peril.
0004  */
0005 
0006 /**
0007  * @defgroup XCB_Glx_API XCB Glx API
0008  * @brief Glx XCB Protocol Implementation.
0009  * @{
0010  **/
0011 
0012 #ifndef __GLX_H
0013 #define __GLX_H
0014 
0015 #include "xcb.h"
0016 #include "xproto.h"
0017 
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021 
0022 #define XCB_GLX_MAJOR_VERSION 1
0023 #define XCB_GLX_MINOR_VERSION 4
0024 
0025 extern xcb_extension_t xcb_glx_id;
0026 
0027 typedef uint32_t xcb_glx_pixmap_t;
0028 
0029 /**
0030  * @brief xcb_glx_pixmap_iterator_t
0031  **/
0032 typedef struct xcb_glx_pixmap_iterator_t {
0033     xcb_glx_pixmap_t *data;
0034     int               rem;
0035     int               index;
0036 } xcb_glx_pixmap_iterator_t;
0037 
0038 typedef uint32_t xcb_glx_context_t;
0039 
0040 /**
0041  * @brief xcb_glx_context_iterator_t
0042  **/
0043 typedef struct xcb_glx_context_iterator_t {
0044     xcb_glx_context_t *data;
0045     int                rem;
0046     int                index;
0047 } xcb_glx_context_iterator_t;
0048 
0049 typedef uint32_t xcb_glx_pbuffer_t;
0050 
0051 /**
0052  * @brief xcb_glx_pbuffer_iterator_t
0053  **/
0054 typedef struct xcb_glx_pbuffer_iterator_t {
0055     xcb_glx_pbuffer_t *data;
0056     int                rem;
0057     int                index;
0058 } xcb_glx_pbuffer_iterator_t;
0059 
0060 typedef uint32_t xcb_glx_window_t;
0061 
0062 /**
0063  * @brief xcb_glx_window_iterator_t
0064  **/
0065 typedef struct xcb_glx_window_iterator_t {
0066     xcb_glx_window_t *data;
0067     int               rem;
0068     int               index;
0069 } xcb_glx_window_iterator_t;
0070 
0071 typedef uint32_t xcb_glx_fbconfig_t;
0072 
0073 /**
0074  * @brief xcb_glx_fbconfig_iterator_t
0075  **/
0076 typedef struct xcb_glx_fbconfig_iterator_t {
0077     xcb_glx_fbconfig_t *data;
0078     int                 rem;
0079     int                 index;
0080 } xcb_glx_fbconfig_iterator_t;
0081 
0082 typedef uint32_t xcb_glx_drawable_t;
0083 
0084 /**
0085  * @brief xcb_glx_drawable_iterator_t
0086  **/
0087 typedef struct xcb_glx_drawable_iterator_t {
0088     xcb_glx_drawable_t *data;
0089     int                 rem;
0090     int                 index;
0091 } xcb_glx_drawable_iterator_t;
0092 
0093 typedef float xcb_glx_float32_t;
0094 
0095 /**
0096  * @brief xcb_glx_float32_iterator_t
0097  **/
0098 typedef struct xcb_glx_float32_iterator_t {
0099     xcb_glx_float32_t *data;
0100     int                rem;
0101     int                index;
0102 } xcb_glx_float32_iterator_t;
0103 
0104 typedef double xcb_glx_float64_t;
0105 
0106 /**
0107  * @brief xcb_glx_float64_iterator_t
0108  **/
0109 typedef struct xcb_glx_float64_iterator_t {
0110     xcb_glx_float64_t *data;
0111     int                rem;
0112     int                index;
0113 } xcb_glx_float64_iterator_t;
0114 
0115 typedef uint32_t xcb_glx_bool32_t;
0116 
0117 /**
0118  * @brief xcb_glx_bool32_iterator_t
0119  **/
0120 typedef struct xcb_glx_bool32_iterator_t {
0121     xcb_glx_bool32_t *data;
0122     int               rem;
0123     int               index;
0124 } xcb_glx_bool32_iterator_t;
0125 
0126 typedef uint32_t xcb_glx_context_tag_t;
0127 
0128 /**
0129  * @brief xcb_glx_context_tag_iterator_t
0130  **/
0131 typedef struct xcb_glx_context_tag_iterator_t {
0132     xcb_glx_context_tag_t *data;
0133     int                    rem;
0134     int                    index;
0135 } xcb_glx_context_tag_iterator_t;
0136 
0137 /** Opcode for xcb_glx_generic. */
0138 #define XCB_GLX_GENERIC -1
0139 
0140 /**
0141  * @brief xcb_glx_generic_error_t
0142  **/
0143 typedef struct xcb_glx_generic_error_t {
0144     uint8_t  response_type;
0145     uint8_t  error_code;
0146     uint16_t sequence;
0147     uint32_t bad_value;
0148     uint16_t minor_opcode;
0149     uint8_t  major_opcode;
0150     uint8_t  pad0[21];
0151 } xcb_glx_generic_error_t;
0152 
0153 /** Opcode for xcb_glx_bad_context. */
0154 #define XCB_GLX_BAD_CONTEXT 0
0155 
0156 typedef xcb_glx_generic_error_t xcb_glx_bad_context_error_t;
0157 
0158 /** Opcode for xcb_glx_bad_context_state. */
0159 #define XCB_GLX_BAD_CONTEXT_STATE 1
0160 
0161 typedef xcb_glx_generic_error_t xcb_glx_bad_context_state_error_t;
0162 
0163 /** Opcode for xcb_glx_bad_drawable. */
0164 #define XCB_GLX_BAD_DRAWABLE 2
0165 
0166 typedef xcb_glx_generic_error_t xcb_glx_bad_drawable_error_t;
0167 
0168 /** Opcode for xcb_glx_bad_pixmap. */
0169 #define XCB_GLX_BAD_PIXMAP 3
0170 
0171 typedef xcb_glx_generic_error_t xcb_glx_bad_pixmap_error_t;
0172 
0173 /** Opcode for xcb_glx_bad_context_tag. */
0174 #define XCB_GLX_BAD_CONTEXT_TAG 4
0175 
0176 typedef xcb_glx_generic_error_t xcb_glx_bad_context_tag_error_t;
0177 
0178 /** Opcode for xcb_glx_bad_current_window. */
0179 #define XCB_GLX_BAD_CURRENT_WINDOW 5
0180 
0181 typedef xcb_glx_generic_error_t xcb_glx_bad_current_window_error_t;
0182 
0183 /** Opcode for xcb_glx_bad_render_request. */
0184 #define XCB_GLX_BAD_RENDER_REQUEST 6
0185 
0186 typedef xcb_glx_generic_error_t xcb_glx_bad_render_request_error_t;
0187 
0188 /** Opcode for xcb_glx_bad_large_request. */
0189 #define XCB_GLX_BAD_LARGE_REQUEST 7
0190 
0191 typedef xcb_glx_generic_error_t xcb_glx_bad_large_request_error_t;
0192 
0193 /** Opcode for xcb_glx_unsupported_private_request. */
0194 #define XCB_GLX_UNSUPPORTED_PRIVATE_REQUEST 8
0195 
0196 typedef xcb_glx_generic_error_t xcb_glx_unsupported_private_request_error_t;
0197 
0198 /** Opcode for xcb_glx_bad_fb_config. */
0199 #define XCB_GLX_BAD_FB_CONFIG 9
0200 
0201 typedef xcb_glx_generic_error_t xcb_glx_bad_fb_config_error_t;
0202 
0203 /** Opcode for xcb_glx_bad_pbuffer. */
0204 #define XCB_GLX_BAD_PBUFFER 10
0205 
0206 typedef xcb_glx_generic_error_t xcb_glx_bad_pbuffer_error_t;
0207 
0208 /** Opcode for xcb_glx_bad_current_drawable. */
0209 #define XCB_GLX_BAD_CURRENT_DRAWABLE 11
0210 
0211 typedef xcb_glx_generic_error_t xcb_glx_bad_current_drawable_error_t;
0212 
0213 /** Opcode for xcb_glx_bad_window. */
0214 #define XCB_GLX_BAD_WINDOW 12
0215 
0216 typedef xcb_glx_generic_error_t xcb_glx_bad_window_error_t;
0217 
0218 /** Opcode for xcb_glx_glx_bad_profile_arb. */
0219 #define XCB_GLX_GLX_BAD_PROFILE_ARB 13
0220 
0221 typedef xcb_glx_generic_error_t xcb_glx_glx_bad_profile_arb_error_t;
0222 
0223 /** Opcode for xcb_glx_pbuffer_clobber. */
0224 #define XCB_GLX_PBUFFER_CLOBBER 0
0225 
0226 /**
0227  * @brief xcb_glx_pbuffer_clobber_event_t
0228  **/
0229 typedef struct xcb_glx_pbuffer_clobber_event_t {
0230     uint8_t            response_type;
0231     uint8_t            pad0;
0232     uint16_t           sequence;
0233     uint16_t           event_type;
0234     uint16_t           draw_type;
0235     xcb_glx_drawable_t drawable;
0236     uint32_t           b_mask;
0237     uint16_t           aux_buffer;
0238     uint16_t           x;
0239     uint16_t           y;
0240     uint16_t           width;
0241     uint16_t           height;
0242     uint16_t           count;
0243     uint8_t            pad1[4];
0244 } xcb_glx_pbuffer_clobber_event_t;
0245 
0246 /** Opcode for xcb_glx_buffer_swap_complete. */
0247 #define XCB_GLX_BUFFER_SWAP_COMPLETE 1
0248 
0249 /**
0250  * @brief xcb_glx_buffer_swap_complete_event_t
0251  **/
0252 typedef struct xcb_glx_buffer_swap_complete_event_t {
0253     uint8_t            response_type;
0254     uint8_t            pad0;
0255     uint16_t           sequence;
0256     uint16_t           event_type;
0257     uint8_t            pad1[2];
0258     xcb_glx_drawable_t drawable;
0259     uint32_t           ust_hi;
0260     uint32_t           ust_lo;
0261     uint32_t           msc_hi;
0262     uint32_t           msc_lo;
0263     uint32_t           sbc;
0264 } xcb_glx_buffer_swap_complete_event_t;
0265 
0266 typedef enum xcb_glx_pbcet_t {
0267     XCB_GLX_PBCET_DAMAGED = 32791,
0268     XCB_GLX_PBCET_SAVED = 32792
0269 } xcb_glx_pbcet_t;
0270 
0271 typedef enum xcb_glx_pbcdt_t {
0272     XCB_GLX_PBCDT_WINDOW = 32793,
0273     XCB_GLX_PBCDT_PBUFFER = 32794
0274 } xcb_glx_pbcdt_t;
0275 
0276 /** Opcode for xcb_glx_render. */
0277 #define XCB_GLX_RENDER 1
0278 
0279 /**
0280  * @brief xcb_glx_render_request_t
0281  **/
0282 typedef struct xcb_glx_render_request_t {
0283     uint8_t               major_opcode;
0284     uint8_t               minor_opcode;
0285     uint16_t              length;
0286     xcb_glx_context_tag_t context_tag;
0287 } xcb_glx_render_request_t;
0288 
0289 /** Opcode for xcb_glx_render_large. */
0290 #define XCB_GLX_RENDER_LARGE 2
0291 
0292 /**
0293  * @brief xcb_glx_render_large_request_t
0294  **/
0295 typedef struct xcb_glx_render_large_request_t {
0296     uint8_t               major_opcode;
0297     uint8_t               minor_opcode;
0298     uint16_t              length;
0299     xcb_glx_context_tag_t context_tag;
0300     uint16_t              request_num;
0301     uint16_t              request_total;
0302     uint32_t              data_len;
0303 } xcb_glx_render_large_request_t;
0304 
0305 /** Opcode for xcb_glx_create_context. */
0306 #define XCB_GLX_CREATE_CONTEXT 3
0307 
0308 /**
0309  * @brief xcb_glx_create_context_request_t
0310  **/
0311 typedef struct xcb_glx_create_context_request_t {
0312     uint8_t           major_opcode;
0313     uint8_t           minor_opcode;
0314     uint16_t          length;
0315     xcb_glx_context_t context;
0316     xcb_visualid_t    visual;
0317     uint32_t          screen;
0318     xcb_glx_context_t share_list;
0319     uint8_t           is_direct;
0320     uint8_t           pad0[3];
0321 } xcb_glx_create_context_request_t;
0322 
0323 /** Opcode for xcb_glx_destroy_context. */
0324 #define XCB_GLX_DESTROY_CONTEXT 4
0325 
0326 /**
0327  * @brief xcb_glx_destroy_context_request_t
0328  **/
0329 typedef struct xcb_glx_destroy_context_request_t {
0330     uint8_t           major_opcode;
0331     uint8_t           minor_opcode;
0332     uint16_t          length;
0333     xcb_glx_context_t context;
0334 } xcb_glx_destroy_context_request_t;
0335 
0336 /**
0337  * @brief xcb_glx_make_current_cookie_t
0338  **/
0339 typedef struct xcb_glx_make_current_cookie_t {
0340     unsigned int sequence;
0341 } xcb_glx_make_current_cookie_t;
0342 
0343 /** Opcode for xcb_glx_make_current. */
0344 #define XCB_GLX_MAKE_CURRENT 5
0345 
0346 /**
0347  * @brief xcb_glx_make_current_request_t
0348  **/
0349 typedef struct xcb_glx_make_current_request_t {
0350     uint8_t               major_opcode;
0351     uint8_t               minor_opcode;
0352     uint16_t              length;
0353     xcb_glx_drawable_t    drawable;
0354     xcb_glx_context_t     context;
0355     xcb_glx_context_tag_t old_context_tag;
0356 } xcb_glx_make_current_request_t;
0357 
0358 /**
0359  * @brief xcb_glx_make_current_reply_t
0360  **/
0361 typedef struct xcb_glx_make_current_reply_t {
0362     uint8_t               response_type;
0363     uint8_t               pad0;
0364     uint16_t              sequence;
0365     uint32_t              length;
0366     xcb_glx_context_tag_t context_tag;
0367     uint8_t               pad1[20];
0368 } xcb_glx_make_current_reply_t;
0369 
0370 /**
0371  * @brief xcb_glx_is_direct_cookie_t
0372  **/
0373 typedef struct xcb_glx_is_direct_cookie_t {
0374     unsigned int sequence;
0375 } xcb_glx_is_direct_cookie_t;
0376 
0377 /** Opcode for xcb_glx_is_direct. */
0378 #define XCB_GLX_IS_DIRECT 6
0379 
0380 /**
0381  * @brief xcb_glx_is_direct_request_t
0382  **/
0383 typedef struct xcb_glx_is_direct_request_t {
0384     uint8_t           major_opcode;
0385     uint8_t           minor_opcode;
0386     uint16_t          length;
0387     xcb_glx_context_t context;
0388 } xcb_glx_is_direct_request_t;
0389 
0390 /**
0391  * @brief xcb_glx_is_direct_reply_t
0392  **/
0393 typedef struct xcb_glx_is_direct_reply_t {
0394     uint8_t  response_type;
0395     uint8_t  pad0;
0396     uint16_t sequence;
0397     uint32_t length;
0398     uint8_t  is_direct;
0399     uint8_t  pad1[23];
0400 } xcb_glx_is_direct_reply_t;
0401 
0402 /**
0403  * @brief xcb_glx_query_version_cookie_t
0404  **/
0405 typedef struct xcb_glx_query_version_cookie_t {
0406     unsigned int sequence;
0407 } xcb_glx_query_version_cookie_t;
0408 
0409 /** Opcode for xcb_glx_query_version. */
0410 #define XCB_GLX_QUERY_VERSION 7
0411 
0412 /**
0413  * @brief xcb_glx_query_version_request_t
0414  **/
0415 typedef struct xcb_glx_query_version_request_t {
0416     uint8_t  major_opcode;
0417     uint8_t  minor_opcode;
0418     uint16_t length;
0419     uint32_t major_version;
0420     uint32_t minor_version;
0421 } xcb_glx_query_version_request_t;
0422 
0423 /**
0424  * @brief xcb_glx_query_version_reply_t
0425  **/
0426 typedef struct xcb_glx_query_version_reply_t {
0427     uint8_t  response_type;
0428     uint8_t  pad0;
0429     uint16_t sequence;
0430     uint32_t length;
0431     uint32_t major_version;
0432     uint32_t minor_version;
0433     uint8_t  pad1[16];
0434 } xcb_glx_query_version_reply_t;
0435 
0436 /** Opcode for xcb_glx_wait_gl. */
0437 #define XCB_GLX_WAIT_GL 8
0438 
0439 /**
0440  * @brief xcb_glx_wait_gl_request_t
0441  **/
0442 typedef struct xcb_glx_wait_gl_request_t {
0443     uint8_t               major_opcode;
0444     uint8_t               minor_opcode;
0445     uint16_t              length;
0446     xcb_glx_context_tag_t context_tag;
0447 } xcb_glx_wait_gl_request_t;
0448 
0449 /** Opcode for xcb_glx_wait_x. */
0450 #define XCB_GLX_WAIT_X 9
0451 
0452 /**
0453  * @brief xcb_glx_wait_x_request_t
0454  **/
0455 typedef struct xcb_glx_wait_x_request_t {
0456     uint8_t               major_opcode;
0457     uint8_t               minor_opcode;
0458     uint16_t              length;
0459     xcb_glx_context_tag_t context_tag;
0460 } xcb_glx_wait_x_request_t;
0461 
0462 /** Opcode for xcb_glx_copy_context. */
0463 #define XCB_GLX_COPY_CONTEXT 10
0464 
0465 /**
0466  * @brief xcb_glx_copy_context_request_t
0467  **/
0468 typedef struct xcb_glx_copy_context_request_t {
0469     uint8_t               major_opcode;
0470     uint8_t               minor_opcode;
0471     uint16_t              length;
0472     xcb_glx_context_t     src;
0473     xcb_glx_context_t     dest;
0474     uint32_t              mask;
0475     xcb_glx_context_tag_t src_context_tag;
0476 } xcb_glx_copy_context_request_t;
0477 
0478 typedef enum xcb_glx_gc_t {
0479     XCB_GLX_GC_GL_CURRENT_BIT = 1,
0480     XCB_GLX_GC_GL_POINT_BIT = 2,
0481     XCB_GLX_GC_GL_LINE_BIT = 4,
0482     XCB_GLX_GC_GL_POLYGON_BIT = 8,
0483     XCB_GLX_GC_GL_POLYGON_STIPPLE_BIT = 16,
0484     XCB_GLX_GC_GL_PIXEL_MODE_BIT = 32,
0485     XCB_GLX_GC_GL_LIGHTING_BIT = 64,
0486     XCB_GLX_GC_GL_FOG_BIT = 128,
0487     XCB_GLX_GC_GL_DEPTH_BUFFER_BIT = 256,
0488     XCB_GLX_GC_GL_ACCUM_BUFFER_BIT = 512,
0489     XCB_GLX_GC_GL_STENCIL_BUFFER_BIT = 1024,
0490     XCB_GLX_GC_GL_VIEWPORT_BIT = 2048,
0491     XCB_GLX_GC_GL_TRANSFORM_BIT = 4096,
0492     XCB_GLX_GC_GL_ENABLE_BIT = 8192,
0493     XCB_GLX_GC_GL_COLOR_BUFFER_BIT = 16384,
0494     XCB_GLX_GC_GL_HINT_BIT = 32768,
0495     XCB_GLX_GC_GL_EVAL_BIT = 65536,
0496     XCB_GLX_GC_GL_LIST_BIT = 131072,
0497     XCB_GLX_GC_GL_TEXTURE_BIT = 262144,
0498     XCB_GLX_GC_GL_SCISSOR_BIT = 524288,
0499     XCB_GLX_GC_GL_ALL_ATTRIB_BITS = 16777215
0500 } xcb_glx_gc_t;
0501 
0502 /** Opcode for xcb_glx_swap_buffers. */
0503 #define XCB_GLX_SWAP_BUFFERS 11
0504 
0505 /**
0506  * @brief xcb_glx_swap_buffers_request_t
0507  **/
0508 typedef struct xcb_glx_swap_buffers_request_t {
0509     uint8_t               major_opcode;
0510     uint8_t               minor_opcode;
0511     uint16_t              length;
0512     xcb_glx_context_tag_t context_tag;
0513     xcb_glx_drawable_t    drawable;
0514 } xcb_glx_swap_buffers_request_t;
0515 
0516 /** Opcode for xcb_glx_use_x_font. */
0517 #define XCB_GLX_USE_X_FONT 12
0518 
0519 /**
0520  * @brief xcb_glx_use_x_font_request_t
0521  **/
0522 typedef struct xcb_glx_use_x_font_request_t {
0523     uint8_t               major_opcode;
0524     uint8_t               minor_opcode;
0525     uint16_t              length;
0526     xcb_glx_context_tag_t context_tag;
0527     xcb_font_t            font;
0528     uint32_t              first;
0529     uint32_t              count;
0530     uint32_t              list_base;
0531 } xcb_glx_use_x_font_request_t;
0532 
0533 /** Opcode for xcb_glx_create_glx_pixmap. */
0534 #define XCB_GLX_CREATE_GLX_PIXMAP 13
0535 
0536 /**
0537  * @brief xcb_glx_create_glx_pixmap_request_t
0538  **/
0539 typedef struct xcb_glx_create_glx_pixmap_request_t {
0540     uint8_t          major_opcode;
0541     uint8_t          minor_opcode;
0542     uint16_t         length;
0543     uint32_t         screen;
0544     xcb_visualid_t   visual;
0545     xcb_pixmap_t     pixmap;
0546     xcb_glx_pixmap_t glx_pixmap;
0547 } xcb_glx_create_glx_pixmap_request_t;
0548 
0549 /**
0550  * @brief xcb_glx_get_visual_configs_cookie_t
0551  **/
0552 typedef struct xcb_glx_get_visual_configs_cookie_t {
0553     unsigned int sequence;
0554 } xcb_glx_get_visual_configs_cookie_t;
0555 
0556 /** Opcode for xcb_glx_get_visual_configs. */
0557 #define XCB_GLX_GET_VISUAL_CONFIGS 14
0558 
0559 /**
0560  * @brief xcb_glx_get_visual_configs_request_t
0561  **/
0562 typedef struct xcb_glx_get_visual_configs_request_t {
0563     uint8_t  major_opcode;
0564     uint8_t  minor_opcode;
0565     uint16_t length;
0566     uint32_t screen;
0567 } xcb_glx_get_visual_configs_request_t;
0568 
0569 /**
0570  * @brief xcb_glx_get_visual_configs_reply_t
0571  **/
0572 typedef struct xcb_glx_get_visual_configs_reply_t {
0573     uint8_t  response_type;
0574     uint8_t  pad0;
0575     uint16_t sequence;
0576     uint32_t length;
0577     uint32_t num_visuals;
0578     uint32_t num_properties;
0579     uint8_t  pad1[16];
0580 } xcb_glx_get_visual_configs_reply_t;
0581 
0582 /** Opcode for xcb_glx_destroy_glx_pixmap. */
0583 #define XCB_GLX_DESTROY_GLX_PIXMAP 15
0584 
0585 /**
0586  * @brief xcb_glx_destroy_glx_pixmap_request_t
0587  **/
0588 typedef struct xcb_glx_destroy_glx_pixmap_request_t {
0589     uint8_t          major_opcode;
0590     uint8_t          minor_opcode;
0591     uint16_t         length;
0592     xcb_glx_pixmap_t glx_pixmap;
0593 } xcb_glx_destroy_glx_pixmap_request_t;
0594 
0595 /** Opcode for xcb_glx_vendor_private. */
0596 #define XCB_GLX_VENDOR_PRIVATE 16
0597 
0598 /**
0599  * @brief xcb_glx_vendor_private_request_t
0600  **/
0601 typedef struct xcb_glx_vendor_private_request_t {
0602     uint8_t               major_opcode;
0603     uint8_t               minor_opcode;
0604     uint16_t              length;
0605     uint32_t              vendor_code;
0606     xcb_glx_context_tag_t context_tag;
0607 } xcb_glx_vendor_private_request_t;
0608 
0609 /**
0610  * @brief xcb_glx_vendor_private_with_reply_cookie_t
0611  **/
0612 typedef struct xcb_glx_vendor_private_with_reply_cookie_t {
0613     unsigned int sequence;
0614 } xcb_glx_vendor_private_with_reply_cookie_t;
0615 
0616 /** Opcode for xcb_glx_vendor_private_with_reply. */
0617 #define XCB_GLX_VENDOR_PRIVATE_WITH_REPLY 17
0618 
0619 /**
0620  * @brief xcb_glx_vendor_private_with_reply_request_t
0621  **/
0622 typedef struct xcb_glx_vendor_private_with_reply_request_t {
0623     uint8_t               major_opcode;
0624     uint8_t               minor_opcode;
0625     uint16_t              length;
0626     uint32_t              vendor_code;
0627     xcb_glx_context_tag_t context_tag;
0628 } xcb_glx_vendor_private_with_reply_request_t;
0629 
0630 /**
0631  * @brief xcb_glx_vendor_private_with_reply_reply_t
0632  **/
0633 typedef struct xcb_glx_vendor_private_with_reply_reply_t {
0634     uint8_t  response_type;
0635     uint8_t  pad0;
0636     uint16_t sequence;
0637     uint32_t length;
0638     uint32_t retval;
0639     uint8_t  data1[24];
0640 } xcb_glx_vendor_private_with_reply_reply_t;
0641 
0642 /**
0643  * @brief xcb_glx_query_extensions_string_cookie_t
0644  **/
0645 typedef struct xcb_glx_query_extensions_string_cookie_t {
0646     unsigned int sequence;
0647 } xcb_glx_query_extensions_string_cookie_t;
0648 
0649 /** Opcode for xcb_glx_query_extensions_string. */
0650 #define XCB_GLX_QUERY_EXTENSIONS_STRING 18
0651 
0652 /**
0653  * @brief xcb_glx_query_extensions_string_request_t
0654  **/
0655 typedef struct xcb_glx_query_extensions_string_request_t {
0656     uint8_t  major_opcode;
0657     uint8_t  minor_opcode;
0658     uint16_t length;
0659     uint32_t screen;
0660 } xcb_glx_query_extensions_string_request_t;
0661 
0662 /**
0663  * @brief xcb_glx_query_extensions_string_reply_t
0664  **/
0665 typedef struct xcb_glx_query_extensions_string_reply_t {
0666     uint8_t  response_type;
0667     uint8_t  pad0;
0668     uint16_t sequence;
0669     uint32_t length;
0670     uint8_t  pad1[4];
0671     uint32_t n;
0672     uint8_t  pad2[16];
0673 } xcb_glx_query_extensions_string_reply_t;
0674 
0675 /**
0676  * @brief xcb_glx_query_server_string_cookie_t
0677  **/
0678 typedef struct xcb_glx_query_server_string_cookie_t {
0679     unsigned int sequence;
0680 } xcb_glx_query_server_string_cookie_t;
0681 
0682 /** Opcode for xcb_glx_query_server_string. */
0683 #define XCB_GLX_QUERY_SERVER_STRING 19
0684 
0685 /**
0686  * @brief xcb_glx_query_server_string_request_t
0687  **/
0688 typedef struct xcb_glx_query_server_string_request_t {
0689     uint8_t  major_opcode;
0690     uint8_t  minor_opcode;
0691     uint16_t length;
0692     uint32_t screen;
0693     uint32_t name;
0694 } xcb_glx_query_server_string_request_t;
0695 
0696 /**
0697  * @brief xcb_glx_query_server_string_reply_t
0698  **/
0699 typedef struct xcb_glx_query_server_string_reply_t {
0700     uint8_t  response_type;
0701     uint8_t  pad0;
0702     uint16_t sequence;
0703     uint32_t length;
0704     uint8_t  pad1[4];
0705     uint32_t str_len;
0706     uint8_t  pad2[16];
0707 } xcb_glx_query_server_string_reply_t;
0708 
0709 /** Opcode for xcb_glx_client_info. */
0710 #define XCB_GLX_CLIENT_INFO 20
0711 
0712 /**
0713  * @brief xcb_glx_client_info_request_t
0714  **/
0715 typedef struct xcb_glx_client_info_request_t {
0716     uint8_t  major_opcode;
0717     uint8_t  minor_opcode;
0718     uint16_t length;
0719     uint32_t major_version;
0720     uint32_t minor_version;
0721     uint32_t str_len;
0722 } xcb_glx_client_info_request_t;
0723 
0724 /**
0725  * @brief xcb_glx_get_fb_configs_cookie_t
0726  **/
0727 typedef struct xcb_glx_get_fb_configs_cookie_t {
0728     unsigned int sequence;
0729 } xcb_glx_get_fb_configs_cookie_t;
0730 
0731 /** Opcode for xcb_glx_get_fb_configs. */
0732 #define XCB_GLX_GET_FB_CONFIGS 21
0733 
0734 /**
0735  * @brief xcb_glx_get_fb_configs_request_t
0736  **/
0737 typedef struct xcb_glx_get_fb_configs_request_t {
0738     uint8_t  major_opcode;
0739     uint8_t  minor_opcode;
0740     uint16_t length;
0741     uint32_t screen;
0742 } xcb_glx_get_fb_configs_request_t;
0743 
0744 /**
0745  * @brief xcb_glx_get_fb_configs_reply_t
0746  **/
0747 typedef struct xcb_glx_get_fb_configs_reply_t {
0748     uint8_t  response_type;
0749     uint8_t  pad0;
0750     uint16_t sequence;
0751     uint32_t length;
0752     uint32_t num_FB_configs;
0753     uint32_t num_properties;
0754     uint8_t  pad1[16];
0755 } xcb_glx_get_fb_configs_reply_t;
0756 
0757 /** Opcode for xcb_glx_create_pixmap. */
0758 #define XCB_GLX_CREATE_PIXMAP 22
0759 
0760 /**
0761  * @brief xcb_glx_create_pixmap_request_t
0762  **/
0763 typedef struct xcb_glx_create_pixmap_request_t {
0764     uint8_t            major_opcode;
0765     uint8_t            minor_opcode;
0766     uint16_t           length;
0767     uint32_t           screen;
0768     xcb_glx_fbconfig_t fbconfig;
0769     xcb_pixmap_t       pixmap;
0770     xcb_glx_pixmap_t   glx_pixmap;
0771     uint32_t           num_attribs;
0772 } xcb_glx_create_pixmap_request_t;
0773 
0774 /** Opcode for xcb_glx_destroy_pixmap. */
0775 #define XCB_GLX_DESTROY_PIXMAP 23
0776 
0777 /**
0778  * @brief xcb_glx_destroy_pixmap_request_t
0779  **/
0780 typedef struct xcb_glx_destroy_pixmap_request_t {
0781     uint8_t          major_opcode;
0782     uint8_t          minor_opcode;
0783     uint16_t         length;
0784     xcb_glx_pixmap_t glx_pixmap;
0785 } xcb_glx_destroy_pixmap_request_t;
0786 
0787 /** Opcode for xcb_glx_create_new_context. */
0788 #define XCB_GLX_CREATE_NEW_CONTEXT 24
0789 
0790 /**
0791  * @brief xcb_glx_create_new_context_request_t
0792  **/
0793 typedef struct xcb_glx_create_new_context_request_t {
0794     uint8_t            major_opcode;
0795     uint8_t            minor_opcode;
0796     uint16_t           length;
0797     xcb_glx_context_t  context;
0798     xcb_glx_fbconfig_t fbconfig;
0799     uint32_t           screen;
0800     uint32_t           render_type;
0801     xcb_glx_context_t  share_list;
0802     uint8_t            is_direct;
0803     uint8_t            pad0[3];
0804 } xcb_glx_create_new_context_request_t;
0805 
0806 /**
0807  * @brief xcb_glx_query_context_cookie_t
0808  **/
0809 typedef struct xcb_glx_query_context_cookie_t {
0810     unsigned int sequence;
0811 } xcb_glx_query_context_cookie_t;
0812 
0813 /** Opcode for xcb_glx_query_context. */
0814 #define XCB_GLX_QUERY_CONTEXT 25
0815 
0816 /**
0817  * @brief xcb_glx_query_context_request_t
0818  **/
0819 typedef struct xcb_glx_query_context_request_t {
0820     uint8_t           major_opcode;
0821     uint8_t           minor_opcode;
0822     uint16_t          length;
0823     xcb_glx_context_t context;
0824 } xcb_glx_query_context_request_t;
0825 
0826 /**
0827  * @brief xcb_glx_query_context_reply_t
0828  **/
0829 typedef struct xcb_glx_query_context_reply_t {
0830     uint8_t  response_type;
0831     uint8_t  pad0;
0832     uint16_t sequence;
0833     uint32_t length;
0834     uint32_t num_attribs;
0835     uint8_t  pad1[20];
0836 } xcb_glx_query_context_reply_t;
0837 
0838 /**
0839  * @brief xcb_glx_make_context_current_cookie_t
0840  **/
0841 typedef struct xcb_glx_make_context_current_cookie_t {
0842     unsigned int sequence;
0843 } xcb_glx_make_context_current_cookie_t;
0844 
0845 /** Opcode for xcb_glx_make_context_current. */
0846 #define XCB_GLX_MAKE_CONTEXT_CURRENT 26
0847 
0848 /**
0849  * @brief xcb_glx_make_context_current_request_t
0850  **/
0851 typedef struct xcb_glx_make_context_current_request_t {
0852     uint8_t               major_opcode;
0853     uint8_t               minor_opcode;
0854     uint16_t              length;
0855     xcb_glx_context_tag_t old_context_tag;
0856     xcb_glx_drawable_t    drawable;
0857     xcb_glx_drawable_t    read_drawable;
0858     xcb_glx_context_t     context;
0859 } xcb_glx_make_context_current_request_t;
0860 
0861 /**
0862  * @brief xcb_glx_make_context_current_reply_t
0863  **/
0864 typedef struct xcb_glx_make_context_current_reply_t {
0865     uint8_t               response_type;
0866     uint8_t               pad0;
0867     uint16_t              sequence;
0868     uint32_t              length;
0869     xcb_glx_context_tag_t context_tag;
0870     uint8_t               pad1[20];
0871 } xcb_glx_make_context_current_reply_t;
0872 
0873 /** Opcode for xcb_glx_create_pbuffer. */
0874 #define XCB_GLX_CREATE_PBUFFER 27
0875 
0876 /**
0877  * @brief xcb_glx_create_pbuffer_request_t
0878  **/
0879 typedef struct xcb_glx_create_pbuffer_request_t {
0880     uint8_t            major_opcode;
0881     uint8_t            minor_opcode;
0882     uint16_t           length;
0883     uint32_t           screen;
0884     xcb_glx_fbconfig_t fbconfig;
0885     xcb_glx_pbuffer_t  pbuffer;
0886     uint32_t           num_attribs;
0887 } xcb_glx_create_pbuffer_request_t;
0888 
0889 /** Opcode for xcb_glx_destroy_pbuffer. */
0890 #define XCB_GLX_DESTROY_PBUFFER 28
0891 
0892 /**
0893  * @brief xcb_glx_destroy_pbuffer_request_t
0894  **/
0895 typedef struct xcb_glx_destroy_pbuffer_request_t {
0896     uint8_t           major_opcode;
0897     uint8_t           minor_opcode;
0898     uint16_t          length;
0899     xcb_glx_pbuffer_t pbuffer;
0900 } xcb_glx_destroy_pbuffer_request_t;
0901 
0902 /**
0903  * @brief xcb_glx_get_drawable_attributes_cookie_t
0904  **/
0905 typedef struct xcb_glx_get_drawable_attributes_cookie_t {
0906     unsigned int sequence;
0907 } xcb_glx_get_drawable_attributes_cookie_t;
0908 
0909 /** Opcode for xcb_glx_get_drawable_attributes. */
0910 #define XCB_GLX_GET_DRAWABLE_ATTRIBUTES 29
0911 
0912 /**
0913  * @brief xcb_glx_get_drawable_attributes_request_t
0914  **/
0915 typedef struct xcb_glx_get_drawable_attributes_request_t {
0916     uint8_t            major_opcode;
0917     uint8_t            minor_opcode;
0918     uint16_t           length;
0919     xcb_glx_drawable_t drawable;
0920 } xcb_glx_get_drawable_attributes_request_t;
0921 
0922 /**
0923  * @brief xcb_glx_get_drawable_attributes_reply_t
0924  **/
0925 typedef struct xcb_glx_get_drawable_attributes_reply_t {
0926     uint8_t  response_type;
0927     uint8_t  pad0;
0928     uint16_t sequence;
0929     uint32_t length;
0930     uint32_t num_attribs;
0931     uint8_t  pad1[20];
0932 } xcb_glx_get_drawable_attributes_reply_t;
0933 
0934 /** Opcode for xcb_glx_change_drawable_attributes. */
0935 #define XCB_GLX_CHANGE_DRAWABLE_ATTRIBUTES 30
0936 
0937 /**
0938  * @brief xcb_glx_change_drawable_attributes_request_t
0939  **/
0940 typedef struct xcb_glx_change_drawable_attributes_request_t {
0941     uint8_t            major_opcode;
0942     uint8_t            minor_opcode;
0943     uint16_t           length;
0944     xcb_glx_drawable_t drawable;
0945     uint32_t           num_attribs;
0946 } xcb_glx_change_drawable_attributes_request_t;
0947 
0948 /** Opcode for xcb_glx_create_window. */
0949 #define XCB_GLX_CREATE_WINDOW 31
0950 
0951 /**
0952  * @brief xcb_glx_create_window_request_t
0953  **/
0954 typedef struct xcb_glx_create_window_request_t {
0955     uint8_t            major_opcode;
0956     uint8_t            minor_opcode;
0957     uint16_t           length;
0958     uint32_t           screen;
0959     xcb_glx_fbconfig_t fbconfig;
0960     xcb_window_t       window;
0961     xcb_glx_window_t   glx_window;
0962     uint32_t           num_attribs;
0963 } xcb_glx_create_window_request_t;
0964 
0965 /** Opcode for xcb_glx_delete_window. */
0966 #define XCB_GLX_DELETE_WINDOW 32
0967 
0968 /**
0969  * @brief xcb_glx_delete_window_request_t
0970  **/
0971 typedef struct xcb_glx_delete_window_request_t {
0972     uint8_t          major_opcode;
0973     uint8_t          minor_opcode;
0974     uint16_t         length;
0975     xcb_glx_window_t glxwindow;
0976 } xcb_glx_delete_window_request_t;
0977 
0978 /** Opcode for xcb_glx_set_client_info_arb. */
0979 #define XCB_GLX_SET_CLIENT_INFO_ARB 33
0980 
0981 /**
0982  * @brief xcb_glx_set_client_info_arb_request_t
0983  **/
0984 typedef struct xcb_glx_set_client_info_arb_request_t {
0985     uint8_t  major_opcode;
0986     uint8_t  minor_opcode;
0987     uint16_t length;
0988     uint32_t major_version;
0989     uint32_t minor_version;
0990     uint32_t num_versions;
0991     uint32_t gl_str_len;
0992     uint32_t glx_str_len;
0993 } xcb_glx_set_client_info_arb_request_t;
0994 
0995 /** Opcode for xcb_glx_create_context_attribs_arb. */
0996 #define XCB_GLX_CREATE_CONTEXT_ATTRIBS_ARB 34
0997 
0998 /**
0999  * @brief xcb_glx_create_context_attribs_arb_request_t
1000  **/
1001 typedef struct xcb_glx_create_context_attribs_arb_request_t {
1002     uint8_t            major_opcode;
1003     uint8_t            minor_opcode;
1004     uint16_t           length;
1005     xcb_glx_context_t  context;
1006     xcb_glx_fbconfig_t fbconfig;
1007     uint32_t           screen;
1008     xcb_glx_context_t  share_list;
1009     uint8_t            is_direct;
1010     uint8_t            pad0[3];
1011     uint32_t           num_attribs;
1012 } xcb_glx_create_context_attribs_arb_request_t;
1013 
1014 /** Opcode for xcb_glx_set_client_info_2arb. */
1015 #define XCB_GLX_SET_CLIENT_INFO_2ARB 35
1016 
1017 /**
1018  * @brief xcb_glx_set_client_info_2arb_request_t
1019  **/
1020 typedef struct xcb_glx_set_client_info_2arb_request_t {
1021     uint8_t  major_opcode;
1022     uint8_t  minor_opcode;
1023     uint16_t length;
1024     uint32_t major_version;
1025     uint32_t minor_version;
1026     uint32_t num_versions;
1027     uint32_t gl_str_len;
1028     uint32_t glx_str_len;
1029 } xcb_glx_set_client_info_2arb_request_t;
1030 
1031 /** Opcode for xcb_glx_new_list. */
1032 #define XCB_GLX_NEW_LIST 101
1033 
1034 /**
1035  * @brief xcb_glx_new_list_request_t
1036  **/
1037 typedef struct xcb_glx_new_list_request_t {
1038     uint8_t               major_opcode;
1039     uint8_t               minor_opcode;
1040     uint16_t              length;
1041     xcb_glx_context_tag_t context_tag;
1042     uint32_t              list;
1043     uint32_t              mode;
1044 } xcb_glx_new_list_request_t;
1045 
1046 /** Opcode for xcb_glx_end_list. */
1047 #define XCB_GLX_END_LIST 102
1048 
1049 /**
1050  * @brief xcb_glx_end_list_request_t
1051  **/
1052 typedef struct xcb_glx_end_list_request_t {
1053     uint8_t               major_opcode;
1054     uint8_t               minor_opcode;
1055     uint16_t              length;
1056     xcb_glx_context_tag_t context_tag;
1057 } xcb_glx_end_list_request_t;
1058 
1059 /** Opcode for xcb_glx_delete_lists. */
1060 #define XCB_GLX_DELETE_LISTS 103
1061 
1062 /**
1063  * @brief xcb_glx_delete_lists_request_t
1064  **/
1065 typedef struct xcb_glx_delete_lists_request_t {
1066     uint8_t               major_opcode;
1067     uint8_t               minor_opcode;
1068     uint16_t              length;
1069     xcb_glx_context_tag_t context_tag;
1070     uint32_t              list;
1071     int32_t               range;
1072 } xcb_glx_delete_lists_request_t;
1073 
1074 /**
1075  * @brief xcb_glx_gen_lists_cookie_t
1076  **/
1077 typedef struct xcb_glx_gen_lists_cookie_t {
1078     unsigned int sequence;
1079 } xcb_glx_gen_lists_cookie_t;
1080 
1081 /** Opcode for xcb_glx_gen_lists. */
1082 #define XCB_GLX_GEN_LISTS 104
1083 
1084 /**
1085  * @brief xcb_glx_gen_lists_request_t
1086  **/
1087 typedef struct xcb_glx_gen_lists_request_t {
1088     uint8_t               major_opcode;
1089     uint8_t               minor_opcode;
1090     uint16_t              length;
1091     xcb_glx_context_tag_t context_tag;
1092     int32_t               range;
1093 } xcb_glx_gen_lists_request_t;
1094 
1095 /**
1096  * @brief xcb_glx_gen_lists_reply_t
1097  **/
1098 typedef struct xcb_glx_gen_lists_reply_t {
1099     uint8_t  response_type;
1100     uint8_t  pad0;
1101     uint16_t sequence;
1102     uint32_t length;
1103     uint32_t ret_val;
1104 } xcb_glx_gen_lists_reply_t;
1105 
1106 /** Opcode for xcb_glx_feedback_buffer. */
1107 #define XCB_GLX_FEEDBACK_BUFFER 105
1108 
1109 /**
1110  * @brief xcb_glx_feedback_buffer_request_t
1111  **/
1112 typedef struct xcb_glx_feedback_buffer_request_t {
1113     uint8_t               major_opcode;
1114     uint8_t               minor_opcode;
1115     uint16_t              length;
1116     xcb_glx_context_tag_t context_tag;
1117     int32_t               size;
1118     int32_t               type;
1119 } xcb_glx_feedback_buffer_request_t;
1120 
1121 /** Opcode for xcb_glx_select_buffer. */
1122 #define XCB_GLX_SELECT_BUFFER 106
1123 
1124 /**
1125  * @brief xcb_glx_select_buffer_request_t
1126  **/
1127 typedef struct xcb_glx_select_buffer_request_t {
1128     uint8_t               major_opcode;
1129     uint8_t               minor_opcode;
1130     uint16_t              length;
1131     xcb_glx_context_tag_t context_tag;
1132     int32_t               size;
1133 } xcb_glx_select_buffer_request_t;
1134 
1135 /**
1136  * @brief xcb_glx_render_mode_cookie_t
1137  **/
1138 typedef struct xcb_glx_render_mode_cookie_t {
1139     unsigned int sequence;
1140 } xcb_glx_render_mode_cookie_t;
1141 
1142 /** Opcode for xcb_glx_render_mode. */
1143 #define XCB_GLX_RENDER_MODE 107
1144 
1145 /**
1146  * @brief xcb_glx_render_mode_request_t
1147  **/
1148 typedef struct xcb_glx_render_mode_request_t {
1149     uint8_t               major_opcode;
1150     uint8_t               minor_opcode;
1151     uint16_t              length;
1152     xcb_glx_context_tag_t context_tag;
1153     uint32_t              mode;
1154 } xcb_glx_render_mode_request_t;
1155 
1156 /**
1157  * @brief xcb_glx_render_mode_reply_t
1158  **/
1159 typedef struct xcb_glx_render_mode_reply_t {
1160     uint8_t  response_type;
1161     uint8_t  pad0;
1162     uint16_t sequence;
1163     uint32_t length;
1164     uint32_t ret_val;
1165     uint32_t n;
1166     uint32_t new_mode;
1167     uint8_t  pad1[12];
1168 } xcb_glx_render_mode_reply_t;
1169 
1170 typedef enum xcb_glx_rm_t {
1171     XCB_GLX_RM_GL_RENDER = 7168,
1172     XCB_GLX_RM_GL_FEEDBACK = 7169,
1173     XCB_GLX_RM_GL_SELECT = 7170
1174 } xcb_glx_rm_t;
1175 
1176 /**
1177  * @brief xcb_glx_finish_cookie_t
1178  **/
1179 typedef struct xcb_glx_finish_cookie_t {
1180     unsigned int sequence;
1181 } xcb_glx_finish_cookie_t;
1182 
1183 /** Opcode for xcb_glx_finish. */
1184 #define XCB_GLX_FINISH 108
1185 
1186 /**
1187  * @brief xcb_glx_finish_request_t
1188  **/
1189 typedef struct xcb_glx_finish_request_t {
1190     uint8_t               major_opcode;
1191     uint8_t               minor_opcode;
1192     uint16_t              length;
1193     xcb_glx_context_tag_t context_tag;
1194 } xcb_glx_finish_request_t;
1195 
1196 /**
1197  * @brief xcb_glx_finish_reply_t
1198  **/
1199 typedef struct xcb_glx_finish_reply_t {
1200     uint8_t  response_type;
1201     uint8_t  pad0;
1202     uint16_t sequence;
1203     uint32_t length;
1204 } xcb_glx_finish_reply_t;
1205 
1206 /** Opcode for xcb_glx_pixel_storef. */
1207 #define XCB_GLX_PIXEL_STOREF 109
1208 
1209 /**
1210  * @brief xcb_glx_pixel_storef_request_t
1211  **/
1212 typedef struct xcb_glx_pixel_storef_request_t {
1213     uint8_t               major_opcode;
1214     uint8_t               minor_opcode;
1215     uint16_t              length;
1216     xcb_glx_context_tag_t context_tag;
1217     uint32_t              pname;
1218     xcb_glx_float32_t     datum;
1219 } xcb_glx_pixel_storef_request_t;
1220 
1221 /** Opcode for xcb_glx_pixel_storei. */
1222 #define XCB_GLX_PIXEL_STOREI 110
1223 
1224 /**
1225  * @brief xcb_glx_pixel_storei_request_t
1226  **/
1227 typedef struct xcb_glx_pixel_storei_request_t {
1228     uint8_t               major_opcode;
1229     uint8_t               minor_opcode;
1230     uint16_t              length;
1231     xcb_glx_context_tag_t context_tag;
1232     uint32_t              pname;
1233     int32_t               datum;
1234 } xcb_glx_pixel_storei_request_t;
1235 
1236 /**
1237  * @brief xcb_glx_read_pixels_cookie_t
1238  **/
1239 typedef struct xcb_glx_read_pixels_cookie_t {
1240     unsigned int sequence;
1241 } xcb_glx_read_pixels_cookie_t;
1242 
1243 /** Opcode for xcb_glx_read_pixels. */
1244 #define XCB_GLX_READ_PIXELS 111
1245 
1246 /**
1247  * @brief xcb_glx_read_pixels_request_t
1248  **/
1249 typedef struct xcb_glx_read_pixels_request_t {
1250     uint8_t               major_opcode;
1251     uint8_t               minor_opcode;
1252     uint16_t              length;
1253     xcb_glx_context_tag_t context_tag;
1254     int32_t               x;
1255     int32_t               y;
1256     int32_t               width;
1257     int32_t               height;
1258     uint32_t              format;
1259     uint32_t              type;
1260     uint8_t               swap_bytes;
1261     uint8_t               lsb_first;
1262 } xcb_glx_read_pixels_request_t;
1263 
1264 /**
1265  * @brief xcb_glx_read_pixels_reply_t
1266  **/
1267 typedef struct xcb_glx_read_pixels_reply_t {
1268     uint8_t  response_type;
1269     uint8_t  pad0;
1270     uint16_t sequence;
1271     uint32_t length;
1272     uint8_t  pad1[24];
1273 } xcb_glx_read_pixels_reply_t;
1274 
1275 /**
1276  * @brief xcb_glx_get_booleanv_cookie_t
1277  **/
1278 typedef struct xcb_glx_get_booleanv_cookie_t {
1279     unsigned int sequence;
1280 } xcb_glx_get_booleanv_cookie_t;
1281 
1282 /** Opcode for xcb_glx_get_booleanv. */
1283 #define XCB_GLX_GET_BOOLEANV 112
1284 
1285 /**
1286  * @brief xcb_glx_get_booleanv_request_t
1287  **/
1288 typedef struct xcb_glx_get_booleanv_request_t {
1289     uint8_t               major_opcode;
1290     uint8_t               minor_opcode;
1291     uint16_t              length;
1292     xcb_glx_context_tag_t context_tag;
1293     int32_t               pname;
1294 } xcb_glx_get_booleanv_request_t;
1295 
1296 /**
1297  * @brief xcb_glx_get_booleanv_reply_t
1298  **/
1299 typedef struct xcb_glx_get_booleanv_reply_t {
1300     uint8_t  response_type;
1301     uint8_t  pad0;
1302     uint16_t sequence;
1303     uint32_t length;
1304     uint8_t  pad1[4];
1305     uint32_t n;
1306     uint8_t  datum;
1307     uint8_t  pad2[15];
1308 } xcb_glx_get_booleanv_reply_t;
1309 
1310 /**
1311  * @brief xcb_glx_get_clip_plane_cookie_t
1312  **/
1313 typedef struct xcb_glx_get_clip_plane_cookie_t {
1314     unsigned int sequence;
1315 } xcb_glx_get_clip_plane_cookie_t;
1316 
1317 /** Opcode for xcb_glx_get_clip_plane. */
1318 #define XCB_GLX_GET_CLIP_PLANE 113
1319 
1320 /**
1321  * @brief xcb_glx_get_clip_plane_request_t
1322  **/
1323 typedef struct xcb_glx_get_clip_plane_request_t {
1324     uint8_t               major_opcode;
1325     uint8_t               minor_opcode;
1326     uint16_t              length;
1327     xcb_glx_context_tag_t context_tag;
1328     int32_t               plane;
1329 } xcb_glx_get_clip_plane_request_t;
1330 
1331 /**
1332  * @brief xcb_glx_get_clip_plane_reply_t
1333  **/
1334 typedef struct xcb_glx_get_clip_plane_reply_t {
1335     uint8_t  response_type;
1336     uint8_t  pad0;
1337     uint16_t sequence;
1338     uint32_t length;
1339     uint8_t  pad1[24];
1340 } xcb_glx_get_clip_plane_reply_t;
1341 
1342 /**
1343  * @brief xcb_glx_get_doublev_cookie_t
1344  **/
1345 typedef struct xcb_glx_get_doublev_cookie_t {
1346     unsigned int sequence;
1347 } xcb_glx_get_doublev_cookie_t;
1348 
1349 /** Opcode for xcb_glx_get_doublev. */
1350 #define XCB_GLX_GET_DOUBLEV 114
1351 
1352 /**
1353  * @brief xcb_glx_get_doublev_request_t
1354  **/
1355 typedef struct xcb_glx_get_doublev_request_t {
1356     uint8_t               major_opcode;
1357     uint8_t               minor_opcode;
1358     uint16_t              length;
1359     xcb_glx_context_tag_t context_tag;
1360     uint32_t              pname;
1361 } xcb_glx_get_doublev_request_t;
1362 
1363 /**
1364  * @brief xcb_glx_get_doublev_reply_t
1365  **/
1366 typedef struct xcb_glx_get_doublev_reply_t {
1367     uint8_t           response_type;
1368     uint8_t           pad0;
1369     uint16_t          sequence;
1370     uint32_t          length;
1371     uint8_t           pad1[4];
1372     uint32_t          n;
1373     xcb_glx_float64_t datum;
1374     uint8_t           pad2[8];
1375 } xcb_glx_get_doublev_reply_t;
1376 
1377 /**
1378  * @brief xcb_glx_get_error_cookie_t
1379  **/
1380 typedef struct xcb_glx_get_error_cookie_t {
1381     unsigned int sequence;
1382 } xcb_glx_get_error_cookie_t;
1383 
1384 /** Opcode for xcb_glx_get_error. */
1385 #define XCB_GLX_GET_ERROR 115
1386 
1387 /**
1388  * @brief xcb_glx_get_error_request_t
1389  **/
1390 typedef struct xcb_glx_get_error_request_t {
1391     uint8_t               major_opcode;
1392     uint8_t               minor_opcode;
1393     uint16_t              length;
1394     xcb_glx_context_tag_t context_tag;
1395 } xcb_glx_get_error_request_t;
1396 
1397 /**
1398  * @brief xcb_glx_get_error_reply_t
1399  **/
1400 typedef struct xcb_glx_get_error_reply_t {
1401     uint8_t  response_type;
1402     uint8_t  pad0;
1403     uint16_t sequence;
1404     uint32_t length;
1405     int32_t  error;
1406 } xcb_glx_get_error_reply_t;
1407 
1408 /**
1409  * @brief xcb_glx_get_floatv_cookie_t
1410  **/
1411 typedef struct xcb_glx_get_floatv_cookie_t {
1412     unsigned int sequence;
1413 } xcb_glx_get_floatv_cookie_t;
1414 
1415 /** Opcode for xcb_glx_get_floatv. */
1416 #define XCB_GLX_GET_FLOATV 116
1417 
1418 /**
1419  * @brief xcb_glx_get_floatv_request_t
1420  **/
1421 typedef struct xcb_glx_get_floatv_request_t {
1422     uint8_t               major_opcode;
1423     uint8_t               minor_opcode;
1424     uint16_t              length;
1425     xcb_glx_context_tag_t context_tag;
1426     uint32_t              pname;
1427 } xcb_glx_get_floatv_request_t;
1428 
1429 /**
1430  * @brief xcb_glx_get_floatv_reply_t
1431  **/
1432 typedef struct xcb_glx_get_floatv_reply_t {
1433     uint8_t           response_type;
1434     uint8_t           pad0;
1435     uint16_t          sequence;
1436     uint32_t          length;
1437     uint8_t           pad1[4];
1438     uint32_t          n;
1439     xcb_glx_float32_t datum;
1440     uint8_t           pad2[12];
1441 } xcb_glx_get_floatv_reply_t;
1442 
1443 /**
1444  * @brief xcb_glx_get_integerv_cookie_t
1445  **/
1446 typedef struct xcb_glx_get_integerv_cookie_t {
1447     unsigned int sequence;
1448 } xcb_glx_get_integerv_cookie_t;
1449 
1450 /** Opcode for xcb_glx_get_integerv. */
1451 #define XCB_GLX_GET_INTEGERV 117
1452 
1453 /**
1454  * @brief xcb_glx_get_integerv_request_t
1455  **/
1456 typedef struct xcb_glx_get_integerv_request_t {
1457     uint8_t               major_opcode;
1458     uint8_t               minor_opcode;
1459     uint16_t              length;
1460     xcb_glx_context_tag_t context_tag;
1461     uint32_t              pname;
1462 } xcb_glx_get_integerv_request_t;
1463 
1464 /**
1465  * @brief xcb_glx_get_integerv_reply_t
1466  **/
1467 typedef struct xcb_glx_get_integerv_reply_t {
1468     uint8_t  response_type;
1469     uint8_t  pad0;
1470     uint16_t sequence;
1471     uint32_t length;
1472     uint8_t  pad1[4];
1473     uint32_t n;
1474     int32_t  datum;
1475     uint8_t  pad2[12];
1476 } xcb_glx_get_integerv_reply_t;
1477 
1478 /**
1479  * @brief xcb_glx_get_lightfv_cookie_t
1480  **/
1481 typedef struct xcb_glx_get_lightfv_cookie_t {
1482     unsigned int sequence;
1483 } xcb_glx_get_lightfv_cookie_t;
1484 
1485 /** Opcode for xcb_glx_get_lightfv. */
1486 #define XCB_GLX_GET_LIGHTFV 118
1487 
1488 /**
1489  * @brief xcb_glx_get_lightfv_request_t
1490  **/
1491 typedef struct xcb_glx_get_lightfv_request_t {
1492     uint8_t               major_opcode;
1493     uint8_t               minor_opcode;
1494     uint16_t              length;
1495     xcb_glx_context_tag_t context_tag;
1496     uint32_t              light;
1497     uint32_t              pname;
1498 } xcb_glx_get_lightfv_request_t;
1499 
1500 /**
1501  * @brief xcb_glx_get_lightfv_reply_t
1502  **/
1503 typedef struct xcb_glx_get_lightfv_reply_t {
1504     uint8_t           response_type;
1505     uint8_t           pad0;
1506     uint16_t          sequence;
1507     uint32_t          length;
1508     uint8_t           pad1[4];
1509     uint32_t          n;
1510     xcb_glx_float32_t datum;
1511     uint8_t           pad2[12];
1512 } xcb_glx_get_lightfv_reply_t;
1513 
1514 /**
1515  * @brief xcb_glx_get_lightiv_cookie_t
1516  **/
1517 typedef struct xcb_glx_get_lightiv_cookie_t {
1518     unsigned int sequence;
1519 } xcb_glx_get_lightiv_cookie_t;
1520 
1521 /** Opcode for xcb_glx_get_lightiv. */
1522 #define XCB_GLX_GET_LIGHTIV 119
1523 
1524 /**
1525  * @brief xcb_glx_get_lightiv_request_t
1526  **/
1527 typedef struct xcb_glx_get_lightiv_request_t {
1528     uint8_t               major_opcode;
1529     uint8_t               minor_opcode;
1530     uint16_t              length;
1531     xcb_glx_context_tag_t context_tag;
1532     uint32_t              light;
1533     uint32_t              pname;
1534 } xcb_glx_get_lightiv_request_t;
1535 
1536 /**
1537  * @brief xcb_glx_get_lightiv_reply_t
1538  **/
1539 typedef struct xcb_glx_get_lightiv_reply_t {
1540     uint8_t  response_type;
1541     uint8_t  pad0;
1542     uint16_t sequence;
1543     uint32_t length;
1544     uint8_t  pad1[4];
1545     uint32_t n;
1546     int32_t  datum;
1547     uint8_t  pad2[12];
1548 } xcb_glx_get_lightiv_reply_t;
1549 
1550 /**
1551  * @brief xcb_glx_get_mapdv_cookie_t
1552  **/
1553 typedef struct xcb_glx_get_mapdv_cookie_t {
1554     unsigned int sequence;
1555 } xcb_glx_get_mapdv_cookie_t;
1556 
1557 /** Opcode for xcb_glx_get_mapdv. */
1558 #define XCB_GLX_GET_MAPDV 120
1559 
1560 /**
1561  * @brief xcb_glx_get_mapdv_request_t
1562  **/
1563 typedef struct xcb_glx_get_mapdv_request_t {
1564     uint8_t               major_opcode;
1565     uint8_t               minor_opcode;
1566     uint16_t              length;
1567     xcb_glx_context_tag_t context_tag;
1568     uint32_t              target;
1569     uint32_t              query;
1570 } xcb_glx_get_mapdv_request_t;
1571 
1572 /**
1573  * @brief xcb_glx_get_mapdv_reply_t
1574  **/
1575 typedef struct xcb_glx_get_mapdv_reply_t {
1576     uint8_t           response_type;
1577     uint8_t           pad0;
1578     uint16_t          sequence;
1579     uint32_t          length;
1580     uint8_t           pad1[4];
1581     uint32_t          n;
1582     xcb_glx_float64_t datum;
1583     uint8_t           pad2[8];
1584 } xcb_glx_get_mapdv_reply_t;
1585 
1586 /**
1587  * @brief xcb_glx_get_mapfv_cookie_t
1588  **/
1589 typedef struct xcb_glx_get_mapfv_cookie_t {
1590     unsigned int sequence;
1591 } xcb_glx_get_mapfv_cookie_t;
1592 
1593 /** Opcode for xcb_glx_get_mapfv. */
1594 #define XCB_GLX_GET_MAPFV 121
1595 
1596 /**
1597  * @brief xcb_glx_get_mapfv_request_t
1598  **/
1599 typedef struct xcb_glx_get_mapfv_request_t {
1600     uint8_t               major_opcode;
1601     uint8_t               minor_opcode;
1602     uint16_t              length;
1603     xcb_glx_context_tag_t context_tag;
1604     uint32_t              target;
1605     uint32_t              query;
1606 } xcb_glx_get_mapfv_request_t;
1607 
1608 /**
1609  * @brief xcb_glx_get_mapfv_reply_t
1610  **/
1611 typedef struct xcb_glx_get_mapfv_reply_t {
1612     uint8_t           response_type;
1613     uint8_t           pad0;
1614     uint16_t          sequence;
1615     uint32_t          length;
1616     uint8_t           pad1[4];
1617     uint32_t          n;
1618     xcb_glx_float32_t datum;
1619     uint8_t           pad2[12];
1620 } xcb_glx_get_mapfv_reply_t;
1621 
1622 /**
1623  * @brief xcb_glx_get_mapiv_cookie_t
1624  **/
1625 typedef struct xcb_glx_get_mapiv_cookie_t {
1626     unsigned int sequence;
1627 } xcb_glx_get_mapiv_cookie_t;
1628 
1629 /** Opcode for xcb_glx_get_mapiv. */
1630 #define XCB_GLX_GET_MAPIV 122
1631 
1632 /**
1633  * @brief xcb_glx_get_mapiv_request_t
1634  **/
1635 typedef struct xcb_glx_get_mapiv_request_t {
1636     uint8_t               major_opcode;
1637     uint8_t               minor_opcode;
1638     uint16_t              length;
1639     xcb_glx_context_tag_t context_tag;
1640     uint32_t              target;
1641     uint32_t              query;
1642 } xcb_glx_get_mapiv_request_t;
1643 
1644 /**
1645  * @brief xcb_glx_get_mapiv_reply_t
1646  **/
1647 typedef struct xcb_glx_get_mapiv_reply_t {
1648     uint8_t  response_type;
1649     uint8_t  pad0;
1650     uint16_t sequence;
1651     uint32_t length;
1652     uint8_t  pad1[4];
1653     uint32_t n;
1654     int32_t  datum;
1655     uint8_t  pad2[12];
1656 } xcb_glx_get_mapiv_reply_t;
1657 
1658 /**
1659  * @brief xcb_glx_get_materialfv_cookie_t
1660  **/
1661 typedef struct xcb_glx_get_materialfv_cookie_t {
1662     unsigned int sequence;
1663 } xcb_glx_get_materialfv_cookie_t;
1664 
1665 /** Opcode for xcb_glx_get_materialfv. */
1666 #define XCB_GLX_GET_MATERIALFV 123
1667 
1668 /**
1669  * @brief xcb_glx_get_materialfv_request_t
1670  **/
1671 typedef struct xcb_glx_get_materialfv_request_t {
1672     uint8_t               major_opcode;
1673     uint8_t               minor_opcode;
1674     uint16_t              length;
1675     xcb_glx_context_tag_t context_tag;
1676     uint32_t              face;
1677     uint32_t              pname;
1678 } xcb_glx_get_materialfv_request_t;
1679 
1680 /**
1681  * @brief xcb_glx_get_materialfv_reply_t
1682  **/
1683 typedef struct xcb_glx_get_materialfv_reply_t {
1684     uint8_t           response_type;
1685     uint8_t           pad0;
1686     uint16_t          sequence;
1687     uint32_t          length;
1688     uint8_t           pad1[4];
1689     uint32_t          n;
1690     xcb_glx_float32_t datum;
1691     uint8_t           pad2[12];
1692 } xcb_glx_get_materialfv_reply_t;
1693 
1694 /**
1695  * @brief xcb_glx_get_materialiv_cookie_t
1696  **/
1697 typedef struct xcb_glx_get_materialiv_cookie_t {
1698     unsigned int sequence;
1699 } xcb_glx_get_materialiv_cookie_t;
1700 
1701 /** Opcode for xcb_glx_get_materialiv. */
1702 #define XCB_GLX_GET_MATERIALIV 124
1703 
1704 /**
1705  * @brief xcb_glx_get_materialiv_request_t
1706  **/
1707 typedef struct xcb_glx_get_materialiv_request_t {
1708     uint8_t               major_opcode;
1709     uint8_t               minor_opcode;
1710     uint16_t              length;
1711     xcb_glx_context_tag_t context_tag;
1712     uint32_t              face;
1713     uint32_t              pname;
1714 } xcb_glx_get_materialiv_request_t;
1715 
1716 /**
1717  * @brief xcb_glx_get_materialiv_reply_t
1718  **/
1719 typedef struct xcb_glx_get_materialiv_reply_t {
1720     uint8_t  response_type;
1721     uint8_t  pad0;
1722     uint16_t sequence;
1723     uint32_t length;
1724     uint8_t  pad1[4];
1725     uint32_t n;
1726     int32_t  datum;
1727     uint8_t  pad2[12];
1728 } xcb_glx_get_materialiv_reply_t;
1729 
1730 /**
1731  * @brief xcb_glx_get_pixel_mapfv_cookie_t
1732  **/
1733 typedef struct xcb_glx_get_pixel_mapfv_cookie_t {
1734     unsigned int sequence;
1735 } xcb_glx_get_pixel_mapfv_cookie_t;
1736 
1737 /** Opcode for xcb_glx_get_pixel_mapfv. */
1738 #define XCB_GLX_GET_PIXEL_MAPFV 125
1739 
1740 /**
1741  * @brief xcb_glx_get_pixel_mapfv_request_t
1742  **/
1743 typedef struct xcb_glx_get_pixel_mapfv_request_t {
1744     uint8_t               major_opcode;
1745     uint8_t               minor_opcode;
1746     uint16_t              length;
1747     xcb_glx_context_tag_t context_tag;
1748     uint32_t              map;
1749 } xcb_glx_get_pixel_mapfv_request_t;
1750 
1751 /**
1752  * @brief xcb_glx_get_pixel_mapfv_reply_t
1753  **/
1754 typedef struct xcb_glx_get_pixel_mapfv_reply_t {
1755     uint8_t           response_type;
1756     uint8_t           pad0;
1757     uint16_t          sequence;
1758     uint32_t          length;
1759     uint8_t           pad1[4];
1760     uint32_t          n;
1761     xcb_glx_float32_t datum;
1762     uint8_t           pad2[12];
1763 } xcb_glx_get_pixel_mapfv_reply_t;
1764 
1765 /**
1766  * @brief xcb_glx_get_pixel_mapuiv_cookie_t
1767  **/
1768 typedef struct xcb_glx_get_pixel_mapuiv_cookie_t {
1769     unsigned int sequence;
1770 } xcb_glx_get_pixel_mapuiv_cookie_t;
1771 
1772 /** Opcode for xcb_glx_get_pixel_mapuiv. */
1773 #define XCB_GLX_GET_PIXEL_MAPUIV 126
1774 
1775 /**
1776  * @brief xcb_glx_get_pixel_mapuiv_request_t
1777  **/
1778 typedef struct xcb_glx_get_pixel_mapuiv_request_t {
1779     uint8_t               major_opcode;
1780     uint8_t               minor_opcode;
1781     uint16_t              length;
1782     xcb_glx_context_tag_t context_tag;
1783     uint32_t              map;
1784 } xcb_glx_get_pixel_mapuiv_request_t;
1785 
1786 /**
1787  * @brief xcb_glx_get_pixel_mapuiv_reply_t
1788  **/
1789 typedef struct xcb_glx_get_pixel_mapuiv_reply_t {
1790     uint8_t  response_type;
1791     uint8_t  pad0;
1792     uint16_t sequence;
1793     uint32_t length;
1794     uint8_t  pad1[4];
1795     uint32_t n;
1796     uint32_t datum;
1797     uint8_t  pad2[12];
1798 } xcb_glx_get_pixel_mapuiv_reply_t;
1799 
1800 /**
1801  * @brief xcb_glx_get_pixel_mapusv_cookie_t
1802  **/
1803 typedef struct xcb_glx_get_pixel_mapusv_cookie_t {
1804     unsigned int sequence;
1805 } xcb_glx_get_pixel_mapusv_cookie_t;
1806 
1807 /** Opcode for xcb_glx_get_pixel_mapusv. */
1808 #define XCB_GLX_GET_PIXEL_MAPUSV 127
1809 
1810 /**
1811  * @brief xcb_glx_get_pixel_mapusv_request_t
1812  **/
1813 typedef struct xcb_glx_get_pixel_mapusv_request_t {
1814     uint8_t               major_opcode;
1815     uint8_t               minor_opcode;
1816     uint16_t              length;
1817     xcb_glx_context_tag_t context_tag;
1818     uint32_t              map;
1819 } xcb_glx_get_pixel_mapusv_request_t;
1820 
1821 /**
1822  * @brief xcb_glx_get_pixel_mapusv_reply_t
1823  **/
1824 typedef struct xcb_glx_get_pixel_mapusv_reply_t {
1825     uint8_t  response_type;
1826     uint8_t  pad0;
1827     uint16_t sequence;
1828     uint32_t length;
1829     uint8_t  pad1[4];
1830     uint32_t n;
1831     uint16_t datum;
1832     uint8_t  pad2[16];
1833 } xcb_glx_get_pixel_mapusv_reply_t;
1834 
1835 /**
1836  * @brief xcb_glx_get_polygon_stipple_cookie_t
1837  **/
1838 typedef struct xcb_glx_get_polygon_stipple_cookie_t {
1839     unsigned int sequence;
1840 } xcb_glx_get_polygon_stipple_cookie_t;
1841 
1842 /** Opcode for xcb_glx_get_polygon_stipple. */
1843 #define XCB_GLX_GET_POLYGON_STIPPLE 128
1844 
1845 /**
1846  * @brief xcb_glx_get_polygon_stipple_request_t
1847  **/
1848 typedef struct xcb_glx_get_polygon_stipple_request_t {
1849     uint8_t               major_opcode;
1850     uint8_t               minor_opcode;
1851     uint16_t              length;
1852     xcb_glx_context_tag_t context_tag;
1853     uint8_t               lsb_first;
1854 } xcb_glx_get_polygon_stipple_request_t;
1855 
1856 /**
1857  * @brief xcb_glx_get_polygon_stipple_reply_t
1858  **/
1859 typedef struct xcb_glx_get_polygon_stipple_reply_t {
1860     uint8_t  response_type;
1861     uint8_t  pad0;
1862     uint16_t sequence;
1863     uint32_t length;
1864     uint8_t  pad1[24];
1865 } xcb_glx_get_polygon_stipple_reply_t;
1866 
1867 /**
1868  * @brief xcb_glx_get_string_cookie_t
1869  **/
1870 typedef struct xcb_glx_get_string_cookie_t {
1871     unsigned int sequence;
1872 } xcb_glx_get_string_cookie_t;
1873 
1874 /** Opcode for xcb_glx_get_string. */
1875 #define XCB_GLX_GET_STRING 129
1876 
1877 /**
1878  * @brief xcb_glx_get_string_request_t
1879  **/
1880 typedef struct xcb_glx_get_string_request_t {
1881     uint8_t               major_opcode;
1882     uint8_t               minor_opcode;
1883     uint16_t              length;
1884     xcb_glx_context_tag_t context_tag;
1885     uint32_t              name;
1886 } xcb_glx_get_string_request_t;
1887 
1888 /**
1889  * @brief xcb_glx_get_string_reply_t
1890  **/
1891 typedef struct xcb_glx_get_string_reply_t {
1892     uint8_t  response_type;
1893     uint8_t  pad0;
1894     uint16_t sequence;
1895     uint32_t length;
1896     uint8_t  pad1[4];
1897     uint32_t n;
1898     uint8_t  pad2[16];
1899 } xcb_glx_get_string_reply_t;
1900 
1901 /**
1902  * @brief xcb_glx_get_tex_envfv_cookie_t
1903  **/
1904 typedef struct xcb_glx_get_tex_envfv_cookie_t {
1905     unsigned int sequence;
1906 } xcb_glx_get_tex_envfv_cookie_t;
1907 
1908 /** Opcode for xcb_glx_get_tex_envfv. */
1909 #define XCB_GLX_GET_TEX_ENVFV 130
1910 
1911 /**
1912  * @brief xcb_glx_get_tex_envfv_request_t
1913  **/
1914 typedef struct xcb_glx_get_tex_envfv_request_t {
1915     uint8_t               major_opcode;
1916     uint8_t               minor_opcode;
1917     uint16_t              length;
1918     xcb_glx_context_tag_t context_tag;
1919     uint32_t              target;
1920     uint32_t              pname;
1921 } xcb_glx_get_tex_envfv_request_t;
1922 
1923 /**
1924  * @brief xcb_glx_get_tex_envfv_reply_t
1925  **/
1926 typedef struct xcb_glx_get_tex_envfv_reply_t {
1927     uint8_t           response_type;
1928     uint8_t           pad0;
1929     uint16_t          sequence;
1930     uint32_t          length;
1931     uint8_t           pad1[4];
1932     uint32_t          n;
1933     xcb_glx_float32_t datum;
1934     uint8_t           pad2[12];
1935 } xcb_glx_get_tex_envfv_reply_t;
1936 
1937 /**
1938  * @brief xcb_glx_get_tex_enviv_cookie_t
1939  **/
1940 typedef struct xcb_glx_get_tex_enviv_cookie_t {
1941     unsigned int sequence;
1942 } xcb_glx_get_tex_enviv_cookie_t;
1943 
1944 /** Opcode for xcb_glx_get_tex_enviv. */
1945 #define XCB_GLX_GET_TEX_ENVIV 131
1946 
1947 /**
1948  * @brief xcb_glx_get_tex_enviv_request_t
1949  **/
1950 typedef struct xcb_glx_get_tex_enviv_request_t {
1951     uint8_t               major_opcode;
1952     uint8_t               minor_opcode;
1953     uint16_t              length;
1954     xcb_glx_context_tag_t context_tag;
1955     uint32_t              target;
1956     uint32_t              pname;
1957 } xcb_glx_get_tex_enviv_request_t;
1958 
1959 /**
1960  * @brief xcb_glx_get_tex_enviv_reply_t
1961  **/
1962 typedef struct xcb_glx_get_tex_enviv_reply_t {
1963     uint8_t  response_type;
1964     uint8_t  pad0;
1965     uint16_t sequence;
1966     uint32_t length;
1967     uint8_t  pad1[4];
1968     uint32_t n;
1969     int32_t  datum;
1970     uint8_t  pad2[12];
1971 } xcb_glx_get_tex_enviv_reply_t;
1972 
1973 /**
1974  * @brief xcb_glx_get_tex_gendv_cookie_t
1975  **/
1976 typedef struct xcb_glx_get_tex_gendv_cookie_t {
1977     unsigned int sequence;
1978 } xcb_glx_get_tex_gendv_cookie_t;
1979 
1980 /** Opcode for xcb_glx_get_tex_gendv. */
1981 #define XCB_GLX_GET_TEX_GENDV 132
1982 
1983 /**
1984  * @brief xcb_glx_get_tex_gendv_request_t
1985  **/
1986 typedef struct xcb_glx_get_tex_gendv_request_t {
1987     uint8_t               major_opcode;
1988     uint8_t               minor_opcode;
1989     uint16_t              length;
1990     xcb_glx_context_tag_t context_tag;
1991     uint32_t              coord;
1992     uint32_t              pname;
1993 } xcb_glx_get_tex_gendv_request_t;
1994 
1995 /**
1996  * @brief xcb_glx_get_tex_gendv_reply_t
1997  **/
1998 typedef struct xcb_glx_get_tex_gendv_reply_t {
1999     uint8_t           response_type;
2000     uint8_t           pad0;
2001     uint16_t          sequence;
2002     uint32_t          length;
2003     uint8_t           pad1[4];
2004     uint32_t          n;
2005     xcb_glx_float64_t datum;
2006     uint8_t           pad2[8];
2007 } xcb_glx_get_tex_gendv_reply_t;
2008 
2009 /**
2010  * @brief xcb_glx_get_tex_genfv_cookie_t
2011  **/
2012 typedef struct xcb_glx_get_tex_genfv_cookie_t {
2013     unsigned int sequence;
2014 } xcb_glx_get_tex_genfv_cookie_t;
2015 
2016 /** Opcode for xcb_glx_get_tex_genfv. */
2017 #define XCB_GLX_GET_TEX_GENFV 133
2018 
2019 /**
2020  * @brief xcb_glx_get_tex_genfv_request_t
2021  **/
2022 typedef struct xcb_glx_get_tex_genfv_request_t {
2023     uint8_t               major_opcode;
2024     uint8_t               minor_opcode;
2025     uint16_t              length;
2026     xcb_glx_context_tag_t context_tag;
2027     uint32_t              coord;
2028     uint32_t              pname;
2029 } xcb_glx_get_tex_genfv_request_t;
2030 
2031 /**
2032  * @brief xcb_glx_get_tex_genfv_reply_t
2033  **/
2034 typedef struct xcb_glx_get_tex_genfv_reply_t {
2035     uint8_t           response_type;
2036     uint8_t           pad0;
2037     uint16_t          sequence;
2038     uint32_t          length;
2039     uint8_t           pad1[4];
2040     uint32_t          n;
2041     xcb_glx_float32_t datum;
2042     uint8_t           pad2[12];
2043 } xcb_glx_get_tex_genfv_reply_t;
2044 
2045 /**
2046  * @brief xcb_glx_get_tex_geniv_cookie_t
2047  **/
2048 typedef struct xcb_glx_get_tex_geniv_cookie_t {
2049     unsigned int sequence;
2050 } xcb_glx_get_tex_geniv_cookie_t;
2051 
2052 /** Opcode for xcb_glx_get_tex_geniv. */
2053 #define XCB_GLX_GET_TEX_GENIV 134
2054 
2055 /**
2056  * @brief xcb_glx_get_tex_geniv_request_t
2057  **/
2058 typedef struct xcb_glx_get_tex_geniv_request_t {
2059     uint8_t               major_opcode;
2060     uint8_t               minor_opcode;
2061     uint16_t              length;
2062     xcb_glx_context_tag_t context_tag;
2063     uint32_t              coord;
2064     uint32_t              pname;
2065 } xcb_glx_get_tex_geniv_request_t;
2066 
2067 /**
2068  * @brief xcb_glx_get_tex_geniv_reply_t
2069  **/
2070 typedef struct xcb_glx_get_tex_geniv_reply_t {
2071     uint8_t  response_type;
2072     uint8_t  pad0;
2073     uint16_t sequence;
2074     uint32_t length;
2075     uint8_t  pad1[4];
2076     uint32_t n;
2077     int32_t  datum;
2078     uint8_t  pad2[12];
2079 } xcb_glx_get_tex_geniv_reply_t;
2080 
2081 /**
2082  * @brief xcb_glx_get_tex_image_cookie_t
2083  **/
2084 typedef struct xcb_glx_get_tex_image_cookie_t {
2085     unsigned int sequence;
2086 } xcb_glx_get_tex_image_cookie_t;
2087 
2088 /** Opcode for xcb_glx_get_tex_image. */
2089 #define XCB_GLX_GET_TEX_IMAGE 135
2090 
2091 /**
2092  * @brief xcb_glx_get_tex_image_request_t
2093  **/
2094 typedef struct xcb_glx_get_tex_image_request_t {
2095     uint8_t               major_opcode;
2096     uint8_t               minor_opcode;
2097     uint16_t              length;
2098     xcb_glx_context_tag_t context_tag;
2099     uint32_t              target;
2100     int32_t               level;
2101     uint32_t              format;
2102     uint32_t              type;
2103     uint8_t               swap_bytes;
2104 } xcb_glx_get_tex_image_request_t;
2105 
2106 /**
2107  * @brief xcb_glx_get_tex_image_reply_t
2108  **/
2109 typedef struct xcb_glx_get_tex_image_reply_t {
2110     uint8_t  response_type;
2111     uint8_t  pad0;
2112     uint16_t sequence;
2113     uint32_t length;
2114     uint8_t  pad1[8];
2115     int32_t  width;
2116     int32_t  height;
2117     int32_t  depth;
2118     uint8_t  pad2[4];
2119 } xcb_glx_get_tex_image_reply_t;
2120 
2121 /**
2122  * @brief xcb_glx_get_tex_parameterfv_cookie_t
2123  **/
2124 typedef struct xcb_glx_get_tex_parameterfv_cookie_t {
2125     unsigned int sequence;
2126 } xcb_glx_get_tex_parameterfv_cookie_t;
2127 
2128 /** Opcode for xcb_glx_get_tex_parameterfv. */
2129 #define XCB_GLX_GET_TEX_PARAMETERFV 136
2130 
2131 /**
2132  * @brief xcb_glx_get_tex_parameterfv_request_t
2133  **/
2134 typedef struct xcb_glx_get_tex_parameterfv_request_t {
2135     uint8_t               major_opcode;
2136     uint8_t               minor_opcode;
2137     uint16_t              length;
2138     xcb_glx_context_tag_t context_tag;
2139     uint32_t              target;
2140     uint32_t              pname;
2141 } xcb_glx_get_tex_parameterfv_request_t;
2142 
2143 /**
2144  * @brief xcb_glx_get_tex_parameterfv_reply_t
2145  **/
2146 typedef struct xcb_glx_get_tex_parameterfv_reply_t {
2147     uint8_t           response_type;
2148     uint8_t           pad0;
2149     uint16_t          sequence;
2150     uint32_t          length;
2151     uint8_t           pad1[4];
2152     uint32_t          n;
2153     xcb_glx_float32_t datum;
2154     uint8_t           pad2[12];
2155 } xcb_glx_get_tex_parameterfv_reply_t;
2156 
2157 /**
2158  * @brief xcb_glx_get_tex_parameteriv_cookie_t
2159  **/
2160 typedef struct xcb_glx_get_tex_parameteriv_cookie_t {
2161     unsigned int sequence;
2162 } xcb_glx_get_tex_parameteriv_cookie_t;
2163 
2164 /** Opcode for xcb_glx_get_tex_parameteriv. */
2165 #define XCB_GLX_GET_TEX_PARAMETERIV 137
2166 
2167 /**
2168  * @brief xcb_glx_get_tex_parameteriv_request_t
2169  **/
2170 typedef struct xcb_glx_get_tex_parameteriv_request_t {
2171     uint8_t               major_opcode;
2172     uint8_t               minor_opcode;
2173     uint16_t              length;
2174     xcb_glx_context_tag_t context_tag;
2175     uint32_t              target;
2176     uint32_t              pname;
2177 } xcb_glx_get_tex_parameteriv_request_t;
2178 
2179 /**
2180  * @brief xcb_glx_get_tex_parameteriv_reply_t
2181  **/
2182 typedef struct xcb_glx_get_tex_parameteriv_reply_t {
2183     uint8_t  response_type;
2184     uint8_t  pad0;
2185     uint16_t sequence;
2186     uint32_t length;
2187     uint8_t  pad1[4];
2188     uint32_t n;
2189     int32_t  datum;
2190     uint8_t  pad2[12];
2191 } xcb_glx_get_tex_parameteriv_reply_t;
2192 
2193 /**
2194  * @brief xcb_glx_get_tex_level_parameterfv_cookie_t
2195  **/
2196 typedef struct xcb_glx_get_tex_level_parameterfv_cookie_t {
2197     unsigned int sequence;
2198 } xcb_glx_get_tex_level_parameterfv_cookie_t;
2199 
2200 /** Opcode for xcb_glx_get_tex_level_parameterfv. */
2201 #define XCB_GLX_GET_TEX_LEVEL_PARAMETERFV 138
2202 
2203 /**
2204  * @brief xcb_glx_get_tex_level_parameterfv_request_t
2205  **/
2206 typedef struct xcb_glx_get_tex_level_parameterfv_request_t {
2207     uint8_t               major_opcode;
2208     uint8_t               minor_opcode;
2209     uint16_t              length;
2210     xcb_glx_context_tag_t context_tag;
2211     uint32_t              target;
2212     int32_t               level;
2213     uint32_t              pname;
2214 } xcb_glx_get_tex_level_parameterfv_request_t;
2215 
2216 /**
2217  * @brief xcb_glx_get_tex_level_parameterfv_reply_t
2218  **/
2219 typedef struct xcb_glx_get_tex_level_parameterfv_reply_t {
2220     uint8_t           response_type;
2221     uint8_t           pad0;
2222     uint16_t          sequence;
2223     uint32_t          length;
2224     uint8_t           pad1[4];
2225     uint32_t          n;
2226     xcb_glx_float32_t datum;
2227     uint8_t           pad2[12];
2228 } xcb_glx_get_tex_level_parameterfv_reply_t;
2229 
2230 /**
2231  * @brief xcb_glx_get_tex_level_parameteriv_cookie_t
2232  **/
2233 typedef struct xcb_glx_get_tex_level_parameteriv_cookie_t {
2234     unsigned int sequence;
2235 } xcb_glx_get_tex_level_parameteriv_cookie_t;
2236 
2237 /** Opcode for xcb_glx_get_tex_level_parameteriv. */
2238 #define XCB_GLX_GET_TEX_LEVEL_PARAMETERIV 139
2239 
2240 /**
2241  * @brief xcb_glx_get_tex_level_parameteriv_request_t
2242  **/
2243 typedef struct xcb_glx_get_tex_level_parameteriv_request_t {
2244     uint8_t               major_opcode;
2245     uint8_t               minor_opcode;
2246     uint16_t              length;
2247     xcb_glx_context_tag_t context_tag;
2248     uint32_t              target;
2249     int32_t               level;
2250     uint32_t              pname;
2251 } xcb_glx_get_tex_level_parameteriv_request_t;
2252 
2253 /**
2254  * @brief xcb_glx_get_tex_level_parameteriv_reply_t
2255  **/
2256 typedef struct xcb_glx_get_tex_level_parameteriv_reply_t {
2257     uint8_t  response_type;
2258     uint8_t  pad0;
2259     uint16_t sequence;
2260     uint32_t length;
2261     uint8_t  pad1[4];
2262     uint32_t n;
2263     int32_t  datum;
2264     uint8_t  pad2[12];
2265 } xcb_glx_get_tex_level_parameteriv_reply_t;
2266 
2267 /**
2268  * @brief xcb_glx_is_enabled_cookie_t
2269  **/
2270 typedef struct xcb_glx_is_enabled_cookie_t {
2271     unsigned int sequence;
2272 } xcb_glx_is_enabled_cookie_t;
2273 
2274 /** Opcode for xcb_glx_is_enabled. */
2275 #define XCB_GLX_IS_ENABLED 140
2276 
2277 /**
2278  * @brief xcb_glx_is_enabled_request_t
2279  **/
2280 typedef struct xcb_glx_is_enabled_request_t {
2281     uint8_t               major_opcode;
2282     uint8_t               minor_opcode;
2283     uint16_t              length;
2284     xcb_glx_context_tag_t context_tag;
2285     uint32_t              capability;
2286 } xcb_glx_is_enabled_request_t;
2287 
2288 /**
2289  * @brief xcb_glx_is_enabled_reply_t
2290  **/
2291 typedef struct xcb_glx_is_enabled_reply_t {
2292     uint8_t          response_type;
2293     uint8_t          pad0;
2294     uint16_t         sequence;
2295     uint32_t         length;
2296     xcb_glx_bool32_t ret_val;
2297 } xcb_glx_is_enabled_reply_t;
2298 
2299 /**
2300  * @brief xcb_glx_is_list_cookie_t
2301  **/
2302 typedef struct xcb_glx_is_list_cookie_t {
2303     unsigned int sequence;
2304 } xcb_glx_is_list_cookie_t;
2305 
2306 /** Opcode for xcb_glx_is_list. */
2307 #define XCB_GLX_IS_LIST 141
2308 
2309 /**
2310  * @brief xcb_glx_is_list_request_t
2311  **/
2312 typedef struct xcb_glx_is_list_request_t {
2313     uint8_t               major_opcode;
2314     uint8_t               minor_opcode;
2315     uint16_t              length;
2316     xcb_glx_context_tag_t context_tag;
2317     uint32_t              list;
2318 } xcb_glx_is_list_request_t;
2319 
2320 /**
2321  * @brief xcb_glx_is_list_reply_t
2322  **/
2323 typedef struct xcb_glx_is_list_reply_t {
2324     uint8_t          response_type;
2325     uint8_t          pad0;
2326     uint16_t         sequence;
2327     uint32_t         length;
2328     xcb_glx_bool32_t ret_val;
2329 } xcb_glx_is_list_reply_t;
2330 
2331 /** Opcode for xcb_glx_flush. */
2332 #define XCB_GLX_FLUSH 142
2333 
2334 /**
2335  * @brief xcb_glx_flush_request_t
2336  **/
2337 typedef struct xcb_glx_flush_request_t {
2338     uint8_t               major_opcode;
2339     uint8_t               minor_opcode;
2340     uint16_t              length;
2341     xcb_glx_context_tag_t context_tag;
2342 } xcb_glx_flush_request_t;
2343 
2344 /**
2345  * @brief xcb_glx_are_textures_resident_cookie_t
2346  **/
2347 typedef struct xcb_glx_are_textures_resident_cookie_t {
2348     unsigned int sequence;
2349 } xcb_glx_are_textures_resident_cookie_t;
2350 
2351 /** Opcode for xcb_glx_are_textures_resident. */
2352 #define XCB_GLX_ARE_TEXTURES_RESIDENT 143
2353 
2354 /**
2355  * @brief xcb_glx_are_textures_resident_request_t
2356  **/
2357 typedef struct xcb_glx_are_textures_resident_request_t {
2358     uint8_t               major_opcode;
2359     uint8_t               minor_opcode;
2360     uint16_t              length;
2361     xcb_glx_context_tag_t context_tag;
2362     int32_t               n;
2363 } xcb_glx_are_textures_resident_request_t;
2364 
2365 /**
2366  * @brief xcb_glx_are_textures_resident_reply_t
2367  **/
2368 typedef struct xcb_glx_are_textures_resident_reply_t {
2369     uint8_t          response_type;
2370     uint8_t          pad0;
2371     uint16_t         sequence;
2372     uint32_t         length;
2373     xcb_glx_bool32_t ret_val;
2374     uint8_t          pad1[20];
2375 } xcb_glx_are_textures_resident_reply_t;
2376 
2377 /** Opcode for xcb_glx_delete_textures. */
2378 #define XCB_GLX_DELETE_TEXTURES 144
2379 
2380 /**
2381  * @brief xcb_glx_delete_textures_request_t
2382  **/
2383 typedef struct xcb_glx_delete_textures_request_t {
2384     uint8_t               major_opcode;
2385     uint8_t               minor_opcode;
2386     uint16_t              length;
2387     xcb_glx_context_tag_t context_tag;
2388     int32_t               n;
2389 } xcb_glx_delete_textures_request_t;
2390 
2391 /**
2392  * @brief xcb_glx_gen_textures_cookie_t
2393  **/
2394 typedef struct xcb_glx_gen_textures_cookie_t {
2395     unsigned int sequence;
2396 } xcb_glx_gen_textures_cookie_t;
2397 
2398 /** Opcode for xcb_glx_gen_textures. */
2399 #define XCB_GLX_GEN_TEXTURES 145
2400 
2401 /**
2402  * @brief xcb_glx_gen_textures_request_t
2403  **/
2404 typedef struct xcb_glx_gen_textures_request_t {
2405     uint8_t               major_opcode;
2406     uint8_t               minor_opcode;
2407     uint16_t              length;
2408     xcb_glx_context_tag_t context_tag;
2409     int32_t               n;
2410 } xcb_glx_gen_textures_request_t;
2411 
2412 /**
2413  * @brief xcb_glx_gen_textures_reply_t
2414  **/
2415 typedef struct xcb_glx_gen_textures_reply_t {
2416     uint8_t  response_type;
2417     uint8_t  pad0;
2418     uint16_t sequence;
2419     uint32_t length;
2420     uint8_t  pad1[24];
2421 } xcb_glx_gen_textures_reply_t;
2422 
2423 /**
2424  * @brief xcb_glx_is_texture_cookie_t
2425  **/
2426 typedef struct xcb_glx_is_texture_cookie_t {
2427     unsigned int sequence;
2428 } xcb_glx_is_texture_cookie_t;
2429 
2430 /** Opcode for xcb_glx_is_texture. */
2431 #define XCB_GLX_IS_TEXTURE 146
2432 
2433 /**
2434  * @brief xcb_glx_is_texture_request_t
2435  **/
2436 typedef struct xcb_glx_is_texture_request_t {
2437     uint8_t               major_opcode;
2438     uint8_t               minor_opcode;
2439     uint16_t              length;
2440     xcb_glx_context_tag_t context_tag;
2441     uint32_t              texture;
2442 } xcb_glx_is_texture_request_t;
2443 
2444 /**
2445  * @brief xcb_glx_is_texture_reply_t
2446  **/
2447 typedef struct xcb_glx_is_texture_reply_t {
2448     uint8_t          response_type;
2449     uint8_t          pad0;
2450     uint16_t         sequence;
2451     uint32_t         length;
2452     xcb_glx_bool32_t ret_val;
2453 } xcb_glx_is_texture_reply_t;
2454 
2455 /**
2456  * @brief xcb_glx_get_color_table_cookie_t
2457  **/
2458 typedef struct xcb_glx_get_color_table_cookie_t {
2459     unsigned int sequence;
2460 } xcb_glx_get_color_table_cookie_t;
2461 
2462 /** Opcode for xcb_glx_get_color_table. */
2463 #define XCB_GLX_GET_COLOR_TABLE 147
2464 
2465 /**
2466  * @brief xcb_glx_get_color_table_request_t
2467  **/
2468 typedef struct xcb_glx_get_color_table_request_t {
2469     uint8_t               major_opcode;
2470     uint8_t               minor_opcode;
2471     uint16_t              length;
2472     xcb_glx_context_tag_t context_tag;
2473     uint32_t              target;
2474     uint32_t              format;
2475     uint32_t              type;
2476     uint8_t               swap_bytes;
2477 } xcb_glx_get_color_table_request_t;
2478 
2479 /**
2480  * @brief xcb_glx_get_color_table_reply_t
2481  **/
2482 typedef struct xcb_glx_get_color_table_reply_t {
2483     uint8_t  response_type;
2484     uint8_t  pad0;
2485     uint16_t sequence;
2486     uint32_t length;
2487     uint8_t  pad1[8];
2488     int32_t  width;
2489     uint8_t  pad2[12];
2490 } xcb_glx_get_color_table_reply_t;
2491 
2492 /**
2493  * @brief xcb_glx_get_color_table_parameterfv_cookie_t
2494  **/
2495 typedef struct xcb_glx_get_color_table_parameterfv_cookie_t {
2496     unsigned int sequence;
2497 } xcb_glx_get_color_table_parameterfv_cookie_t;
2498 
2499 /** Opcode for xcb_glx_get_color_table_parameterfv. */
2500 #define XCB_GLX_GET_COLOR_TABLE_PARAMETERFV 148
2501 
2502 /**
2503  * @brief xcb_glx_get_color_table_parameterfv_request_t
2504  **/
2505 typedef struct xcb_glx_get_color_table_parameterfv_request_t {
2506     uint8_t               major_opcode;
2507     uint8_t               minor_opcode;
2508     uint16_t              length;
2509     xcb_glx_context_tag_t context_tag;
2510     uint32_t              target;
2511     uint32_t              pname;
2512 } xcb_glx_get_color_table_parameterfv_request_t;
2513 
2514 /**
2515  * @brief xcb_glx_get_color_table_parameterfv_reply_t
2516  **/
2517 typedef struct xcb_glx_get_color_table_parameterfv_reply_t {
2518     uint8_t           response_type;
2519     uint8_t           pad0;
2520     uint16_t          sequence;
2521     uint32_t          length;
2522     uint8_t           pad1[4];
2523     uint32_t          n;
2524     xcb_glx_float32_t datum;
2525     uint8_t           pad2[12];
2526 } xcb_glx_get_color_table_parameterfv_reply_t;
2527 
2528 /**
2529  * @brief xcb_glx_get_color_table_parameteriv_cookie_t
2530  **/
2531 typedef struct xcb_glx_get_color_table_parameteriv_cookie_t {
2532     unsigned int sequence;
2533 } xcb_glx_get_color_table_parameteriv_cookie_t;
2534 
2535 /** Opcode for xcb_glx_get_color_table_parameteriv. */
2536 #define XCB_GLX_GET_COLOR_TABLE_PARAMETERIV 149
2537 
2538 /**
2539  * @brief xcb_glx_get_color_table_parameteriv_request_t
2540  **/
2541 typedef struct xcb_glx_get_color_table_parameteriv_request_t {
2542     uint8_t               major_opcode;
2543     uint8_t               minor_opcode;
2544     uint16_t              length;
2545     xcb_glx_context_tag_t context_tag;
2546     uint32_t              target;
2547     uint32_t              pname;
2548 } xcb_glx_get_color_table_parameteriv_request_t;
2549 
2550 /**
2551  * @brief xcb_glx_get_color_table_parameteriv_reply_t
2552  **/
2553 typedef struct xcb_glx_get_color_table_parameteriv_reply_t {
2554     uint8_t  response_type;
2555     uint8_t  pad0;
2556     uint16_t sequence;
2557     uint32_t length;
2558     uint8_t  pad1[4];
2559     uint32_t n;
2560     int32_t  datum;
2561     uint8_t  pad2[12];
2562 } xcb_glx_get_color_table_parameteriv_reply_t;
2563 
2564 /**
2565  * @brief xcb_glx_get_convolution_filter_cookie_t
2566  **/
2567 typedef struct xcb_glx_get_convolution_filter_cookie_t {
2568     unsigned int sequence;
2569 } xcb_glx_get_convolution_filter_cookie_t;
2570 
2571 /** Opcode for xcb_glx_get_convolution_filter. */
2572 #define XCB_GLX_GET_CONVOLUTION_FILTER 150
2573 
2574 /**
2575  * @brief xcb_glx_get_convolution_filter_request_t
2576  **/
2577 typedef struct xcb_glx_get_convolution_filter_request_t {
2578     uint8_t               major_opcode;
2579     uint8_t               minor_opcode;
2580     uint16_t              length;
2581     xcb_glx_context_tag_t context_tag;
2582     uint32_t              target;
2583     uint32_t              format;
2584     uint32_t              type;
2585     uint8_t               swap_bytes;
2586 } xcb_glx_get_convolution_filter_request_t;
2587 
2588 /**
2589  * @brief xcb_glx_get_convolution_filter_reply_t
2590  **/
2591 typedef struct xcb_glx_get_convolution_filter_reply_t {
2592     uint8_t  response_type;
2593     uint8_t  pad0;
2594     uint16_t sequence;
2595     uint32_t length;
2596     uint8_t  pad1[8];
2597     int32_t  width;
2598     int32_t  height;
2599     uint8_t  pad2[8];
2600 } xcb_glx_get_convolution_filter_reply_t;
2601 
2602 /**
2603  * @brief xcb_glx_get_convolution_parameterfv_cookie_t
2604  **/
2605 typedef struct xcb_glx_get_convolution_parameterfv_cookie_t {
2606     unsigned int sequence;
2607 } xcb_glx_get_convolution_parameterfv_cookie_t;
2608 
2609 /** Opcode for xcb_glx_get_convolution_parameterfv. */
2610 #define XCB_GLX_GET_CONVOLUTION_PARAMETERFV 151
2611 
2612 /**
2613  * @brief xcb_glx_get_convolution_parameterfv_request_t
2614  **/
2615 typedef struct xcb_glx_get_convolution_parameterfv_request_t {
2616     uint8_t               major_opcode;
2617     uint8_t               minor_opcode;
2618     uint16_t              length;
2619     xcb_glx_context_tag_t context_tag;
2620     uint32_t              target;
2621     uint32_t              pname;
2622 } xcb_glx_get_convolution_parameterfv_request_t;
2623 
2624 /**
2625  * @brief xcb_glx_get_convolution_parameterfv_reply_t
2626  **/
2627 typedef struct xcb_glx_get_convolution_parameterfv_reply_t {
2628     uint8_t           response_type;
2629     uint8_t           pad0;
2630     uint16_t          sequence;
2631     uint32_t          length;
2632     uint8_t           pad1[4];
2633     uint32_t          n;
2634     xcb_glx_float32_t datum;
2635     uint8_t           pad2[12];
2636 } xcb_glx_get_convolution_parameterfv_reply_t;
2637 
2638 /**
2639  * @brief xcb_glx_get_convolution_parameteriv_cookie_t
2640  **/
2641 typedef struct xcb_glx_get_convolution_parameteriv_cookie_t {
2642     unsigned int sequence;
2643 } xcb_glx_get_convolution_parameteriv_cookie_t;
2644 
2645 /** Opcode for xcb_glx_get_convolution_parameteriv. */
2646 #define XCB_GLX_GET_CONVOLUTION_PARAMETERIV 152
2647 
2648 /**
2649  * @brief xcb_glx_get_convolution_parameteriv_request_t
2650  **/
2651 typedef struct xcb_glx_get_convolution_parameteriv_request_t {
2652     uint8_t               major_opcode;
2653     uint8_t               minor_opcode;
2654     uint16_t              length;
2655     xcb_glx_context_tag_t context_tag;
2656     uint32_t              target;
2657     uint32_t              pname;
2658 } xcb_glx_get_convolution_parameteriv_request_t;
2659 
2660 /**
2661  * @brief xcb_glx_get_convolution_parameteriv_reply_t
2662  **/
2663 typedef struct xcb_glx_get_convolution_parameteriv_reply_t {
2664     uint8_t  response_type;
2665     uint8_t  pad0;
2666     uint16_t sequence;
2667     uint32_t length;
2668     uint8_t  pad1[4];
2669     uint32_t n;
2670     int32_t  datum;
2671     uint8_t  pad2[12];
2672 } xcb_glx_get_convolution_parameteriv_reply_t;
2673 
2674 /**
2675  * @brief xcb_glx_get_separable_filter_cookie_t
2676  **/
2677 typedef struct xcb_glx_get_separable_filter_cookie_t {
2678     unsigned int sequence;
2679 } xcb_glx_get_separable_filter_cookie_t;
2680 
2681 /** Opcode for xcb_glx_get_separable_filter. */
2682 #define XCB_GLX_GET_SEPARABLE_FILTER 153
2683 
2684 /**
2685  * @brief xcb_glx_get_separable_filter_request_t
2686  **/
2687 typedef struct xcb_glx_get_separable_filter_request_t {
2688     uint8_t               major_opcode;
2689     uint8_t               minor_opcode;
2690     uint16_t              length;
2691     xcb_glx_context_tag_t context_tag;
2692     uint32_t              target;
2693     uint32_t              format;
2694     uint32_t              type;
2695     uint8_t               swap_bytes;
2696 } xcb_glx_get_separable_filter_request_t;
2697 
2698 /**
2699  * @brief xcb_glx_get_separable_filter_reply_t
2700  **/
2701 typedef struct xcb_glx_get_separable_filter_reply_t {
2702     uint8_t  response_type;
2703     uint8_t  pad0;
2704     uint16_t sequence;
2705     uint32_t length;
2706     uint8_t  pad1[8];
2707     int32_t  row_w;
2708     int32_t  col_h;
2709     uint8_t  pad2[8];
2710 } xcb_glx_get_separable_filter_reply_t;
2711 
2712 /**
2713  * @brief xcb_glx_get_histogram_cookie_t
2714  **/
2715 typedef struct xcb_glx_get_histogram_cookie_t {
2716     unsigned int sequence;
2717 } xcb_glx_get_histogram_cookie_t;
2718 
2719 /** Opcode for xcb_glx_get_histogram. */
2720 #define XCB_GLX_GET_HISTOGRAM 154
2721 
2722 /**
2723  * @brief xcb_glx_get_histogram_request_t
2724  **/
2725 typedef struct xcb_glx_get_histogram_request_t {
2726     uint8_t               major_opcode;
2727     uint8_t               minor_opcode;
2728     uint16_t              length;
2729     xcb_glx_context_tag_t context_tag;
2730     uint32_t              target;
2731     uint32_t              format;
2732     uint32_t              type;
2733     uint8_t               swap_bytes;
2734     uint8_t               reset;
2735 } xcb_glx_get_histogram_request_t;
2736 
2737 /**
2738  * @brief xcb_glx_get_histogram_reply_t
2739  **/
2740 typedef struct xcb_glx_get_histogram_reply_t {
2741     uint8_t  response_type;
2742     uint8_t  pad0;
2743     uint16_t sequence;
2744     uint32_t length;
2745     uint8_t  pad1[8];
2746     int32_t  width;
2747     uint8_t  pad2[12];
2748 } xcb_glx_get_histogram_reply_t;
2749 
2750 /**
2751  * @brief xcb_glx_get_histogram_parameterfv_cookie_t
2752  **/
2753 typedef struct xcb_glx_get_histogram_parameterfv_cookie_t {
2754     unsigned int sequence;
2755 } xcb_glx_get_histogram_parameterfv_cookie_t;
2756 
2757 /** Opcode for xcb_glx_get_histogram_parameterfv. */
2758 #define XCB_GLX_GET_HISTOGRAM_PARAMETERFV 155
2759 
2760 /**
2761  * @brief xcb_glx_get_histogram_parameterfv_request_t
2762  **/
2763 typedef struct xcb_glx_get_histogram_parameterfv_request_t {
2764     uint8_t               major_opcode;
2765     uint8_t               minor_opcode;
2766     uint16_t              length;
2767     xcb_glx_context_tag_t context_tag;
2768     uint32_t              target;
2769     uint32_t              pname;
2770 } xcb_glx_get_histogram_parameterfv_request_t;
2771 
2772 /**
2773  * @brief xcb_glx_get_histogram_parameterfv_reply_t
2774  **/
2775 typedef struct xcb_glx_get_histogram_parameterfv_reply_t {
2776     uint8_t           response_type;
2777     uint8_t           pad0;
2778     uint16_t          sequence;
2779     uint32_t          length;
2780     uint8_t           pad1[4];
2781     uint32_t          n;
2782     xcb_glx_float32_t datum;
2783     uint8_t           pad2[12];
2784 } xcb_glx_get_histogram_parameterfv_reply_t;
2785 
2786 /**
2787  * @brief xcb_glx_get_histogram_parameteriv_cookie_t
2788  **/
2789 typedef struct xcb_glx_get_histogram_parameteriv_cookie_t {
2790     unsigned int sequence;
2791 } xcb_glx_get_histogram_parameteriv_cookie_t;
2792 
2793 /** Opcode for xcb_glx_get_histogram_parameteriv. */
2794 #define XCB_GLX_GET_HISTOGRAM_PARAMETERIV 156
2795 
2796 /**
2797  * @brief xcb_glx_get_histogram_parameteriv_request_t
2798  **/
2799 typedef struct xcb_glx_get_histogram_parameteriv_request_t {
2800     uint8_t               major_opcode;
2801     uint8_t               minor_opcode;
2802     uint16_t              length;
2803     xcb_glx_context_tag_t context_tag;
2804     uint32_t              target;
2805     uint32_t              pname;
2806 } xcb_glx_get_histogram_parameteriv_request_t;
2807 
2808 /**
2809  * @brief xcb_glx_get_histogram_parameteriv_reply_t
2810  **/
2811 typedef struct xcb_glx_get_histogram_parameteriv_reply_t {
2812     uint8_t  response_type;
2813     uint8_t  pad0;
2814     uint16_t sequence;
2815     uint32_t length;
2816     uint8_t  pad1[4];
2817     uint32_t n;
2818     int32_t  datum;
2819     uint8_t  pad2[12];
2820 } xcb_glx_get_histogram_parameteriv_reply_t;
2821 
2822 /**
2823  * @brief xcb_glx_get_minmax_cookie_t
2824  **/
2825 typedef struct xcb_glx_get_minmax_cookie_t {
2826     unsigned int sequence;
2827 } xcb_glx_get_minmax_cookie_t;
2828 
2829 /** Opcode for xcb_glx_get_minmax. */
2830 #define XCB_GLX_GET_MINMAX 157
2831 
2832 /**
2833  * @brief xcb_glx_get_minmax_request_t
2834  **/
2835 typedef struct xcb_glx_get_minmax_request_t {
2836     uint8_t               major_opcode;
2837     uint8_t               minor_opcode;
2838     uint16_t              length;
2839     xcb_glx_context_tag_t context_tag;
2840     uint32_t              target;
2841     uint32_t              format;
2842     uint32_t              type;
2843     uint8_t               swap_bytes;
2844     uint8_t               reset;
2845 } xcb_glx_get_minmax_request_t;
2846 
2847 /**
2848  * @brief xcb_glx_get_minmax_reply_t
2849  **/
2850 typedef struct xcb_glx_get_minmax_reply_t {
2851     uint8_t  response_type;
2852     uint8_t  pad0;
2853     uint16_t sequence;
2854     uint32_t length;
2855     uint8_t  pad1[24];
2856 } xcb_glx_get_minmax_reply_t;
2857 
2858 /**
2859  * @brief xcb_glx_get_minmax_parameterfv_cookie_t
2860  **/
2861 typedef struct xcb_glx_get_minmax_parameterfv_cookie_t {
2862     unsigned int sequence;
2863 } xcb_glx_get_minmax_parameterfv_cookie_t;
2864 
2865 /** Opcode for xcb_glx_get_minmax_parameterfv. */
2866 #define XCB_GLX_GET_MINMAX_PARAMETERFV 158
2867 
2868 /**
2869  * @brief xcb_glx_get_minmax_parameterfv_request_t
2870  **/
2871 typedef struct xcb_glx_get_minmax_parameterfv_request_t {
2872     uint8_t               major_opcode;
2873     uint8_t               minor_opcode;
2874     uint16_t              length;
2875     xcb_glx_context_tag_t context_tag;
2876     uint32_t              target;
2877     uint32_t              pname;
2878 } xcb_glx_get_minmax_parameterfv_request_t;
2879 
2880 /**
2881  * @brief xcb_glx_get_minmax_parameterfv_reply_t
2882  **/
2883 typedef struct xcb_glx_get_minmax_parameterfv_reply_t {
2884     uint8_t           response_type;
2885     uint8_t           pad0;
2886     uint16_t          sequence;
2887     uint32_t          length;
2888     uint8_t           pad1[4];
2889     uint32_t          n;
2890     xcb_glx_float32_t datum;
2891     uint8_t           pad2[12];
2892 } xcb_glx_get_minmax_parameterfv_reply_t;
2893 
2894 /**
2895  * @brief xcb_glx_get_minmax_parameteriv_cookie_t
2896  **/
2897 typedef struct xcb_glx_get_minmax_parameteriv_cookie_t {
2898     unsigned int sequence;
2899 } xcb_glx_get_minmax_parameteriv_cookie_t;
2900 
2901 /** Opcode for xcb_glx_get_minmax_parameteriv. */
2902 #define XCB_GLX_GET_MINMAX_PARAMETERIV 159
2903 
2904 /**
2905  * @brief xcb_glx_get_minmax_parameteriv_request_t
2906  **/
2907 typedef struct xcb_glx_get_minmax_parameteriv_request_t {
2908     uint8_t               major_opcode;
2909     uint8_t               minor_opcode;
2910     uint16_t              length;
2911     xcb_glx_context_tag_t context_tag;
2912     uint32_t              target;
2913     uint32_t              pname;
2914 } xcb_glx_get_minmax_parameteriv_request_t;
2915 
2916 /**
2917  * @brief xcb_glx_get_minmax_parameteriv_reply_t
2918  **/
2919 typedef struct xcb_glx_get_minmax_parameteriv_reply_t {
2920     uint8_t  response_type;
2921     uint8_t  pad0;
2922     uint16_t sequence;
2923     uint32_t length;
2924     uint8_t  pad1[4];
2925     uint32_t n;
2926     int32_t  datum;
2927     uint8_t  pad2[12];
2928 } xcb_glx_get_minmax_parameteriv_reply_t;
2929 
2930 /**
2931  * @brief xcb_glx_get_compressed_tex_image_arb_cookie_t
2932  **/
2933 typedef struct xcb_glx_get_compressed_tex_image_arb_cookie_t {
2934     unsigned int sequence;
2935 } xcb_glx_get_compressed_tex_image_arb_cookie_t;
2936 
2937 /** Opcode for xcb_glx_get_compressed_tex_image_arb. */
2938 #define XCB_GLX_GET_COMPRESSED_TEX_IMAGE_ARB 160
2939 
2940 /**
2941  * @brief xcb_glx_get_compressed_tex_image_arb_request_t
2942  **/
2943 typedef struct xcb_glx_get_compressed_tex_image_arb_request_t {
2944     uint8_t               major_opcode;
2945     uint8_t               minor_opcode;
2946     uint16_t              length;
2947     xcb_glx_context_tag_t context_tag;
2948     uint32_t              target;
2949     int32_t               level;
2950 } xcb_glx_get_compressed_tex_image_arb_request_t;
2951 
2952 /**
2953  * @brief xcb_glx_get_compressed_tex_image_arb_reply_t
2954  **/
2955 typedef struct xcb_glx_get_compressed_tex_image_arb_reply_t {
2956     uint8_t  response_type;
2957     uint8_t  pad0;
2958     uint16_t sequence;
2959     uint32_t length;
2960     uint8_t  pad1[8];
2961     int32_t  size;
2962     uint8_t  pad2[12];
2963 } xcb_glx_get_compressed_tex_image_arb_reply_t;
2964 
2965 /** Opcode for xcb_glx_delete_queries_arb. */
2966 #define XCB_GLX_DELETE_QUERIES_ARB 161
2967 
2968 /**
2969  * @brief xcb_glx_delete_queries_arb_request_t
2970  **/
2971 typedef struct xcb_glx_delete_queries_arb_request_t {
2972     uint8_t               major_opcode;
2973     uint8_t               minor_opcode;
2974     uint16_t              length;
2975     xcb_glx_context_tag_t context_tag;
2976     int32_t               n;
2977 } xcb_glx_delete_queries_arb_request_t;
2978 
2979 /**
2980  * @brief xcb_glx_gen_queries_arb_cookie_t
2981  **/
2982 typedef struct xcb_glx_gen_queries_arb_cookie_t {
2983     unsigned int sequence;
2984 } xcb_glx_gen_queries_arb_cookie_t;
2985 
2986 /** Opcode for xcb_glx_gen_queries_arb. */
2987 #define XCB_GLX_GEN_QUERIES_ARB 162
2988 
2989 /**
2990  * @brief xcb_glx_gen_queries_arb_request_t
2991  **/
2992 typedef struct xcb_glx_gen_queries_arb_request_t {
2993     uint8_t               major_opcode;
2994     uint8_t               minor_opcode;
2995     uint16_t              length;
2996     xcb_glx_context_tag_t context_tag;
2997     int32_t               n;
2998 } xcb_glx_gen_queries_arb_request_t;
2999 
3000 /**
3001  * @brief xcb_glx_gen_queries_arb_reply_t
3002  **/
3003 typedef struct xcb_glx_gen_queries_arb_reply_t {
3004     uint8_t  response_type;
3005     uint8_t  pad0;
3006     uint16_t sequence;
3007     uint32_t length;
3008     uint8_t  pad1[24];
3009 } xcb_glx_gen_queries_arb_reply_t;
3010 
3011 /**
3012  * @brief xcb_glx_is_query_arb_cookie_t
3013  **/
3014 typedef struct xcb_glx_is_query_arb_cookie_t {
3015     unsigned int sequence;
3016 } xcb_glx_is_query_arb_cookie_t;
3017 
3018 /** Opcode for xcb_glx_is_query_arb. */
3019 #define XCB_GLX_IS_QUERY_ARB 163
3020 
3021 /**
3022  * @brief xcb_glx_is_query_arb_request_t
3023  **/
3024 typedef struct xcb_glx_is_query_arb_request_t {
3025     uint8_t               major_opcode;
3026     uint8_t               minor_opcode;
3027     uint16_t              length;
3028     xcb_glx_context_tag_t context_tag;
3029     uint32_t              id;
3030 } xcb_glx_is_query_arb_request_t;
3031 
3032 /**
3033  * @brief xcb_glx_is_query_arb_reply_t
3034  **/
3035 typedef struct xcb_glx_is_query_arb_reply_t {
3036     uint8_t          response_type;
3037     uint8_t          pad0;
3038     uint16_t         sequence;
3039     uint32_t         length;
3040     xcb_glx_bool32_t ret_val;
3041 } xcb_glx_is_query_arb_reply_t;
3042 
3043 /**
3044  * @brief xcb_glx_get_queryiv_arb_cookie_t
3045  **/
3046 typedef struct xcb_glx_get_queryiv_arb_cookie_t {
3047     unsigned int sequence;
3048 } xcb_glx_get_queryiv_arb_cookie_t;
3049 
3050 /** Opcode for xcb_glx_get_queryiv_arb. */
3051 #define XCB_GLX_GET_QUERYIV_ARB 164
3052 
3053 /**
3054  * @brief xcb_glx_get_queryiv_arb_request_t
3055  **/
3056 typedef struct xcb_glx_get_queryiv_arb_request_t {
3057     uint8_t               major_opcode;
3058     uint8_t               minor_opcode;
3059     uint16_t              length;
3060     xcb_glx_context_tag_t context_tag;
3061     uint32_t              target;
3062     uint32_t              pname;
3063 } xcb_glx_get_queryiv_arb_request_t;
3064 
3065 /**
3066  * @brief xcb_glx_get_queryiv_arb_reply_t
3067  **/
3068 typedef struct xcb_glx_get_queryiv_arb_reply_t {
3069     uint8_t  response_type;
3070     uint8_t  pad0;
3071     uint16_t sequence;
3072     uint32_t length;
3073     uint8_t  pad1[4];
3074     uint32_t n;
3075     int32_t  datum;
3076     uint8_t  pad2[12];
3077 } xcb_glx_get_queryiv_arb_reply_t;
3078 
3079 /**
3080  * @brief xcb_glx_get_query_objectiv_arb_cookie_t
3081  **/
3082 typedef struct xcb_glx_get_query_objectiv_arb_cookie_t {
3083     unsigned int sequence;
3084 } xcb_glx_get_query_objectiv_arb_cookie_t;
3085 
3086 /** Opcode for xcb_glx_get_query_objectiv_arb. */
3087 #define XCB_GLX_GET_QUERY_OBJECTIV_ARB 165
3088 
3089 /**
3090  * @brief xcb_glx_get_query_objectiv_arb_request_t
3091  **/
3092 typedef struct xcb_glx_get_query_objectiv_arb_request_t {
3093     uint8_t               major_opcode;
3094     uint8_t               minor_opcode;
3095     uint16_t              length;
3096     xcb_glx_context_tag_t context_tag;
3097     uint32_t              id;
3098     uint32_t              pname;
3099 } xcb_glx_get_query_objectiv_arb_request_t;
3100 
3101 /**
3102  * @brief xcb_glx_get_query_objectiv_arb_reply_t
3103  **/
3104 typedef struct xcb_glx_get_query_objectiv_arb_reply_t {
3105     uint8_t  response_type;
3106     uint8_t  pad0;
3107     uint16_t sequence;
3108     uint32_t length;
3109     uint8_t  pad1[4];
3110     uint32_t n;
3111     int32_t  datum;
3112     uint8_t  pad2[12];
3113 } xcb_glx_get_query_objectiv_arb_reply_t;
3114 
3115 /**
3116  * @brief xcb_glx_get_query_objectuiv_arb_cookie_t
3117  **/
3118 typedef struct xcb_glx_get_query_objectuiv_arb_cookie_t {
3119     unsigned int sequence;
3120 } xcb_glx_get_query_objectuiv_arb_cookie_t;
3121 
3122 /** Opcode for xcb_glx_get_query_objectuiv_arb. */
3123 #define XCB_GLX_GET_QUERY_OBJECTUIV_ARB 166
3124 
3125 /**
3126  * @brief xcb_glx_get_query_objectuiv_arb_request_t
3127  **/
3128 typedef struct xcb_glx_get_query_objectuiv_arb_request_t {
3129     uint8_t               major_opcode;
3130     uint8_t               minor_opcode;
3131     uint16_t              length;
3132     xcb_glx_context_tag_t context_tag;
3133     uint32_t              id;
3134     uint32_t              pname;
3135 } xcb_glx_get_query_objectuiv_arb_request_t;
3136 
3137 /**
3138  * @brief xcb_glx_get_query_objectuiv_arb_reply_t
3139  **/
3140 typedef struct xcb_glx_get_query_objectuiv_arb_reply_t {
3141     uint8_t  response_type;
3142     uint8_t  pad0;
3143     uint16_t sequence;
3144     uint32_t length;
3145     uint8_t  pad1[4];
3146     uint32_t n;
3147     uint32_t datum;
3148     uint8_t  pad2[12];
3149 } xcb_glx_get_query_objectuiv_arb_reply_t;
3150 
3151 /**
3152  * Get the next element of the iterator
3153  * @param i Pointer to a xcb_glx_pixmap_iterator_t
3154  *
3155  * Get the next element in the iterator. The member rem is
3156  * decreased by one. The member data points to the next
3157  * element. The member index is increased by sizeof(xcb_glx_pixmap_t)
3158  */
3159 void
3160 xcb_glx_pixmap_next (xcb_glx_pixmap_iterator_t *i);
3161 
3162 /**
3163  * Return the iterator pointing to the last element
3164  * @param i An xcb_glx_pixmap_iterator_t
3165  * @return  The iterator pointing to the last element
3166  *
3167  * Set the current element in the iterator to the last element.
3168  * The member rem is set to 0. The member data points to the
3169  * last element.
3170  */
3171 xcb_generic_iterator_t
3172 xcb_glx_pixmap_end (xcb_glx_pixmap_iterator_t i);
3173 
3174 /**
3175  * Get the next element of the iterator
3176  * @param i Pointer to a xcb_glx_context_iterator_t
3177  *
3178  * Get the next element in the iterator. The member rem is
3179  * decreased by one. The member data points to the next
3180  * element. The member index is increased by sizeof(xcb_glx_context_t)
3181  */
3182 void
3183 xcb_glx_context_next (xcb_glx_context_iterator_t *i);
3184 
3185 /**
3186  * Return the iterator pointing to the last element
3187  * @param i An xcb_glx_context_iterator_t
3188  * @return  The iterator pointing to the last element
3189  *
3190  * Set the current element in the iterator to the last element.
3191  * The member rem is set to 0. The member data points to the
3192  * last element.
3193  */
3194 xcb_generic_iterator_t
3195 xcb_glx_context_end (xcb_glx_context_iterator_t i);
3196 
3197 /**
3198  * Get the next element of the iterator
3199  * @param i Pointer to a xcb_glx_pbuffer_iterator_t
3200  *
3201  * Get the next element in the iterator. The member rem is
3202  * decreased by one. The member data points to the next
3203  * element. The member index is increased by sizeof(xcb_glx_pbuffer_t)
3204  */
3205 void
3206 xcb_glx_pbuffer_next (xcb_glx_pbuffer_iterator_t *i);
3207 
3208 /**
3209  * Return the iterator pointing to the last element
3210  * @param i An xcb_glx_pbuffer_iterator_t
3211  * @return  The iterator pointing to the last element
3212  *
3213  * Set the current element in the iterator to the last element.
3214  * The member rem is set to 0. The member data points to the
3215  * last element.
3216  */
3217 xcb_generic_iterator_t
3218 xcb_glx_pbuffer_end (xcb_glx_pbuffer_iterator_t i);
3219 
3220 /**
3221  * Get the next element of the iterator
3222  * @param i Pointer to a xcb_glx_window_iterator_t
3223  *
3224  * Get the next element in the iterator. The member rem is
3225  * decreased by one. The member data points to the next
3226  * element. The member index is increased by sizeof(xcb_glx_window_t)
3227  */
3228 void
3229 xcb_glx_window_next (xcb_glx_window_iterator_t *i);
3230 
3231 /**
3232  * Return the iterator pointing to the last element
3233  * @param i An xcb_glx_window_iterator_t
3234  * @return  The iterator pointing to the last element
3235  *
3236  * Set the current element in the iterator to the last element.
3237  * The member rem is set to 0. The member data points to the
3238  * last element.
3239  */
3240 xcb_generic_iterator_t
3241 xcb_glx_window_end (xcb_glx_window_iterator_t i);
3242 
3243 /**
3244  * Get the next element of the iterator
3245  * @param i Pointer to a xcb_glx_fbconfig_iterator_t
3246  *
3247  * Get the next element in the iterator. The member rem is
3248  * decreased by one. The member data points to the next
3249  * element. The member index is increased by sizeof(xcb_glx_fbconfig_t)
3250  */
3251 void
3252 xcb_glx_fbconfig_next (xcb_glx_fbconfig_iterator_t *i);
3253 
3254 /**
3255  * Return the iterator pointing to the last element
3256  * @param i An xcb_glx_fbconfig_iterator_t
3257  * @return  The iterator pointing to the last element
3258  *
3259  * Set the current element in the iterator to the last element.
3260  * The member rem is set to 0. The member data points to the
3261  * last element.
3262  */
3263 xcb_generic_iterator_t
3264 xcb_glx_fbconfig_end (xcb_glx_fbconfig_iterator_t i);
3265 
3266 /**
3267  * Get the next element of the iterator
3268  * @param i Pointer to a xcb_glx_drawable_iterator_t
3269  *
3270  * Get the next element in the iterator. The member rem is
3271  * decreased by one. The member data points to the next
3272  * element. The member index is increased by sizeof(xcb_glx_drawable_t)
3273  */
3274 void
3275 xcb_glx_drawable_next (xcb_glx_drawable_iterator_t *i);
3276 
3277 /**
3278  * Return the iterator pointing to the last element
3279  * @param i An xcb_glx_drawable_iterator_t
3280  * @return  The iterator pointing to the last element
3281  *
3282  * Set the current element in the iterator to the last element.
3283  * The member rem is set to 0. The member data points to the
3284  * last element.
3285  */
3286 xcb_generic_iterator_t
3287 xcb_glx_drawable_end (xcb_glx_drawable_iterator_t i);
3288 
3289 /**
3290  * Get the next element of the iterator
3291  * @param i Pointer to a xcb_glx_float32_iterator_t
3292  *
3293  * Get the next element in the iterator. The member rem is
3294  * decreased by one. The member data points to the next
3295  * element. The member index is increased by sizeof(xcb_glx_float32_t)
3296  */
3297 void
3298 xcb_glx_float32_next (xcb_glx_float32_iterator_t *i);
3299 
3300 /**
3301  * Return the iterator pointing to the last element
3302  * @param i An xcb_glx_float32_iterator_t
3303  * @return  The iterator pointing to the last element
3304  *
3305  * Set the current element in the iterator to the last element.
3306  * The member rem is set to 0. The member data points to the
3307  * last element.
3308  */
3309 xcb_generic_iterator_t
3310 xcb_glx_float32_end (xcb_glx_float32_iterator_t i);
3311 
3312 /**
3313  * Get the next element of the iterator
3314  * @param i Pointer to a xcb_glx_float64_iterator_t
3315  *
3316  * Get the next element in the iterator. The member rem is
3317  * decreased by one. The member data points to the next
3318  * element. The member index is increased by sizeof(xcb_glx_float64_t)
3319  */
3320 void
3321 xcb_glx_float64_next (xcb_glx_float64_iterator_t *i);
3322 
3323 /**
3324  * Return the iterator pointing to the last element
3325  * @param i An xcb_glx_float64_iterator_t
3326  * @return  The iterator pointing to the last element
3327  *
3328  * Set the current element in the iterator to the last element.
3329  * The member rem is set to 0. The member data points to the
3330  * last element.
3331  */
3332 xcb_generic_iterator_t
3333 xcb_glx_float64_end (xcb_glx_float64_iterator_t i);
3334 
3335 /**
3336  * Get the next element of the iterator
3337  * @param i Pointer to a xcb_glx_bool32_iterator_t
3338  *
3339  * Get the next element in the iterator. The member rem is
3340  * decreased by one. The member data points to the next
3341  * element. The member index is increased by sizeof(xcb_glx_bool32_t)
3342  */
3343 void
3344 xcb_glx_bool32_next (xcb_glx_bool32_iterator_t *i);
3345 
3346 /**
3347  * Return the iterator pointing to the last element
3348  * @param i An xcb_glx_bool32_iterator_t
3349  * @return  The iterator pointing to the last element
3350  *
3351  * Set the current element in the iterator to the last element.
3352  * The member rem is set to 0. The member data points to the
3353  * last element.
3354  */
3355 xcb_generic_iterator_t
3356 xcb_glx_bool32_end (xcb_glx_bool32_iterator_t i);
3357 
3358 /**
3359  * Get the next element of the iterator
3360  * @param i Pointer to a xcb_glx_context_tag_iterator_t
3361  *
3362  * Get the next element in the iterator. The member rem is
3363  * decreased by one. The member data points to the next
3364  * element. The member index is increased by sizeof(xcb_glx_context_tag_t)
3365  */
3366 void
3367 xcb_glx_context_tag_next (xcb_glx_context_tag_iterator_t *i);
3368 
3369 /**
3370  * Return the iterator pointing to the last element
3371  * @param i An xcb_glx_context_tag_iterator_t
3372  * @return  The iterator pointing to the last element
3373  *
3374  * Set the current element in the iterator to the last element.
3375  * The member rem is set to 0. The member data points to the
3376  * last element.
3377  */
3378 xcb_generic_iterator_t
3379 xcb_glx_context_tag_end (xcb_glx_context_tag_iterator_t i);
3380 
3381 int
3382 xcb_glx_render_sizeof (const void  *_buffer,
3383                        uint32_t     data_len);
3384 
3385 /**
3386  *
3387  * @param c The connection
3388  * @return A cookie
3389  *
3390  * Delivers a request to the X server.
3391  *
3392  * This form can be used only if the request will not cause
3393  * a reply to be generated. Any returned error will be
3394  * saved for handling by xcb_request_check().
3395  */
3396 xcb_void_cookie_t
3397 xcb_glx_render_checked (xcb_connection_t      *c,
3398                         xcb_glx_context_tag_t  context_tag,
3399                         uint32_t               data_len,
3400                         const uint8_t         *data);
3401 
3402 /**
3403  *
3404  * @param c The connection
3405  * @return A cookie
3406  *
3407  * Delivers a request to the X server.
3408  *
3409  */
3410 xcb_void_cookie_t
3411 xcb_glx_render (xcb_connection_t      *c,
3412                 xcb_glx_context_tag_t  context_tag,
3413                 uint32_t               data_len,
3414                 const uint8_t         *data);
3415 
3416 uint8_t *
3417 xcb_glx_render_data (const xcb_glx_render_request_t *R);
3418 
3419 int
3420 xcb_glx_render_data_length (const xcb_glx_render_request_t *R);
3421 
3422 xcb_generic_iterator_t
3423 xcb_glx_render_data_end (const xcb_glx_render_request_t *R);
3424 
3425 int
3426 xcb_glx_render_large_sizeof (const void  *_buffer);
3427 
3428 /**
3429  *
3430  * @param c The connection
3431  * @return A cookie
3432  *
3433  * Delivers a request to the X server.
3434  *
3435  * This form can be used only if the request will not cause
3436  * a reply to be generated. Any returned error will be
3437  * saved for handling by xcb_request_check().
3438  */
3439 xcb_void_cookie_t
3440 xcb_glx_render_large_checked (xcb_connection_t      *c,
3441                               xcb_glx_context_tag_t  context_tag,
3442                               uint16_t               request_num,
3443                               uint16_t               request_total,
3444                               uint32_t               data_len,
3445                               const uint8_t         *data);
3446 
3447 /**
3448  *
3449  * @param c The connection
3450  * @return A cookie
3451  *
3452  * Delivers a request to the X server.
3453  *
3454  */
3455 xcb_void_cookie_t
3456 xcb_glx_render_large (xcb_connection_t      *c,
3457                       xcb_glx_context_tag_t  context_tag,
3458                       uint16_t               request_num,
3459                       uint16_t               request_total,
3460                       uint32_t               data_len,
3461                       const uint8_t         *data);
3462 
3463 uint8_t *
3464 xcb_glx_render_large_data (const xcb_glx_render_large_request_t *R);
3465 
3466 int
3467 xcb_glx_render_large_data_length (const xcb_glx_render_large_request_t *R);
3468 
3469 xcb_generic_iterator_t
3470 xcb_glx_render_large_data_end (const xcb_glx_render_large_request_t *R);
3471 
3472 /**
3473  *
3474  * @param c The connection
3475  * @return A cookie
3476  *
3477  * Delivers a request to the X server.
3478  *
3479  * This form can be used only if the request will not cause
3480  * a reply to be generated. Any returned error will be
3481  * saved for handling by xcb_request_check().
3482  */
3483 xcb_void_cookie_t
3484 xcb_glx_create_context_checked (xcb_connection_t  *c,
3485                                 xcb_glx_context_t  context,
3486                                 xcb_visualid_t     visual,
3487                                 uint32_t           screen,
3488                                 xcb_glx_context_t  share_list,
3489                                 uint8_t            is_direct);
3490 
3491 /**
3492  *
3493  * @param c The connection
3494  * @return A cookie
3495  *
3496  * Delivers a request to the X server.
3497  *
3498  */
3499 xcb_void_cookie_t
3500 xcb_glx_create_context (xcb_connection_t  *c,
3501                         xcb_glx_context_t  context,
3502                         xcb_visualid_t     visual,
3503                         uint32_t           screen,
3504                         xcb_glx_context_t  share_list,
3505                         uint8_t            is_direct);
3506 
3507 /**
3508  *
3509  * @param c The connection
3510  * @return A cookie
3511  *
3512  * Delivers a request to the X server.
3513  *
3514  * This form can be used only if the request will not cause
3515  * a reply to be generated. Any returned error will be
3516  * saved for handling by xcb_request_check().
3517  */
3518 xcb_void_cookie_t
3519 xcb_glx_destroy_context_checked (xcb_connection_t  *c,
3520                                  xcb_glx_context_t  context);
3521 
3522 /**
3523  *
3524  * @param c The connection
3525  * @return A cookie
3526  *
3527  * Delivers a request to the X server.
3528  *
3529  */
3530 xcb_void_cookie_t
3531 xcb_glx_destroy_context (xcb_connection_t  *c,
3532                          xcb_glx_context_t  context);
3533 
3534 /**
3535  *
3536  * @param c The connection
3537  * @return A cookie
3538  *
3539  * Delivers a request to the X server.
3540  *
3541  */
3542 xcb_glx_make_current_cookie_t
3543 xcb_glx_make_current (xcb_connection_t      *c,
3544                       xcb_glx_drawable_t     drawable,
3545                       xcb_glx_context_t      context,
3546                       xcb_glx_context_tag_t  old_context_tag);
3547 
3548 /**
3549  *
3550  * @param c The connection
3551  * @return A cookie
3552  *
3553  * Delivers a request to the X server.
3554  *
3555  * This form can be used only if the request will cause
3556  * a reply to be generated. Any returned error will be
3557  * placed in the event queue.
3558  */
3559 xcb_glx_make_current_cookie_t
3560 xcb_glx_make_current_unchecked (xcb_connection_t      *c,
3561                                 xcb_glx_drawable_t     drawable,
3562                                 xcb_glx_context_t      context,
3563                                 xcb_glx_context_tag_t  old_context_tag);
3564 
3565 /**
3566  * Return the reply
3567  * @param c      The connection
3568  * @param cookie The cookie
3569  * @param e      The xcb_generic_error_t supplied
3570  *
3571  * Returns the reply of the request asked by
3572  *
3573  * The parameter @p e supplied to this function must be NULL if
3574  * xcb_glx_make_current_unchecked(). is used.
3575  * Otherwise, it stores the error if any.
3576  *
3577  * The returned value must be freed by the caller using free().
3578  */
3579 xcb_glx_make_current_reply_t *
3580 xcb_glx_make_current_reply (xcb_connection_t               *c,
3581                             xcb_glx_make_current_cookie_t   cookie  /**< */,
3582                             xcb_generic_error_t           **e);
3583 
3584 /**
3585  *
3586  * @param c The connection
3587  * @return A cookie
3588  *
3589  * Delivers a request to the X server.
3590  *
3591  */
3592 xcb_glx_is_direct_cookie_t
3593 xcb_glx_is_direct (xcb_connection_t  *c,
3594                    xcb_glx_context_t  context);
3595 
3596 /**
3597  *
3598  * @param c The connection
3599  * @return A cookie
3600  *
3601  * Delivers a request to the X server.
3602  *
3603  * This form can be used only if the request will cause
3604  * a reply to be generated. Any returned error will be
3605  * placed in the event queue.
3606  */
3607 xcb_glx_is_direct_cookie_t
3608 xcb_glx_is_direct_unchecked (xcb_connection_t  *c,
3609                              xcb_glx_context_t  context);
3610 
3611 /**
3612  * Return the reply
3613  * @param c      The connection
3614  * @param cookie The cookie
3615  * @param e      The xcb_generic_error_t supplied
3616  *
3617  * Returns the reply of the request asked by
3618  *
3619  * The parameter @p e supplied to this function must be NULL if
3620  * xcb_glx_is_direct_unchecked(). is used.
3621  * Otherwise, it stores the error if any.
3622  *
3623  * The returned value must be freed by the caller using free().
3624  */
3625 xcb_glx_is_direct_reply_t *
3626 xcb_glx_is_direct_reply (xcb_connection_t            *c,
3627                          xcb_glx_is_direct_cookie_t   cookie  /**< */,
3628                          xcb_generic_error_t        **e);
3629 
3630 /**
3631  *
3632  * @param c The connection
3633  * @return A cookie
3634  *
3635  * Delivers a request to the X server.
3636  *
3637  */
3638 xcb_glx_query_version_cookie_t
3639 xcb_glx_query_version (xcb_connection_t *c,
3640                        uint32_t          major_version,
3641                        uint32_t          minor_version);
3642 
3643 /**
3644  *
3645  * @param c The connection
3646  * @return A cookie
3647  *
3648  * Delivers a request to the X server.
3649  *
3650  * This form can be used only if the request will cause
3651  * a reply to be generated. Any returned error will be
3652  * placed in the event queue.
3653  */
3654 xcb_glx_query_version_cookie_t
3655 xcb_glx_query_version_unchecked (xcb_connection_t *c,
3656                                  uint32_t          major_version,
3657                                  uint32_t          minor_version);
3658 
3659 /**
3660  * Return the reply
3661  * @param c      The connection
3662  * @param cookie The cookie
3663  * @param e      The xcb_generic_error_t supplied
3664  *
3665  * Returns the reply of the request asked by
3666  *
3667  * The parameter @p e supplied to this function must be NULL if
3668  * xcb_glx_query_version_unchecked(). is used.
3669  * Otherwise, it stores the error if any.
3670  *
3671  * The returned value must be freed by the caller using free().
3672  */
3673 xcb_glx_query_version_reply_t *
3674 xcb_glx_query_version_reply (xcb_connection_t                *c,
3675                              xcb_glx_query_version_cookie_t   cookie  /**< */,
3676                              xcb_generic_error_t            **e);
3677 
3678 /**
3679  *
3680  * @param c The connection
3681  * @return A cookie
3682  *
3683  * Delivers a request to the X server.
3684  *
3685  * This form can be used only if the request will not cause
3686  * a reply to be generated. Any returned error will be
3687  * saved for handling by xcb_request_check().
3688  */
3689 xcb_void_cookie_t
3690 xcb_glx_wait_gl_checked (xcb_connection_t      *c,
3691                          xcb_glx_context_tag_t  context_tag);
3692 
3693 /**
3694  *
3695  * @param c The connection
3696  * @return A cookie
3697  *
3698  * Delivers a request to the X server.
3699  *
3700  */
3701 xcb_void_cookie_t
3702 xcb_glx_wait_gl (xcb_connection_t      *c,
3703                  xcb_glx_context_tag_t  context_tag);
3704 
3705 /**
3706  *
3707  * @param c The connection
3708  * @return A cookie
3709  *
3710  * Delivers a request to the X server.
3711  *
3712  * This form can be used only if the request will not cause
3713  * a reply to be generated. Any returned error will be
3714  * saved for handling by xcb_request_check().
3715  */
3716 xcb_void_cookie_t
3717 xcb_glx_wait_x_checked (xcb_connection_t      *c,
3718                         xcb_glx_context_tag_t  context_tag);
3719 
3720 /**
3721  *
3722  * @param c The connection
3723  * @return A cookie
3724  *
3725  * Delivers a request to the X server.
3726  *
3727  */
3728 xcb_void_cookie_t
3729 xcb_glx_wait_x (xcb_connection_t      *c,
3730                 xcb_glx_context_tag_t  context_tag);
3731 
3732 /**
3733  *
3734  * @param c The connection
3735  * @return A cookie
3736  *
3737  * Delivers a request to the X server.
3738  *
3739  * This form can be used only if the request will not cause
3740  * a reply to be generated. Any returned error will be
3741  * saved for handling by xcb_request_check().
3742  */
3743 xcb_void_cookie_t
3744 xcb_glx_copy_context_checked (xcb_connection_t      *c,
3745                               xcb_glx_context_t      src,
3746                               xcb_glx_context_t      dest,
3747                               uint32_t               mask,
3748                               xcb_glx_context_tag_t  src_context_tag);
3749 
3750 /**
3751  *
3752  * @param c The connection
3753  * @return A cookie
3754  *
3755  * Delivers a request to the X server.
3756  *
3757  */
3758 xcb_void_cookie_t
3759 xcb_glx_copy_context (xcb_connection_t      *c,
3760                       xcb_glx_context_t      src,
3761                       xcb_glx_context_t      dest,
3762                       uint32_t               mask,
3763                       xcb_glx_context_tag_t  src_context_tag);
3764 
3765 /**
3766  *
3767  * @param c The connection
3768  * @return A cookie
3769  *
3770  * Delivers a request to the X server.
3771  *
3772  * This form can be used only if the request will not cause
3773  * a reply to be generated. Any returned error will be
3774  * saved for handling by xcb_request_check().
3775  */
3776 xcb_void_cookie_t
3777 xcb_glx_swap_buffers_checked (xcb_connection_t      *c,
3778                               xcb_glx_context_tag_t  context_tag,
3779                               xcb_glx_drawable_t     drawable);
3780 
3781 /**
3782  *
3783  * @param c The connection
3784  * @return A cookie
3785  *
3786  * Delivers a request to the X server.
3787  *
3788  */
3789 xcb_void_cookie_t
3790 xcb_glx_swap_buffers (xcb_connection_t      *c,
3791                       xcb_glx_context_tag_t  context_tag,
3792                       xcb_glx_drawable_t     drawable);
3793 
3794 /**
3795  *
3796  * @param c The connection
3797  * @return A cookie
3798  *
3799  * Delivers a request to the X server.
3800  *
3801  * This form can be used only if the request will not cause
3802  * a reply to be generated. Any returned error will be
3803  * saved for handling by xcb_request_check().
3804  */
3805 xcb_void_cookie_t
3806 xcb_glx_use_x_font_checked (xcb_connection_t      *c,
3807                             xcb_glx_context_tag_t  context_tag,
3808                             xcb_font_t             font,
3809                             uint32_t               first,
3810                             uint32_t               count,
3811                             uint32_t               list_base);
3812 
3813 /**
3814  *
3815  * @param c The connection
3816  * @return A cookie
3817  *
3818  * Delivers a request to the X server.
3819  *
3820  */
3821 xcb_void_cookie_t
3822 xcb_glx_use_x_font (xcb_connection_t      *c,
3823                     xcb_glx_context_tag_t  context_tag,
3824                     xcb_font_t             font,
3825                     uint32_t               first,
3826                     uint32_t               count,
3827                     uint32_t               list_base);
3828 
3829 /**
3830  *
3831  * @param c The connection
3832  * @return A cookie
3833  *
3834  * Delivers a request to the X server.
3835  *
3836  * This form can be used only if the request will not cause
3837  * a reply to be generated. Any returned error will be
3838  * saved for handling by xcb_request_check().
3839  */
3840 xcb_void_cookie_t
3841 xcb_glx_create_glx_pixmap_checked (xcb_connection_t *c,
3842                                    uint32_t          screen,
3843                                    xcb_visualid_t    visual,
3844                                    xcb_pixmap_t      pixmap,
3845                                    xcb_glx_pixmap_t  glx_pixmap);
3846 
3847 /**
3848  *
3849  * @param c The connection
3850  * @return A cookie
3851  *
3852  * Delivers a request to the X server.
3853  *
3854  */
3855 xcb_void_cookie_t
3856 xcb_glx_create_glx_pixmap (xcb_connection_t *c,
3857                            uint32_t          screen,
3858                            xcb_visualid_t    visual,
3859                            xcb_pixmap_t      pixmap,
3860                            xcb_glx_pixmap_t  glx_pixmap);
3861 
3862 int
3863 xcb_glx_get_visual_configs_sizeof (const void  *_buffer);
3864 
3865 /**
3866  *
3867  * @param c The connection
3868  * @return A cookie
3869  *
3870  * Delivers a request to the X server.
3871  *
3872  */
3873 xcb_glx_get_visual_configs_cookie_t
3874 xcb_glx_get_visual_configs (xcb_connection_t *c,
3875                             uint32_t          screen);
3876 
3877 /**
3878  *
3879  * @param c The connection
3880  * @return A cookie
3881  *
3882  * Delivers a request to the X server.
3883  *
3884  * This form can be used only if the request will cause
3885  * a reply to be generated. Any returned error will be
3886  * placed in the event queue.
3887  */
3888 xcb_glx_get_visual_configs_cookie_t
3889 xcb_glx_get_visual_configs_unchecked (xcb_connection_t *c,
3890                                       uint32_t          screen);
3891 
3892 uint32_t *
3893 xcb_glx_get_visual_configs_property_list (const xcb_glx_get_visual_configs_reply_t *R);
3894 
3895 int
3896 xcb_glx_get_visual_configs_property_list_length (const xcb_glx_get_visual_configs_reply_t *R);
3897 
3898 xcb_generic_iterator_t
3899 xcb_glx_get_visual_configs_property_list_end (const xcb_glx_get_visual_configs_reply_t *R);
3900 
3901 /**
3902  * Return the reply
3903  * @param c      The connection
3904  * @param cookie The cookie
3905  * @param e      The xcb_generic_error_t supplied
3906  *
3907  * Returns the reply of the request asked by
3908  *
3909  * The parameter @p e supplied to this function must be NULL if
3910  * xcb_glx_get_visual_configs_unchecked(). is used.
3911  * Otherwise, it stores the error if any.
3912  *
3913  * The returned value must be freed by the caller using free().
3914  */
3915 xcb_glx_get_visual_configs_reply_t *
3916 xcb_glx_get_visual_configs_reply (xcb_connection_t                     *c,
3917                                   xcb_glx_get_visual_configs_cookie_t   cookie  /**< */,
3918                                   xcb_generic_error_t                 **e);
3919 
3920 /**
3921  *
3922  * @param c The connection
3923  * @return A cookie
3924  *
3925  * Delivers a request to the X server.
3926  *
3927  * This form can be used only if the request will not cause
3928  * a reply to be generated. Any returned error will be
3929  * saved for handling by xcb_request_check().
3930  */
3931 xcb_void_cookie_t
3932 xcb_glx_destroy_glx_pixmap_checked (xcb_connection_t *c,
3933                                     xcb_glx_pixmap_t  glx_pixmap);
3934 
3935 /**
3936  *
3937  * @param c The connection
3938  * @return A cookie
3939  *
3940  * Delivers a request to the X server.
3941  *
3942  */
3943 xcb_void_cookie_t
3944 xcb_glx_destroy_glx_pixmap (xcb_connection_t *c,
3945                             xcb_glx_pixmap_t  glx_pixmap);
3946 
3947 int
3948 xcb_glx_vendor_private_sizeof (const void  *_buffer,
3949                                uint32_t     data_len);
3950 
3951 /**
3952  *
3953  * @param c The connection
3954  * @return A cookie
3955  *
3956  * Delivers a request to the X server.
3957  *
3958  * This form can be used only if the request will not cause
3959  * a reply to be generated. Any returned error will be
3960  * saved for handling by xcb_request_check().
3961  */
3962 xcb_void_cookie_t
3963 xcb_glx_vendor_private_checked (xcb_connection_t      *c,
3964                                 uint32_t               vendor_code,
3965                                 xcb_glx_context_tag_t  context_tag,
3966                                 uint32_t               data_len,
3967                                 const uint8_t         *data);
3968 
3969 /**
3970  *
3971  * @param c The connection
3972  * @return A cookie
3973  *
3974  * Delivers a request to the X server.
3975  *
3976  */
3977 xcb_void_cookie_t
3978 xcb_glx_vendor_private (xcb_connection_t      *c,
3979                         uint32_t               vendor_code,
3980                         xcb_glx_context_tag_t  context_tag,
3981                         uint32_t               data_len,
3982                         const uint8_t         *data);
3983 
3984 uint8_t *
3985 xcb_glx_vendor_private_data (const xcb_glx_vendor_private_request_t *R);
3986 
3987 int
3988 xcb_glx_vendor_private_data_length (const xcb_glx_vendor_private_request_t *R);
3989 
3990 xcb_generic_iterator_t
3991 xcb_glx_vendor_private_data_end (const xcb_glx_vendor_private_request_t *R);
3992 
3993 int
3994 xcb_glx_vendor_private_with_reply_sizeof (const void  *_buffer,
3995                                           uint32_t     data_len);
3996 
3997 /**
3998  *
3999  * @param c The connection
4000  * @return A cookie
4001  *
4002  * Delivers a request to the X server.
4003  *
4004  */
4005 xcb_glx_vendor_private_with_reply_cookie_t
4006 xcb_glx_vendor_private_with_reply (xcb_connection_t      *c,
4007                                    uint32_t               vendor_code,
4008                                    xcb_glx_context_tag_t  context_tag,
4009                                    uint32_t               data_len,
4010                                    const uint8_t         *data);
4011 
4012 /**
4013  *
4014  * @param c The connection
4015  * @return A cookie
4016  *
4017  * Delivers a request to the X server.
4018  *
4019  * This form can be used only if the request will cause
4020  * a reply to be generated. Any returned error will be
4021  * placed in the event queue.
4022  */
4023 xcb_glx_vendor_private_with_reply_cookie_t
4024 xcb_glx_vendor_private_with_reply_unchecked (xcb_connection_t      *c,
4025                                              uint32_t               vendor_code,
4026                                              xcb_glx_context_tag_t  context_tag,
4027                                              uint32_t               data_len,
4028                                              const uint8_t         *data);
4029 
4030 uint8_t *
4031 xcb_glx_vendor_private_with_reply_data_2 (const xcb_glx_vendor_private_with_reply_reply_t *R);
4032 
4033 int
4034 xcb_glx_vendor_private_with_reply_data_2_length (const xcb_glx_vendor_private_with_reply_reply_t *R);
4035 
4036 xcb_generic_iterator_t
4037 xcb_glx_vendor_private_with_reply_data_2_end (const xcb_glx_vendor_private_with_reply_reply_t *R);
4038 
4039 /**
4040  * Return the reply
4041  * @param c      The connection
4042  * @param cookie The cookie
4043  * @param e      The xcb_generic_error_t supplied
4044  *
4045  * Returns the reply of the request asked by
4046  *
4047  * The parameter @p e supplied to this function must be NULL if
4048  * xcb_glx_vendor_private_with_reply_unchecked(). is used.
4049  * Otherwise, it stores the error if any.
4050  *
4051  * The returned value must be freed by the caller using free().
4052  */
4053 xcb_glx_vendor_private_with_reply_reply_t *
4054 xcb_glx_vendor_private_with_reply_reply (xcb_connection_t                            *c,
4055                                          xcb_glx_vendor_private_with_reply_cookie_t   cookie  /**< */,
4056                                          xcb_generic_error_t                        **e);
4057 
4058 /**
4059  *
4060  * @param c The connection
4061  * @return A cookie
4062  *
4063  * Delivers a request to the X server.
4064  *
4065  */
4066 xcb_glx_query_extensions_string_cookie_t
4067 xcb_glx_query_extensions_string (xcb_connection_t *c,
4068                                  uint32_t          screen);
4069 
4070 /**
4071  *
4072  * @param c The connection
4073  * @return A cookie
4074  *
4075  * Delivers a request to the X server.
4076  *
4077  * This form can be used only if the request will cause
4078  * a reply to be generated. Any returned error will be
4079  * placed in the event queue.
4080  */
4081 xcb_glx_query_extensions_string_cookie_t
4082 xcb_glx_query_extensions_string_unchecked (xcb_connection_t *c,
4083                                            uint32_t          screen);
4084 
4085 /**
4086  * Return the reply
4087  * @param c      The connection
4088  * @param cookie The cookie
4089  * @param e      The xcb_generic_error_t supplied
4090  *
4091  * Returns the reply of the request asked by
4092  *
4093  * The parameter @p e supplied to this function must be NULL if
4094  * xcb_glx_query_extensions_string_unchecked(). is used.
4095  * Otherwise, it stores the error if any.
4096  *
4097  * The returned value must be freed by the caller using free().
4098  */
4099 xcb_glx_query_extensions_string_reply_t *
4100 xcb_glx_query_extensions_string_reply (xcb_connection_t                          *c,
4101                                        xcb_glx_query_extensions_string_cookie_t   cookie  /**< */,
4102                                        xcb_generic_error_t                      **e);
4103 
4104 int
4105 xcb_glx_query_server_string_sizeof (const void  *_buffer);
4106 
4107 /**
4108  *
4109  * @param c The connection
4110  * @return A cookie
4111  *
4112  * Delivers a request to the X server.
4113  *
4114  */
4115 xcb_glx_query_server_string_cookie_t
4116 xcb_glx_query_server_string (xcb_connection_t *c,
4117                              uint32_t          screen,
4118                              uint32_t          name);
4119 
4120 /**
4121  *
4122  * @param c The connection
4123  * @return A cookie
4124  *
4125  * Delivers a request to the X server.
4126  *
4127  * This form can be used only if the request will cause
4128  * a reply to be generated. Any returned error will be
4129  * placed in the event queue.
4130  */
4131 xcb_glx_query_server_string_cookie_t
4132 xcb_glx_query_server_string_unchecked (xcb_connection_t *c,
4133                                        uint32_t          screen,
4134                                        uint32_t          name);
4135 
4136 char *
4137 xcb_glx_query_server_string_string (const xcb_glx_query_server_string_reply_t *R);
4138 
4139 int
4140 xcb_glx_query_server_string_string_length (const xcb_glx_query_server_string_reply_t *R);
4141 
4142 xcb_generic_iterator_t
4143 xcb_glx_query_server_string_string_end (const xcb_glx_query_server_string_reply_t *R);
4144 
4145 /**
4146  * Return the reply
4147  * @param c      The connection
4148  * @param cookie The cookie
4149  * @param e      The xcb_generic_error_t supplied
4150  *
4151  * Returns the reply of the request asked by
4152  *
4153  * The parameter @p e supplied to this function must be NULL if
4154  * xcb_glx_query_server_string_unchecked(). is used.
4155  * Otherwise, it stores the error if any.
4156  *
4157  * The returned value must be freed by the caller using free().
4158  */
4159 xcb_glx_query_server_string_reply_t *
4160 xcb_glx_query_server_string_reply (xcb_connection_t                      *c,
4161                                    xcb_glx_query_server_string_cookie_t   cookie  /**< */,
4162                                    xcb_generic_error_t                  **e);
4163 
4164 int
4165 xcb_glx_client_info_sizeof (const void  *_buffer);
4166 
4167 /**
4168  *
4169  * @param c The connection
4170  * @return A cookie
4171  *
4172  * Delivers a request to the X server.
4173  *
4174  * This form can be used only if the request will not cause
4175  * a reply to be generated. Any returned error will be
4176  * saved for handling by xcb_request_check().
4177  */
4178 xcb_void_cookie_t
4179 xcb_glx_client_info_checked (xcb_connection_t *c,
4180                              uint32_t          major_version,
4181                              uint32_t          minor_version,
4182                              uint32_t          str_len,
4183                              const char       *string);
4184 
4185 /**
4186  *
4187  * @param c The connection
4188  * @return A cookie
4189  *
4190  * Delivers a request to the X server.
4191  *
4192  */
4193 xcb_void_cookie_t
4194 xcb_glx_client_info (xcb_connection_t *c,
4195                      uint32_t          major_version,
4196                      uint32_t          minor_version,
4197                      uint32_t          str_len,
4198                      const char       *string);
4199 
4200 char *
4201 xcb_glx_client_info_string (const xcb_glx_client_info_request_t *R);
4202 
4203 int
4204 xcb_glx_client_info_string_length (const xcb_glx_client_info_request_t *R);
4205 
4206 xcb_generic_iterator_t
4207 xcb_glx_client_info_string_end (const xcb_glx_client_info_request_t *R);
4208 
4209 int
4210 xcb_glx_get_fb_configs_sizeof (const void  *_buffer);
4211 
4212 /**
4213  *
4214  * @param c The connection
4215  * @return A cookie
4216  *
4217  * Delivers a request to the X server.
4218  *
4219  */
4220 xcb_glx_get_fb_configs_cookie_t
4221 xcb_glx_get_fb_configs (xcb_connection_t *c,
4222                         uint32_t          screen);
4223 
4224 /**
4225  *
4226  * @param c The connection
4227  * @return A cookie
4228  *
4229  * Delivers a request to the X server.
4230  *
4231  * This form can be used only if the request will cause
4232  * a reply to be generated. Any returned error will be
4233  * placed in the event queue.
4234  */
4235 xcb_glx_get_fb_configs_cookie_t
4236 xcb_glx_get_fb_configs_unchecked (xcb_connection_t *c,
4237                                   uint32_t          screen);
4238 
4239 uint32_t *
4240 xcb_glx_get_fb_configs_property_list (const xcb_glx_get_fb_configs_reply_t *R);
4241 
4242 int
4243 xcb_glx_get_fb_configs_property_list_length (const xcb_glx_get_fb_configs_reply_t *R);
4244 
4245 xcb_generic_iterator_t
4246 xcb_glx_get_fb_configs_property_list_end (const xcb_glx_get_fb_configs_reply_t *R);
4247 
4248 /**
4249  * Return the reply
4250  * @param c      The connection
4251  * @param cookie The cookie
4252  * @param e      The xcb_generic_error_t supplied
4253  *
4254  * Returns the reply of the request asked by
4255  *
4256  * The parameter @p e supplied to this function must be NULL if
4257  * xcb_glx_get_fb_configs_unchecked(). is used.
4258  * Otherwise, it stores the error if any.
4259  *
4260  * The returned value must be freed by the caller using free().
4261  */
4262 xcb_glx_get_fb_configs_reply_t *
4263 xcb_glx_get_fb_configs_reply (xcb_connection_t                 *c,
4264                               xcb_glx_get_fb_configs_cookie_t   cookie  /**< */,
4265                               xcb_generic_error_t             **e);
4266 
4267 int
4268 xcb_glx_create_pixmap_sizeof (const void  *_buffer);
4269 
4270 /**
4271  *
4272  * @param c The connection
4273  * @return A cookie
4274  *
4275  * Delivers a request to the X server.
4276  *
4277  * This form can be used only if the request will not cause
4278  * a reply to be generated. Any returned error will be
4279  * saved for handling by xcb_request_check().
4280  */
4281 xcb_void_cookie_t
4282 xcb_glx_create_pixmap_checked (xcb_connection_t   *c,
4283                                uint32_t            screen,
4284                                xcb_glx_fbconfig_t  fbconfig,
4285                                xcb_pixmap_t        pixmap,
4286                                xcb_glx_pixmap_t    glx_pixmap,
4287                                uint32_t            num_attribs,
4288                                const uint32_t     *attribs);
4289 
4290 /**
4291  *
4292  * @param c The connection
4293  * @return A cookie
4294  *
4295  * Delivers a request to the X server.
4296  *
4297  */
4298 xcb_void_cookie_t
4299 xcb_glx_create_pixmap (xcb_connection_t   *c,
4300                        uint32_t            screen,
4301                        xcb_glx_fbconfig_t  fbconfig,
4302                        xcb_pixmap_t        pixmap,
4303                        xcb_glx_pixmap_t    glx_pixmap,
4304                        uint32_t            num_attribs,
4305                        const uint32_t     *attribs);
4306 
4307 uint32_t *
4308 xcb_glx_create_pixmap_attribs (const xcb_glx_create_pixmap_request_t *R);
4309 
4310 int
4311 xcb_glx_create_pixmap_attribs_length (const xcb_glx_create_pixmap_request_t *R);
4312 
4313 xcb_generic_iterator_t
4314 xcb_glx_create_pixmap_attribs_end (const xcb_glx_create_pixmap_request_t *R);
4315 
4316 /**
4317  *
4318  * @param c The connection
4319  * @return A cookie
4320  *
4321  * Delivers a request to the X server.
4322  *
4323  * This form can be used only if the request will not cause
4324  * a reply to be generated. Any returned error will be
4325  * saved for handling by xcb_request_check().
4326  */
4327 xcb_void_cookie_t
4328 xcb_glx_destroy_pixmap_checked (xcb_connection_t *c,
4329                                 xcb_glx_pixmap_t  glx_pixmap);
4330 
4331 /**
4332  *
4333  * @param c The connection
4334  * @return A cookie
4335  *
4336  * Delivers a request to the X server.
4337  *
4338  */
4339 xcb_void_cookie_t
4340 xcb_glx_destroy_pixmap (xcb_connection_t *c,
4341                         xcb_glx_pixmap_t  glx_pixmap);
4342 
4343 /**
4344  *
4345  * @param c The connection
4346  * @return A cookie
4347  *
4348  * Delivers a request to the X server.
4349  *
4350  * This form can be used only if the request will not cause
4351  * a reply to be generated. Any returned error will be
4352  * saved for handling by xcb_request_check().
4353  */
4354 xcb_void_cookie_t
4355 xcb_glx_create_new_context_checked (xcb_connection_t   *c,
4356                                     xcb_glx_context_t   context,
4357                                     xcb_glx_fbconfig_t  fbconfig,
4358                                     uint32_t            screen,
4359                                     uint32_t            render_type,
4360                                     xcb_glx_context_t   share_list,
4361                                     uint8_t             is_direct);
4362 
4363 /**
4364  *
4365  * @param c The connection
4366  * @return A cookie
4367  *
4368  * Delivers a request to the X server.
4369  *
4370  */
4371 xcb_void_cookie_t
4372 xcb_glx_create_new_context (xcb_connection_t   *c,
4373                             xcb_glx_context_t   context,
4374                             xcb_glx_fbconfig_t  fbconfig,
4375                             uint32_t            screen,
4376                             uint32_t            render_type,
4377                             xcb_glx_context_t   share_list,
4378                             uint8_t             is_direct);
4379 
4380 int
4381 xcb_glx_query_context_sizeof (const void  *_buffer);
4382 
4383 /**
4384  *
4385  * @param c The connection
4386  * @return A cookie
4387  *
4388  * Delivers a request to the X server.
4389  *
4390  */
4391 xcb_glx_query_context_cookie_t
4392 xcb_glx_query_context (xcb_connection_t  *c,
4393                        xcb_glx_context_t  context);
4394 
4395 /**
4396  *
4397  * @param c The connection
4398  * @return A cookie
4399  *
4400  * Delivers a request to the X server.
4401  *
4402  * This form can be used only if the request will cause
4403  * a reply to be generated. Any returned error will be
4404  * placed in the event queue.
4405  */
4406 xcb_glx_query_context_cookie_t
4407 xcb_glx_query_context_unchecked (xcb_connection_t  *c,
4408                                  xcb_glx_context_t  context);
4409 
4410 uint32_t *
4411 xcb_glx_query_context_attribs (const xcb_glx_query_context_reply_t *R);
4412 
4413 int
4414 xcb_glx_query_context_attribs_length (const xcb_glx_query_context_reply_t *R);
4415 
4416 xcb_generic_iterator_t
4417 xcb_glx_query_context_attribs_end (const xcb_glx_query_context_reply_t *R);
4418 
4419 /**
4420  * Return the reply
4421  * @param c      The connection
4422  * @param cookie The cookie
4423  * @param e      The xcb_generic_error_t supplied
4424  *
4425  * Returns the reply of the request asked by
4426  *
4427  * The parameter @p e supplied to this function must be NULL if
4428  * xcb_glx_query_context_unchecked(). is used.
4429  * Otherwise, it stores the error if any.
4430  *
4431  * The returned value must be freed by the caller using free().
4432  */
4433 xcb_glx_query_context_reply_t *
4434 xcb_glx_query_context_reply (xcb_connection_t                *c,
4435                              xcb_glx_query_context_cookie_t   cookie  /**< */,
4436                              xcb_generic_error_t            **e);
4437 
4438 /**
4439  *
4440  * @param c The connection
4441  * @return A cookie
4442  *
4443  * Delivers a request to the X server.
4444  *
4445  */
4446 xcb_glx_make_context_current_cookie_t
4447 xcb_glx_make_context_current (xcb_connection_t      *c,
4448                               xcb_glx_context_tag_t  old_context_tag,
4449                               xcb_glx_drawable_t     drawable,
4450                               xcb_glx_drawable_t     read_drawable,
4451                               xcb_glx_context_t      context);
4452 
4453 /**
4454  *
4455  * @param c The connection
4456  * @return A cookie
4457  *
4458  * Delivers a request to the X server.
4459  *
4460  * This form can be used only if the request will cause
4461  * a reply to be generated. Any returned error will be
4462  * placed in the event queue.
4463  */
4464 xcb_glx_make_context_current_cookie_t
4465 xcb_glx_make_context_current_unchecked (xcb_connection_t      *c,
4466                                         xcb_glx_context_tag_t  old_context_tag,
4467                                         xcb_glx_drawable_t     drawable,
4468                                         xcb_glx_drawable_t     read_drawable,
4469                                         xcb_glx_context_t      context);
4470 
4471 /**
4472  * Return the reply
4473  * @param c      The connection
4474  * @param cookie The cookie
4475  * @param e      The xcb_generic_error_t supplied
4476  *
4477  * Returns the reply of the request asked by
4478  *
4479  * The parameter @p e supplied to this function must be NULL if
4480  * xcb_glx_make_context_current_unchecked(). is used.
4481  * Otherwise, it stores the error if any.
4482  *
4483  * The returned value must be freed by the caller using free().
4484  */
4485 xcb_glx_make_context_current_reply_t *
4486 xcb_glx_make_context_current_reply (xcb_connection_t                       *c,
4487                                     xcb_glx_make_context_current_cookie_t   cookie  /**< */,
4488                                     xcb_generic_error_t                   **e);
4489 
4490 int
4491 xcb_glx_create_pbuffer_sizeof (const void  *_buffer);
4492 
4493 /**
4494  *
4495  * @param c The connection
4496  * @return A cookie
4497  *
4498  * Delivers a request to the X server.
4499  *
4500  * This form can be used only if the request will not cause
4501  * a reply to be generated. Any returned error will be
4502  * saved for handling by xcb_request_check().
4503  */
4504 xcb_void_cookie_t
4505 xcb_glx_create_pbuffer_checked (xcb_connection_t   *c,
4506                                 uint32_t            screen,
4507                                 xcb_glx_fbconfig_t  fbconfig,
4508                                 xcb_glx_pbuffer_t   pbuffer,
4509                                 uint32_t            num_attribs,
4510                                 const uint32_t     *attribs);
4511 
4512 /**
4513  *
4514  * @param c The connection
4515  * @return A cookie
4516  *
4517  * Delivers a request to the X server.
4518  *
4519  */
4520 xcb_void_cookie_t
4521 xcb_glx_create_pbuffer (xcb_connection_t   *c,
4522                         uint32_t            screen,
4523                         xcb_glx_fbconfig_t  fbconfig,
4524                         xcb_glx_pbuffer_t   pbuffer,
4525                         uint32_t            num_attribs,
4526                         const uint32_t     *attribs);
4527 
4528 uint32_t *
4529 xcb_glx_create_pbuffer_attribs (const xcb_glx_create_pbuffer_request_t *R);
4530 
4531 int
4532 xcb_glx_create_pbuffer_attribs_length (const xcb_glx_create_pbuffer_request_t *R);
4533 
4534 xcb_generic_iterator_t
4535 xcb_glx_create_pbuffer_attribs_end (const xcb_glx_create_pbuffer_request_t *R);
4536 
4537 /**
4538  *
4539  * @param c The connection
4540  * @return A cookie
4541  *
4542  * Delivers a request to the X server.
4543  *
4544  * This form can be used only if the request will not cause
4545  * a reply to be generated. Any returned error will be
4546  * saved for handling by xcb_request_check().
4547  */
4548 xcb_void_cookie_t
4549 xcb_glx_destroy_pbuffer_checked (xcb_connection_t  *c,
4550                                  xcb_glx_pbuffer_t  pbuffer);
4551 
4552 /**
4553  *
4554  * @param c The connection
4555  * @return A cookie
4556  *
4557  * Delivers a request to the X server.
4558  *
4559  */
4560 xcb_void_cookie_t
4561 xcb_glx_destroy_pbuffer (xcb_connection_t  *c,
4562                          xcb_glx_pbuffer_t  pbuffer);
4563 
4564 int
4565 xcb_glx_get_drawable_attributes_sizeof (const void  *_buffer);
4566 
4567 /**
4568  *
4569  * @param c The connection
4570  * @return A cookie
4571  *
4572  * Delivers a request to the X server.
4573  *
4574  */
4575 xcb_glx_get_drawable_attributes_cookie_t
4576 xcb_glx_get_drawable_attributes (xcb_connection_t   *c,
4577                                  xcb_glx_drawable_t  drawable);
4578 
4579 /**
4580  *
4581  * @param c The connection
4582  * @return A cookie
4583  *
4584  * Delivers a request to the X server.
4585  *
4586  * This form can be used only if the request will cause
4587  * a reply to be generated. Any returned error will be
4588  * placed in the event queue.
4589  */
4590 xcb_glx_get_drawable_attributes_cookie_t
4591 xcb_glx_get_drawable_attributes_unchecked (xcb_connection_t   *c,
4592                                            xcb_glx_drawable_t  drawable);
4593 
4594 uint32_t *
4595 xcb_glx_get_drawable_attributes_attribs (const xcb_glx_get_drawable_attributes_reply_t *R);
4596 
4597 int
4598 xcb_glx_get_drawable_attributes_attribs_length (const xcb_glx_get_drawable_attributes_reply_t *R);
4599 
4600 xcb_generic_iterator_t
4601 xcb_glx_get_drawable_attributes_attribs_end (const xcb_glx_get_drawable_attributes_reply_t *R);
4602 
4603 /**
4604  * Return the reply
4605  * @param c      The connection
4606  * @param cookie The cookie
4607  * @param e      The xcb_generic_error_t supplied
4608  *
4609  * Returns the reply of the request asked by
4610  *
4611  * The parameter @p e supplied to this function must be NULL if
4612  * xcb_glx_get_drawable_attributes_unchecked(). is used.
4613  * Otherwise, it stores the error if any.
4614  *
4615  * The returned value must be freed by the caller using free().
4616  */
4617 xcb_glx_get_drawable_attributes_reply_t *
4618 xcb_glx_get_drawable_attributes_reply (xcb_connection_t                          *c,
4619                                        xcb_glx_get_drawable_attributes_cookie_t   cookie  /**< */,
4620                                        xcb_generic_error_t                      **e);
4621 
4622 int
4623 xcb_glx_change_drawable_attributes_sizeof (const void  *_buffer);
4624 
4625 /**
4626  *
4627  * @param c The connection
4628  * @return A cookie
4629  *
4630  * Delivers a request to the X server.
4631  *
4632  * This form can be used only if the request will not cause
4633  * a reply to be generated. Any returned error will be
4634  * saved for handling by xcb_request_check().
4635  */
4636 xcb_void_cookie_t
4637 xcb_glx_change_drawable_attributes_checked (xcb_connection_t   *c,
4638                                             xcb_glx_drawable_t  drawable,
4639                                             uint32_t            num_attribs,
4640                                             const uint32_t     *attribs);
4641 
4642 /**
4643  *
4644  * @param c The connection
4645  * @return A cookie
4646  *
4647  * Delivers a request to the X server.
4648  *
4649  */
4650 xcb_void_cookie_t
4651 xcb_glx_change_drawable_attributes (xcb_connection_t   *c,
4652                                     xcb_glx_drawable_t  drawable,
4653                                     uint32_t            num_attribs,
4654                                     const uint32_t     *attribs);
4655 
4656 uint32_t *
4657 xcb_glx_change_drawable_attributes_attribs (const xcb_glx_change_drawable_attributes_request_t *R);
4658 
4659 int
4660 xcb_glx_change_drawable_attributes_attribs_length (const xcb_glx_change_drawable_attributes_request_t *R);
4661 
4662 xcb_generic_iterator_t
4663 xcb_glx_change_drawable_attributes_attribs_end (const xcb_glx_change_drawable_attributes_request_t *R);
4664 
4665 int
4666 xcb_glx_create_window_sizeof (const void  *_buffer);
4667 
4668 /**
4669  *
4670  * @param c The connection
4671  * @return A cookie
4672  *
4673  * Delivers a request to the X server.
4674  *
4675  * This form can be used only if the request will not cause
4676  * a reply to be generated. Any returned error will be
4677  * saved for handling by xcb_request_check().
4678  */
4679 xcb_void_cookie_t
4680 xcb_glx_create_window_checked (xcb_connection_t   *c,
4681                                uint32_t            screen,
4682                                xcb_glx_fbconfig_t  fbconfig,
4683                                xcb_window_t        window,
4684                                xcb_glx_window_t    glx_window,
4685                                uint32_t            num_attribs,
4686                                const uint32_t     *attribs);
4687 
4688 /**
4689  *
4690  * @param c The connection
4691  * @return A cookie
4692  *
4693  * Delivers a request to the X server.
4694  *
4695  */
4696 xcb_void_cookie_t
4697 xcb_glx_create_window (xcb_connection_t   *c,
4698                        uint32_t            screen,
4699                        xcb_glx_fbconfig_t  fbconfig,
4700                        xcb_window_t        window,
4701                        xcb_glx_window_t    glx_window,
4702                        uint32_t            num_attribs,
4703                        const uint32_t     *attribs);
4704 
4705 uint32_t *
4706 xcb_glx_create_window_attribs (const xcb_glx_create_window_request_t *R);
4707 
4708 int
4709 xcb_glx_create_window_attribs_length (const xcb_glx_create_window_request_t *R);
4710 
4711 xcb_generic_iterator_t
4712 xcb_glx_create_window_attribs_end (const xcb_glx_create_window_request_t *R);
4713 
4714 /**
4715  *
4716  * @param c The connection
4717  * @return A cookie
4718  *
4719  * Delivers a request to the X server.
4720  *
4721  * This form can be used only if the request will not cause
4722  * a reply to be generated. Any returned error will be
4723  * saved for handling by xcb_request_check().
4724  */
4725 xcb_void_cookie_t
4726 xcb_glx_delete_window_checked (xcb_connection_t *c,
4727                                xcb_glx_window_t  glxwindow);
4728 
4729 /**
4730  *
4731  * @param c The connection
4732  * @return A cookie
4733  *
4734  * Delivers a request to the X server.
4735  *
4736  */
4737 xcb_void_cookie_t
4738 xcb_glx_delete_window (xcb_connection_t *c,
4739                        xcb_glx_window_t  glxwindow);
4740 
4741 int
4742 xcb_glx_set_client_info_arb_sizeof (const void  *_buffer);
4743 
4744 /**
4745  *
4746  * @param c The connection
4747  * @return A cookie
4748  *
4749  * Delivers a request to the X server.
4750  *
4751  * This form can be used only if the request will not cause
4752  * a reply to be generated. Any returned error will be
4753  * saved for handling by xcb_request_check().
4754  */
4755 xcb_void_cookie_t
4756 xcb_glx_set_client_info_arb_checked (xcb_connection_t *c,
4757                                      uint32_t          major_version,
4758                                      uint32_t          minor_version,
4759                                      uint32_t          num_versions,
4760                                      uint32_t          gl_str_len,
4761                                      uint32_t          glx_str_len,
4762                                      const uint32_t   *gl_versions,
4763                                      const char       *gl_extension_string,
4764                                      const char       *glx_extension_string);
4765 
4766 /**
4767  *
4768  * @param c The connection
4769  * @return A cookie
4770  *
4771  * Delivers a request to the X server.
4772  *
4773  */
4774 xcb_void_cookie_t
4775 xcb_glx_set_client_info_arb (xcb_connection_t *c,
4776                              uint32_t          major_version,
4777                              uint32_t          minor_version,
4778                              uint32_t          num_versions,
4779                              uint32_t          gl_str_len,
4780                              uint32_t          glx_str_len,
4781                              const uint32_t   *gl_versions,
4782                              const char       *gl_extension_string,
4783                              const char       *glx_extension_string);
4784 
4785 uint32_t *
4786 xcb_glx_set_client_info_arb_gl_versions (const xcb_glx_set_client_info_arb_request_t *R);
4787 
4788 int
4789 xcb_glx_set_client_info_arb_gl_versions_length (const xcb_glx_set_client_info_arb_request_t *R);
4790 
4791 xcb_generic_iterator_t
4792 xcb_glx_set_client_info_arb_gl_versions_end (const xcb_glx_set_client_info_arb_request_t *R);
4793 
4794 char *
4795 xcb_glx_set_client_info_arb_gl_extension_string (const xcb_glx_set_client_info_arb_request_t *R);
4796 
4797 int
4798 xcb_glx_set_client_info_arb_gl_extension_string_length (const xcb_glx_set_client_info_arb_request_t *R);
4799 
4800 xcb_generic_iterator_t
4801 xcb_glx_set_client_info_arb_gl_extension_string_end (const xcb_glx_set_client_info_arb_request_t *R);
4802 
4803 char *
4804 xcb_glx_set_client_info_arb_glx_extension_string (const xcb_glx_set_client_info_arb_request_t *R);
4805 
4806 int
4807 xcb_glx_set_client_info_arb_glx_extension_string_length (const xcb_glx_set_client_info_arb_request_t *R);
4808 
4809 xcb_generic_iterator_t
4810 xcb_glx_set_client_info_arb_glx_extension_string_end (const xcb_glx_set_client_info_arb_request_t *R);
4811 
4812 int
4813 xcb_glx_create_context_attribs_arb_sizeof (const void  *_buffer);
4814 
4815 /**
4816  *
4817  * @param c The connection
4818  * @return A cookie
4819  *
4820  * Delivers a request to the X server.
4821  *
4822  * This form can be used only if the request will not cause
4823  * a reply to be generated. Any returned error will be
4824  * saved for handling by xcb_request_check().
4825  */
4826 xcb_void_cookie_t
4827 xcb_glx_create_context_attribs_arb_checked (xcb_connection_t   *c,
4828                                             xcb_glx_context_t   context,
4829                                             xcb_glx_fbconfig_t  fbconfig,
4830                                             uint32_t            screen,
4831                                             xcb_glx_context_t   share_list,
4832                                             uint8_t             is_direct,
4833                                             uint32_t            num_attribs,
4834                                             const uint32_t     *attribs);
4835 
4836 /**
4837  *
4838  * @param c The connection
4839  * @return A cookie
4840  *
4841  * Delivers a request to the X server.
4842  *
4843  */
4844 xcb_void_cookie_t
4845 xcb_glx_create_context_attribs_arb (xcb_connection_t   *c,
4846                                     xcb_glx_context_t   context,
4847                                     xcb_glx_fbconfig_t  fbconfig,
4848                                     uint32_t            screen,
4849                                     xcb_glx_context_t   share_list,
4850                                     uint8_t             is_direct,
4851                                     uint32_t            num_attribs,
4852                                     const uint32_t     *attribs);
4853 
4854 uint32_t *
4855 xcb_glx_create_context_attribs_arb_attribs (const xcb_glx_create_context_attribs_arb_request_t *R);
4856 
4857 int
4858 xcb_glx_create_context_attribs_arb_attribs_length (const xcb_glx_create_context_attribs_arb_request_t *R);
4859 
4860 xcb_generic_iterator_t
4861 xcb_glx_create_context_attribs_arb_attribs_end (const xcb_glx_create_context_attribs_arb_request_t *R);
4862 
4863 int
4864 xcb_glx_set_client_info_2arb_sizeof (const void  *_buffer);
4865 
4866 /**
4867  *
4868  * @param c The connection
4869  * @return A cookie
4870  *
4871  * Delivers a request to the X server.
4872  *
4873  * This form can be used only if the request will not cause
4874  * a reply to be generated. Any returned error will be
4875  * saved for handling by xcb_request_check().
4876  */
4877 xcb_void_cookie_t
4878 xcb_glx_set_client_info_2arb_checked (xcb_connection_t *c,
4879                                       uint32_t          major_version,
4880                                       uint32_t          minor_version,
4881                                       uint32_t          num_versions,
4882                                       uint32_t          gl_str_len,
4883                                       uint32_t          glx_str_len,
4884                                       const uint32_t   *gl_versions,
4885                                       const char       *gl_extension_string,
4886                                       const char       *glx_extension_string);
4887 
4888 /**
4889  *
4890  * @param c The connection
4891  * @return A cookie
4892  *
4893  * Delivers a request to the X server.
4894  *
4895  */
4896 xcb_void_cookie_t
4897 xcb_glx_set_client_info_2arb (xcb_connection_t *c,
4898                               uint32_t          major_version,
4899                               uint32_t          minor_version,
4900                               uint32_t          num_versions,
4901                               uint32_t          gl_str_len,
4902                               uint32_t          glx_str_len,
4903                               const uint32_t   *gl_versions,
4904                               const char       *gl_extension_string,
4905                               const char       *glx_extension_string);
4906 
4907 uint32_t *
4908 xcb_glx_set_client_info_2arb_gl_versions (const xcb_glx_set_client_info_2arb_request_t *R);
4909 
4910 int
4911 xcb_glx_set_client_info_2arb_gl_versions_length (const xcb_glx_set_client_info_2arb_request_t *R);
4912 
4913 xcb_generic_iterator_t
4914 xcb_glx_set_client_info_2arb_gl_versions_end (const xcb_glx_set_client_info_2arb_request_t *R);
4915 
4916 char *
4917 xcb_glx_set_client_info_2arb_gl_extension_string (const xcb_glx_set_client_info_2arb_request_t *R);
4918 
4919 int
4920 xcb_glx_set_client_info_2arb_gl_extension_string_length (const xcb_glx_set_client_info_2arb_request_t *R);
4921 
4922 xcb_generic_iterator_t
4923 xcb_glx_set_client_info_2arb_gl_extension_string_end (const xcb_glx_set_client_info_2arb_request_t *R);
4924 
4925 char *
4926 xcb_glx_set_client_info_2arb_glx_extension_string (const xcb_glx_set_client_info_2arb_request_t *R);
4927 
4928 int
4929 xcb_glx_set_client_info_2arb_glx_extension_string_length (const xcb_glx_set_client_info_2arb_request_t *R);
4930 
4931 xcb_generic_iterator_t
4932 xcb_glx_set_client_info_2arb_glx_extension_string_end (const xcb_glx_set_client_info_2arb_request_t *R);
4933 
4934 /**
4935  *
4936  * @param c The connection
4937  * @return A cookie
4938  *
4939  * Delivers a request to the X server.
4940  *
4941  * This form can be used only if the request will not cause
4942  * a reply to be generated. Any returned error will be
4943  * saved for handling by xcb_request_check().
4944  */
4945 xcb_void_cookie_t
4946 xcb_glx_new_list_checked (xcb_connection_t      *c,
4947                           xcb_glx_context_tag_t  context_tag,
4948                           uint32_t               list,
4949                           uint32_t               mode);
4950 
4951 /**
4952  *
4953  * @param c The connection
4954  * @return A cookie
4955  *
4956  * Delivers a request to the X server.
4957  *
4958  */
4959 xcb_void_cookie_t
4960 xcb_glx_new_list (xcb_connection_t      *c,
4961                   xcb_glx_context_tag_t  context_tag,
4962                   uint32_t               list,
4963                   uint32_t               mode);
4964 
4965 /**
4966  *
4967  * @param c The connection
4968  * @return A cookie
4969  *
4970  * Delivers a request to the X server.
4971  *
4972  * This form can be used only if the request will not cause
4973  * a reply to be generated. Any returned error will be
4974  * saved for handling by xcb_request_check().
4975  */
4976 xcb_void_cookie_t
4977 xcb_glx_end_list_checked (xcb_connection_t      *c,
4978                           xcb_glx_context_tag_t  context_tag);
4979 
4980 /**
4981  *
4982  * @param c The connection
4983  * @return A cookie
4984  *
4985  * Delivers a request to the X server.
4986  *
4987  */
4988 xcb_void_cookie_t
4989 xcb_glx_end_list (xcb_connection_t      *c,
4990                   xcb_glx_context_tag_t  context_tag);
4991 
4992 /**
4993  *
4994  * @param c The connection
4995  * @return A cookie
4996  *
4997  * Delivers a request to the X server.
4998  *
4999  * This form can be used only if the request will not cause
5000  * a reply to be generated. Any returned error will be
5001  * saved for handling by xcb_request_check().
5002  */
5003 xcb_void_cookie_t
5004 xcb_glx_delete_lists_checked (xcb_connection_t      *c,
5005                               xcb_glx_context_tag_t  context_tag,
5006                               uint32_t               list,
5007                               int32_t                range);
5008 
5009 /**
5010  *
5011  * @param c The connection
5012  * @return A cookie
5013  *
5014  * Delivers a request to the X server.
5015  *
5016  */
5017 xcb_void_cookie_t
5018 xcb_glx_delete_lists (xcb_connection_t      *c,
5019                       xcb_glx_context_tag_t  context_tag,
5020                       uint32_t               list,
5021                       int32_t                range);
5022 
5023 /**
5024  *
5025  * @param c The connection
5026  * @return A cookie
5027  *
5028  * Delivers a request to the X server.
5029  *
5030  */
5031 xcb_glx_gen_lists_cookie_t
5032 xcb_glx_gen_lists (xcb_connection_t      *c,
5033                    xcb_glx_context_tag_t  context_tag,
5034                    int32_t                range);
5035 
5036 /**
5037  *
5038  * @param c The connection
5039  * @return A cookie
5040  *
5041  * Delivers a request to the X server.
5042  *
5043  * This form can be used only if the request will cause
5044  * a reply to be generated. Any returned error will be
5045  * placed in the event queue.
5046  */
5047 xcb_glx_gen_lists_cookie_t
5048 xcb_glx_gen_lists_unchecked (xcb_connection_t      *c,
5049                              xcb_glx_context_tag_t  context_tag,
5050                              int32_t                range);
5051 
5052 /**
5053  * Return the reply
5054  * @param c      The connection
5055  * @param cookie The cookie
5056  * @param e      The xcb_generic_error_t supplied
5057  *
5058  * Returns the reply of the request asked by
5059  *
5060  * The parameter @p e supplied to this function must be NULL if
5061  * xcb_glx_gen_lists_unchecked(). is used.
5062  * Otherwise, it stores the error if any.
5063  *
5064  * The returned value must be freed by the caller using free().
5065  */
5066 xcb_glx_gen_lists_reply_t *
5067 xcb_glx_gen_lists_reply (xcb_connection_t            *c,
5068                          xcb_glx_gen_lists_cookie_t   cookie  /**< */,
5069                          xcb_generic_error_t        **e);
5070 
5071 /**
5072  *
5073  * @param c The connection
5074  * @return A cookie
5075  *
5076  * Delivers a request to the X server.
5077  *
5078  * This form can be used only if the request will not cause
5079  * a reply to be generated. Any returned error will be
5080  * saved for handling by xcb_request_check().
5081  */
5082 xcb_void_cookie_t
5083 xcb_glx_feedback_buffer_checked (xcb_connection_t      *c,
5084                                  xcb_glx_context_tag_t  context_tag,
5085                                  int32_t                size,
5086                                  int32_t                type);
5087 
5088 /**
5089  *
5090  * @param c The connection
5091  * @return A cookie
5092  *
5093  * Delivers a request to the X server.
5094  *
5095  */
5096 xcb_void_cookie_t
5097 xcb_glx_feedback_buffer (xcb_connection_t      *c,
5098                          xcb_glx_context_tag_t  context_tag,
5099                          int32_t                size,
5100                          int32_t                type);
5101 
5102 /**
5103  *
5104  * @param c The connection
5105  * @return A cookie
5106  *
5107  * Delivers a request to the X server.
5108  *
5109  * This form can be used only if the request will not cause
5110  * a reply to be generated. Any returned error will be
5111  * saved for handling by xcb_request_check().
5112  */
5113 xcb_void_cookie_t
5114 xcb_glx_select_buffer_checked (xcb_connection_t      *c,
5115                                xcb_glx_context_tag_t  context_tag,
5116                                int32_t                size);
5117 
5118 /**
5119  *
5120  * @param c The connection
5121  * @return A cookie
5122  *
5123  * Delivers a request to the X server.
5124  *
5125  */
5126 xcb_void_cookie_t
5127 xcb_glx_select_buffer (xcb_connection_t      *c,
5128                        xcb_glx_context_tag_t  context_tag,
5129                        int32_t                size);
5130 
5131 int
5132 xcb_glx_render_mode_sizeof (const void  *_buffer);
5133 
5134 /**
5135  *
5136  * @param c The connection
5137  * @return A cookie
5138  *
5139  * Delivers a request to the X server.
5140  *
5141  */
5142 xcb_glx_render_mode_cookie_t
5143 xcb_glx_render_mode (xcb_connection_t      *c,
5144                      xcb_glx_context_tag_t  context_tag,
5145                      uint32_t               mode);
5146 
5147 /**
5148  *
5149  * @param c The connection
5150  * @return A cookie
5151  *
5152  * Delivers a request to the X server.
5153  *
5154  * This form can be used only if the request will cause
5155  * a reply to be generated. Any returned error will be
5156  * placed in the event queue.
5157  */
5158 xcb_glx_render_mode_cookie_t
5159 xcb_glx_render_mode_unchecked (xcb_connection_t      *c,
5160                                xcb_glx_context_tag_t  context_tag,
5161                                uint32_t               mode);
5162 
5163 uint32_t *
5164 xcb_glx_render_mode_data (const xcb_glx_render_mode_reply_t *R);
5165 
5166 int
5167 xcb_glx_render_mode_data_length (const xcb_glx_render_mode_reply_t *R);
5168 
5169 xcb_generic_iterator_t
5170 xcb_glx_render_mode_data_end (const xcb_glx_render_mode_reply_t *R);
5171 
5172 /**
5173  * Return the reply
5174  * @param c      The connection
5175  * @param cookie The cookie
5176  * @param e      The xcb_generic_error_t supplied
5177  *
5178  * Returns the reply of the request asked by
5179  *
5180  * The parameter @p e supplied to this function must be NULL if
5181  * xcb_glx_render_mode_unchecked(). is used.
5182  * Otherwise, it stores the error if any.
5183  *
5184  * The returned value must be freed by the caller using free().
5185  */
5186 xcb_glx_render_mode_reply_t *
5187 xcb_glx_render_mode_reply (xcb_connection_t              *c,
5188                            xcb_glx_render_mode_cookie_t   cookie  /**< */,
5189                            xcb_generic_error_t          **e);
5190 
5191 /**
5192  *
5193  * @param c The connection
5194  * @return A cookie
5195  *
5196  * Delivers a request to the X server.
5197  *
5198  */
5199 xcb_glx_finish_cookie_t
5200 xcb_glx_finish (xcb_connection_t      *c,
5201                 xcb_glx_context_tag_t  context_tag);
5202 
5203 /**
5204  *
5205  * @param c The connection
5206  * @return A cookie
5207  *
5208  * Delivers a request to the X server.
5209  *
5210  * This form can be used only if the request will cause
5211  * a reply to be generated. Any returned error will be
5212  * placed in the event queue.
5213  */
5214 xcb_glx_finish_cookie_t
5215 xcb_glx_finish_unchecked (xcb_connection_t      *c,
5216                           xcb_glx_context_tag_t  context_tag);
5217 
5218 /**
5219  * Return the reply
5220  * @param c      The connection
5221  * @param cookie The cookie
5222  * @param e      The xcb_generic_error_t supplied
5223  *
5224  * Returns the reply of the request asked by
5225  *
5226  * The parameter @p e supplied to this function must be NULL if
5227  * xcb_glx_finish_unchecked(). is used.
5228  * Otherwise, it stores the error if any.
5229  *
5230  * The returned value must be freed by the caller using free().
5231  */
5232 xcb_glx_finish_reply_t *
5233 xcb_glx_finish_reply (xcb_connection_t         *c,
5234                       xcb_glx_finish_cookie_t   cookie  /**< */,
5235                       xcb_generic_error_t     **e);
5236 
5237 /**
5238  *
5239  * @param c The connection
5240  * @return A cookie
5241  *
5242  * Delivers a request to the X server.
5243  *
5244  * This form can be used only if the request will not cause
5245  * a reply to be generated. Any returned error will be
5246  * saved for handling by xcb_request_check().
5247  */
5248 xcb_void_cookie_t
5249 xcb_glx_pixel_storef_checked (xcb_connection_t      *c,
5250                               xcb_glx_context_tag_t  context_tag,
5251                               uint32_t               pname,
5252                               xcb_glx_float32_t      datum);
5253 
5254 /**
5255  *
5256  * @param c The connection
5257  * @return A cookie
5258  *
5259  * Delivers a request to the X server.
5260  *
5261  */
5262 xcb_void_cookie_t
5263 xcb_glx_pixel_storef (xcb_connection_t      *c,
5264                       xcb_glx_context_tag_t  context_tag,
5265                       uint32_t               pname,
5266                       xcb_glx_float32_t      datum);
5267 
5268 /**
5269  *
5270  * @param c The connection
5271  * @return A cookie
5272  *
5273  * Delivers a request to the X server.
5274  *
5275  * This form can be used only if the request will not cause
5276  * a reply to be generated. Any returned error will be
5277  * saved for handling by xcb_request_check().
5278  */
5279 xcb_void_cookie_t
5280 xcb_glx_pixel_storei_checked (xcb_connection_t      *c,
5281                               xcb_glx_context_tag_t  context_tag,
5282                               uint32_t               pname,
5283                               int32_t                datum);
5284 
5285 /**
5286  *
5287  * @param c The connection
5288  * @return A cookie
5289  *
5290  * Delivers a request to the X server.
5291  *
5292  */
5293 xcb_void_cookie_t
5294 xcb_glx_pixel_storei (xcb_connection_t      *c,
5295                       xcb_glx_context_tag_t  context_tag,
5296                       uint32_t               pname,
5297                       int32_t                datum);
5298 
5299 int
5300 xcb_glx_read_pixels_sizeof (const void  *_buffer);
5301 
5302 /**
5303  *
5304  * @param c The connection
5305  * @return A cookie
5306  *
5307  * Delivers a request to the X server.
5308  *
5309  */
5310 xcb_glx_read_pixels_cookie_t
5311 xcb_glx_read_pixels (xcb_connection_t      *c,
5312                      xcb_glx_context_tag_t  context_tag,
5313                      int32_t                x,
5314                      int32_t                y,
5315                      int32_t                width,
5316                      int32_t                height,
5317                      uint32_t               format,
5318                      uint32_t               type,
5319                      uint8_t                swap_bytes,
5320                      uint8_t                lsb_first);
5321 
5322 /**
5323  *
5324  * @param c The connection
5325  * @return A cookie
5326  *
5327  * Delivers a request to the X server.
5328  *
5329  * This form can be used only if the request will cause
5330  * a reply to be generated. Any returned error will be
5331  * placed in the event queue.
5332  */
5333 xcb_glx_read_pixels_cookie_t
5334 xcb_glx_read_pixels_unchecked (xcb_connection_t      *c,
5335                                xcb_glx_context_tag_t  context_tag,
5336                                int32_t                x,
5337                                int32_t                y,
5338                                int32_t                width,
5339                                int32_t                height,
5340                                uint32_t               format,
5341                                uint32_t               type,
5342                                uint8_t                swap_bytes,
5343                                uint8_t                lsb_first);
5344 
5345 uint8_t *
5346 xcb_glx_read_pixels_data (const xcb_glx_read_pixels_reply_t *R);
5347 
5348 int
5349 xcb_glx_read_pixels_data_length (const xcb_glx_read_pixels_reply_t *R);
5350 
5351 xcb_generic_iterator_t
5352 xcb_glx_read_pixels_data_end (const xcb_glx_read_pixels_reply_t *R);
5353 
5354 /**
5355  * Return the reply
5356  * @param c      The connection
5357  * @param cookie The cookie
5358  * @param e      The xcb_generic_error_t supplied
5359  *
5360  * Returns the reply of the request asked by
5361  *
5362  * The parameter @p e supplied to this function must be NULL if
5363  * xcb_glx_read_pixels_unchecked(). is used.
5364  * Otherwise, it stores the error if any.
5365  *
5366  * The returned value must be freed by the caller using free().
5367  */
5368 xcb_glx_read_pixels_reply_t *
5369 xcb_glx_read_pixels_reply (xcb_connection_t              *c,
5370                            xcb_glx_read_pixels_cookie_t   cookie  /**< */,
5371                            xcb_generic_error_t          **e);
5372 
5373 int
5374 xcb_glx_get_booleanv_sizeof (const void  *_buffer);
5375 
5376 /**
5377  *
5378  * @param c The connection
5379  * @return A cookie
5380  *
5381  * Delivers a request to the X server.
5382  *
5383  */
5384 xcb_glx_get_booleanv_cookie_t
5385 xcb_glx_get_booleanv (xcb_connection_t      *c,
5386                       xcb_glx_context_tag_t  context_tag,
5387                       int32_t                pname);
5388 
5389 /**
5390  *
5391  * @param c The connection
5392  * @return A cookie
5393  *
5394  * Delivers a request to the X server.
5395  *
5396  * This form can be used only if the request will cause
5397  * a reply to be generated. Any returned error will be
5398  * placed in the event queue.
5399  */
5400 xcb_glx_get_booleanv_cookie_t
5401 xcb_glx_get_booleanv_unchecked (xcb_connection_t      *c,
5402                                 xcb_glx_context_tag_t  context_tag,
5403                                 int32_t                pname);
5404 
5405 uint8_t *
5406 xcb_glx_get_booleanv_data (const xcb_glx_get_booleanv_reply_t *R);
5407 
5408 int
5409 xcb_glx_get_booleanv_data_length (const xcb_glx_get_booleanv_reply_t *R);
5410 
5411 xcb_generic_iterator_t
5412 xcb_glx_get_booleanv_data_end (const xcb_glx_get_booleanv_reply_t *R);
5413 
5414 /**
5415  * Return the reply
5416  * @param c      The connection
5417  * @param cookie The cookie
5418  * @param e      The xcb_generic_error_t supplied
5419  *
5420  * Returns the reply of the request asked by
5421  *
5422  * The parameter @p e supplied to this function must be NULL if
5423  * xcb_glx_get_booleanv_unchecked(). is used.
5424  * Otherwise, it stores the error if any.
5425  *
5426  * The returned value must be freed by the caller using free().
5427  */
5428 xcb_glx_get_booleanv_reply_t *
5429 xcb_glx_get_booleanv_reply (xcb_connection_t               *c,
5430                             xcb_glx_get_booleanv_cookie_t   cookie  /**< */,
5431                             xcb_generic_error_t           **e);
5432 
5433 int
5434 xcb_glx_get_clip_plane_sizeof (const void  *_buffer);
5435 
5436 /**
5437  *
5438  * @param c The connection
5439  * @return A cookie
5440  *
5441  * Delivers a request to the X server.
5442  *
5443  */
5444 xcb_glx_get_clip_plane_cookie_t
5445 xcb_glx_get_clip_plane (xcb_connection_t      *c,
5446                         xcb_glx_context_tag_t  context_tag,
5447                         int32_t                plane);
5448 
5449 /**
5450  *
5451  * @param c The connection
5452  * @return A cookie
5453  *
5454  * Delivers a request to the X server.
5455  *
5456  * This form can be used only if the request will cause
5457  * a reply to be generated. Any returned error will be
5458  * placed in the event queue.
5459  */
5460 xcb_glx_get_clip_plane_cookie_t
5461 xcb_glx_get_clip_plane_unchecked (xcb_connection_t      *c,
5462                                   xcb_glx_context_tag_t  context_tag,
5463                                   int32_t                plane);
5464 
5465 xcb_glx_float64_t *
5466 xcb_glx_get_clip_plane_data (const xcb_glx_get_clip_plane_reply_t *R);
5467 
5468 int
5469 xcb_glx_get_clip_plane_data_length (const xcb_glx_get_clip_plane_reply_t *R);
5470 
5471 xcb_generic_iterator_t
5472 xcb_glx_get_clip_plane_data_end (const xcb_glx_get_clip_plane_reply_t *R);
5473 
5474 /**
5475  * Return the reply
5476  * @param c      The connection
5477  * @param cookie The cookie
5478  * @param e      The xcb_generic_error_t supplied
5479  *
5480  * Returns the reply of the request asked by
5481  *
5482  * The parameter @p e supplied to this function must be NULL if
5483  * xcb_glx_get_clip_plane_unchecked(). is used.
5484  * Otherwise, it stores the error if any.
5485  *
5486  * The returned value must be freed by the caller using free().
5487  */
5488 xcb_glx_get_clip_plane_reply_t *
5489 xcb_glx_get_clip_plane_reply (xcb_connection_t                 *c,
5490                               xcb_glx_get_clip_plane_cookie_t   cookie  /**< */,
5491                               xcb_generic_error_t             **e);
5492 
5493 int
5494 xcb_glx_get_doublev_sizeof (const void  *_buffer);
5495 
5496 /**
5497  *
5498  * @param c The connection
5499  * @return A cookie
5500  *
5501  * Delivers a request to the X server.
5502  *
5503  */
5504 xcb_glx_get_doublev_cookie_t
5505 xcb_glx_get_doublev (xcb_connection_t      *c,
5506                      xcb_glx_context_tag_t  context_tag,
5507                      uint32_t               pname);
5508 
5509 /**
5510  *
5511  * @param c The connection
5512  * @return A cookie
5513  *
5514  * Delivers a request to the X server.
5515  *
5516  * This form can be used only if the request will cause
5517  * a reply to be generated. Any returned error will be
5518  * placed in the event queue.
5519  */
5520 xcb_glx_get_doublev_cookie_t
5521 xcb_glx_get_doublev_unchecked (xcb_connection_t      *c,
5522                                xcb_glx_context_tag_t  context_tag,
5523                                uint32_t               pname);
5524 
5525 xcb_glx_float64_t *
5526 xcb_glx_get_doublev_data (const xcb_glx_get_doublev_reply_t *R);
5527 
5528 int
5529 xcb_glx_get_doublev_data_length (const xcb_glx_get_doublev_reply_t *R);
5530 
5531 xcb_generic_iterator_t
5532 xcb_glx_get_doublev_data_end (const xcb_glx_get_doublev_reply_t *R);
5533 
5534 /**
5535  * Return the reply
5536  * @param c      The connection
5537  * @param cookie The cookie
5538  * @param e      The xcb_generic_error_t supplied
5539  *
5540  * Returns the reply of the request asked by
5541  *
5542  * The parameter @p e supplied to this function must be NULL if
5543  * xcb_glx_get_doublev_unchecked(). is used.
5544  * Otherwise, it stores the error if any.
5545  *
5546  * The returned value must be freed by the caller using free().
5547  */
5548 xcb_glx_get_doublev_reply_t *
5549 xcb_glx_get_doublev_reply (xcb_connection_t              *c,
5550                            xcb_glx_get_doublev_cookie_t   cookie  /**< */,
5551                            xcb_generic_error_t          **e);
5552 
5553 /**
5554  *
5555  * @param c The connection
5556  * @return A cookie
5557  *
5558  * Delivers a request to the X server.
5559  *
5560  */
5561 xcb_glx_get_error_cookie_t
5562 xcb_glx_get_error (xcb_connection_t      *c,
5563                    xcb_glx_context_tag_t  context_tag);
5564 
5565 /**
5566  *
5567  * @param c The connection
5568  * @return A cookie
5569  *
5570  * Delivers a request to the X server.
5571  *
5572  * This form can be used only if the request will cause
5573  * a reply to be generated. Any returned error will be
5574  * placed in the event queue.
5575  */
5576 xcb_glx_get_error_cookie_t
5577 xcb_glx_get_error_unchecked (xcb_connection_t      *c,
5578                              xcb_glx_context_tag_t  context_tag);
5579 
5580 /**
5581  * Return the reply
5582  * @param c      The connection
5583  * @param cookie The cookie
5584  * @param e      The xcb_generic_error_t supplied
5585  *
5586  * Returns the reply of the request asked by
5587  *
5588  * The parameter @p e supplied to this function must be NULL if
5589  * xcb_glx_get_error_unchecked(). is used.
5590  * Otherwise, it stores the error if any.
5591  *
5592  * The returned value must be freed by the caller using free().
5593  */
5594 xcb_glx_get_error_reply_t *
5595 xcb_glx_get_error_reply (xcb_connection_t            *c,
5596                          xcb_glx_get_error_cookie_t   cookie  /**< */,
5597                          xcb_generic_error_t        **e);
5598 
5599 int
5600 xcb_glx_get_floatv_sizeof (const void  *_buffer);
5601 
5602 /**
5603  *
5604  * @param c The connection
5605  * @return A cookie
5606  *
5607  * Delivers a request to the X server.
5608  *
5609  */
5610 xcb_glx_get_floatv_cookie_t
5611 xcb_glx_get_floatv (xcb_connection_t      *c,
5612                     xcb_glx_context_tag_t  context_tag,
5613                     uint32_t               pname);
5614 
5615 /**
5616  *
5617  * @param c The connection
5618  * @return A cookie
5619  *
5620  * Delivers a request to the X server.
5621  *
5622  * This form can be used only if the request will cause
5623  * a reply to be generated. Any returned error will be
5624  * placed in the event queue.
5625  */
5626 xcb_glx_get_floatv_cookie_t
5627 xcb_glx_get_floatv_unchecked (xcb_connection_t      *c,
5628                               xcb_glx_context_tag_t  context_tag,
5629                               uint32_t               pname);
5630 
5631 xcb_glx_float32_t *
5632 xcb_glx_get_floatv_data (const xcb_glx_get_floatv_reply_t *R);
5633 
5634 int
5635 xcb_glx_get_floatv_data_length (const xcb_glx_get_floatv_reply_t *R);
5636 
5637 xcb_generic_iterator_t
5638 xcb_glx_get_floatv_data_end (const xcb_glx_get_floatv_reply_t *R);
5639 
5640 /**
5641  * Return the reply
5642  * @param c      The connection
5643  * @param cookie The cookie
5644  * @param e      The xcb_generic_error_t supplied
5645  *
5646  * Returns the reply of the request asked by
5647  *
5648  * The parameter @p e supplied to this function must be NULL if
5649  * xcb_glx_get_floatv_unchecked(). is used.
5650  * Otherwise, it stores the error if any.
5651  *
5652  * The returned value must be freed by the caller using free().
5653  */
5654 xcb_glx_get_floatv_reply_t *
5655 xcb_glx_get_floatv_reply (xcb_connection_t             *c,
5656                           xcb_glx_get_floatv_cookie_t   cookie  /**< */,
5657                           xcb_generic_error_t         **e);
5658 
5659 int
5660 xcb_glx_get_integerv_sizeof (const void  *_buffer);
5661 
5662 /**
5663  *
5664  * @param c The connection
5665  * @return A cookie
5666  *
5667  * Delivers a request to the X server.
5668  *
5669  */
5670 xcb_glx_get_integerv_cookie_t
5671 xcb_glx_get_integerv (xcb_connection_t      *c,
5672                       xcb_glx_context_tag_t  context_tag,
5673                       uint32_t               pname);
5674 
5675 /**
5676  *
5677  * @param c The connection
5678  * @return A cookie
5679  *
5680  * Delivers a request to the X server.
5681  *
5682  * This form can be used only if the request will cause
5683  * a reply to be generated. Any returned error will be
5684  * placed in the event queue.
5685  */
5686 xcb_glx_get_integerv_cookie_t
5687 xcb_glx_get_integerv_unchecked (xcb_connection_t      *c,
5688                                 xcb_glx_context_tag_t  context_tag,
5689                                 uint32_t               pname);
5690 
5691 int32_t *
5692 xcb_glx_get_integerv_data (const xcb_glx_get_integerv_reply_t *R);
5693 
5694 int
5695 xcb_glx_get_integerv_data_length (const xcb_glx_get_integerv_reply_t *R);
5696 
5697 xcb_generic_iterator_t
5698 xcb_glx_get_integerv_data_end (const xcb_glx_get_integerv_reply_t *R);
5699 
5700 /**
5701  * Return the reply
5702  * @param c      The connection
5703  * @param cookie The cookie
5704  * @param e      The xcb_generic_error_t supplied
5705  *
5706  * Returns the reply of the request asked by
5707  *
5708  * The parameter @p e supplied to this function must be NULL if
5709  * xcb_glx_get_integerv_unchecked(). is used.
5710  * Otherwise, it stores the error if any.
5711  *
5712  * The returned value must be freed by the caller using free().
5713  */
5714 xcb_glx_get_integerv_reply_t *
5715 xcb_glx_get_integerv_reply (xcb_connection_t               *c,
5716                             xcb_glx_get_integerv_cookie_t   cookie  /**< */,
5717                             xcb_generic_error_t           **e);
5718 
5719 int
5720 xcb_glx_get_lightfv_sizeof (const void  *_buffer);
5721 
5722 /**
5723  *
5724  * @param c The connection
5725  * @return A cookie
5726  *
5727  * Delivers a request to the X server.
5728  *
5729  */
5730 xcb_glx_get_lightfv_cookie_t
5731 xcb_glx_get_lightfv (xcb_connection_t      *c,
5732                      xcb_glx_context_tag_t  context_tag,
5733                      uint32_t               light,
5734                      uint32_t               pname);
5735 
5736 /**
5737  *
5738  * @param c The connection
5739  * @return A cookie
5740  *
5741  * Delivers a request to the X server.
5742  *
5743  * This form can be used only if the request will cause
5744  * a reply to be generated. Any returned error will be
5745  * placed in the event queue.
5746  */
5747 xcb_glx_get_lightfv_cookie_t
5748 xcb_glx_get_lightfv_unchecked (xcb_connection_t      *c,
5749                                xcb_glx_context_tag_t  context_tag,
5750                                uint32_t               light,
5751                                uint32_t               pname);
5752 
5753 xcb_glx_float32_t *
5754 xcb_glx_get_lightfv_data (const xcb_glx_get_lightfv_reply_t *R);
5755 
5756 int
5757 xcb_glx_get_lightfv_data_length (const xcb_glx_get_lightfv_reply_t *R);
5758 
5759 xcb_generic_iterator_t
5760 xcb_glx_get_lightfv_data_end (const xcb_glx_get_lightfv_reply_t *R);
5761 
5762 /**
5763  * Return the reply
5764  * @param c      The connection
5765  * @param cookie The cookie
5766  * @param e      The xcb_generic_error_t supplied
5767  *
5768  * Returns the reply of the request asked by
5769  *
5770  * The parameter @p e supplied to this function must be NULL if
5771  * xcb_glx_get_lightfv_unchecked(). is used.
5772  * Otherwise, it stores the error if any.
5773  *
5774  * The returned value must be freed by the caller using free().
5775  */
5776 xcb_glx_get_lightfv_reply_t *
5777 xcb_glx_get_lightfv_reply (xcb_connection_t              *c,
5778                            xcb_glx_get_lightfv_cookie_t   cookie  /**< */,
5779                            xcb_generic_error_t          **e);
5780 
5781 int
5782 xcb_glx_get_lightiv_sizeof (const void  *_buffer);
5783 
5784 /**
5785  *
5786  * @param c The connection
5787  * @return A cookie
5788  *
5789  * Delivers a request to the X server.
5790  *
5791  */
5792 xcb_glx_get_lightiv_cookie_t
5793 xcb_glx_get_lightiv (xcb_connection_t      *c,
5794                      xcb_glx_context_tag_t  context_tag,
5795                      uint32_t               light,
5796                      uint32_t               pname);
5797 
5798 /**
5799  *
5800  * @param c The connection
5801  * @return A cookie
5802  *
5803  * Delivers a request to the X server.
5804  *
5805  * This form can be used only if the request will cause
5806  * a reply to be generated. Any returned error will be
5807  * placed in the event queue.
5808  */
5809 xcb_glx_get_lightiv_cookie_t
5810 xcb_glx_get_lightiv_unchecked (xcb_connection_t      *c,
5811                                xcb_glx_context_tag_t  context_tag,
5812                                uint32_t               light,
5813                                uint32_t               pname);
5814 
5815 int32_t *
5816 xcb_glx_get_lightiv_data (const xcb_glx_get_lightiv_reply_t *R);
5817 
5818 int
5819 xcb_glx_get_lightiv_data_length (const xcb_glx_get_lightiv_reply_t *R);
5820 
5821 xcb_generic_iterator_t
5822 xcb_glx_get_lightiv_data_end (const xcb_glx_get_lightiv_reply_t *R);
5823 
5824 /**
5825  * Return the reply
5826  * @param c      The connection
5827  * @param cookie The cookie
5828  * @param e      The xcb_generic_error_t supplied
5829  *
5830  * Returns the reply of the request asked by
5831  *
5832  * The parameter @p e supplied to this function must be NULL if
5833  * xcb_glx_get_lightiv_unchecked(). is used.
5834  * Otherwise, it stores the error if any.
5835  *
5836  * The returned value must be freed by the caller using free().
5837  */
5838 xcb_glx_get_lightiv_reply_t *
5839 xcb_glx_get_lightiv_reply (xcb_connection_t              *c,
5840                            xcb_glx_get_lightiv_cookie_t   cookie  /**< */,
5841                            xcb_generic_error_t          **e);
5842 
5843 int
5844 xcb_glx_get_mapdv_sizeof (const void  *_buffer);
5845 
5846 /**
5847  *
5848  * @param c The connection
5849  * @return A cookie
5850  *
5851  * Delivers a request to the X server.
5852  *
5853  */
5854 xcb_glx_get_mapdv_cookie_t
5855 xcb_glx_get_mapdv (xcb_connection_t      *c,
5856                    xcb_glx_context_tag_t  context_tag,
5857                    uint32_t               target,
5858                    uint32_t               query);
5859 
5860 /**
5861  *
5862  * @param c The connection
5863  * @return A cookie
5864  *
5865  * Delivers a request to the X server.
5866  *
5867  * This form can be used only if the request will cause
5868  * a reply to be generated. Any returned error will be
5869  * placed in the event queue.
5870  */
5871 xcb_glx_get_mapdv_cookie_t
5872 xcb_glx_get_mapdv_unchecked (xcb_connection_t      *c,
5873                              xcb_glx_context_tag_t  context_tag,
5874                              uint32_t               target,
5875                              uint32_t               query);
5876 
5877 xcb_glx_float64_t *
5878 xcb_glx_get_mapdv_data (const xcb_glx_get_mapdv_reply_t *R);
5879 
5880 int
5881 xcb_glx_get_mapdv_data_length (const xcb_glx_get_mapdv_reply_t *R);
5882 
5883 xcb_generic_iterator_t
5884 xcb_glx_get_mapdv_data_end (const xcb_glx_get_mapdv_reply_t *R);
5885 
5886 /**
5887  * Return the reply
5888  * @param c      The connection
5889  * @param cookie The cookie
5890  * @param e      The xcb_generic_error_t supplied
5891  *
5892  * Returns the reply of the request asked by
5893  *
5894  * The parameter @p e supplied to this function must be NULL if
5895  * xcb_glx_get_mapdv_unchecked(). is used.
5896  * Otherwise, it stores the error if any.
5897  *
5898  * The returned value must be freed by the caller using free().
5899  */
5900 xcb_glx_get_mapdv_reply_t *
5901 xcb_glx_get_mapdv_reply (xcb_connection_t            *c,
5902                          xcb_glx_get_mapdv_cookie_t   cookie  /**< */,
5903                          xcb_generic_error_t        **e);
5904 
5905 int
5906 xcb_glx_get_mapfv_sizeof (const void  *_buffer);
5907 
5908 /**
5909  *
5910  * @param c The connection
5911  * @return A cookie
5912  *
5913  * Delivers a request to the X server.
5914  *
5915  */
5916 xcb_glx_get_mapfv_cookie_t
5917 xcb_glx_get_mapfv (xcb_connection_t      *c,
5918                    xcb_glx_context_tag_t  context_tag,
5919                    uint32_t               target,
5920                    uint32_t               query);
5921 
5922 /**
5923  *
5924  * @param c The connection
5925  * @return A cookie
5926  *
5927  * Delivers a request to the X server.
5928  *
5929  * This form can be used only if the request will cause
5930  * a reply to be generated. Any returned error will be
5931  * placed in the event queue.
5932  */
5933 xcb_glx_get_mapfv_cookie_t
5934 xcb_glx_get_mapfv_unchecked (xcb_connection_t      *c,
5935                              xcb_glx_context_tag_t  context_tag,
5936                              uint32_t               target,
5937                              uint32_t               query);
5938 
5939 xcb_glx_float32_t *
5940 xcb_glx_get_mapfv_data (const xcb_glx_get_mapfv_reply_t *R);
5941 
5942 int
5943 xcb_glx_get_mapfv_data_length (const xcb_glx_get_mapfv_reply_t *R);
5944 
5945 xcb_generic_iterator_t
5946 xcb_glx_get_mapfv_data_end (const xcb_glx_get_mapfv_reply_t *R);
5947 
5948 /**
5949  * Return the reply
5950  * @param c      The connection
5951  * @param cookie The cookie
5952  * @param e      The xcb_generic_error_t supplied
5953  *
5954  * Returns the reply of the request asked by
5955  *
5956  * The parameter @p e supplied to this function must be NULL if
5957  * xcb_glx_get_mapfv_unchecked(). is used.
5958  * Otherwise, it stores the error if any.
5959  *
5960  * The returned value must be freed by the caller using free().
5961  */
5962 xcb_glx_get_mapfv_reply_t *
5963 xcb_glx_get_mapfv_reply (xcb_connection_t            *c,
5964                          xcb_glx_get_mapfv_cookie_t   cookie  /**< */,
5965                          xcb_generic_error_t        **e);
5966 
5967 int
5968 xcb_glx_get_mapiv_sizeof (const void  *_buffer);
5969 
5970 /**
5971  *
5972  * @param c The connection
5973  * @return A cookie
5974  *
5975  * Delivers a request to the X server.
5976  *
5977  */
5978 xcb_glx_get_mapiv_cookie_t
5979 xcb_glx_get_mapiv (xcb_connection_t      *c,
5980                    xcb_glx_context_tag_t  context_tag,
5981                    uint32_t               target,
5982                    uint32_t               query);
5983 
5984 /**
5985  *
5986  * @param c The connection
5987  * @return A cookie
5988  *
5989  * Delivers a request to the X server.
5990  *
5991  * This form can be used only if the request will cause
5992  * a reply to be generated. Any returned error will be
5993  * placed in the event queue.
5994  */
5995 xcb_glx_get_mapiv_cookie_t
5996 xcb_glx_get_mapiv_unchecked (xcb_connection_t      *c,
5997                              xcb_glx_context_tag_t  context_tag,
5998                              uint32_t               target,
5999                              uint32_t               query);
6000 
6001 int32_t *
6002 xcb_glx_get_mapiv_data (const xcb_glx_get_mapiv_reply_t *R);
6003 
6004 int
6005 xcb_glx_get_mapiv_data_length (const xcb_glx_get_mapiv_reply_t *R);
6006 
6007 xcb_generic_iterator_t
6008 xcb_glx_get_mapiv_data_end (const xcb_glx_get_mapiv_reply_t *R);
6009 
6010 /**
6011  * Return the reply
6012  * @param c      The connection
6013  * @param cookie The cookie
6014  * @param e      The xcb_generic_error_t supplied
6015  *
6016  * Returns the reply of the request asked by
6017  *
6018  * The parameter @p e supplied to this function must be NULL if
6019  * xcb_glx_get_mapiv_unchecked(). is used.
6020  * Otherwise, it stores the error if any.
6021  *
6022  * The returned value must be freed by the caller using free().
6023  */
6024 xcb_glx_get_mapiv_reply_t *
6025 xcb_glx_get_mapiv_reply (xcb_connection_t            *c,
6026                          xcb_glx_get_mapiv_cookie_t   cookie  /**< */,
6027                          xcb_generic_error_t        **e);
6028 
6029 int
6030 xcb_glx_get_materialfv_sizeof (const void  *_buffer);
6031 
6032 /**
6033  *
6034  * @param c The connection
6035  * @return A cookie
6036  *
6037  * Delivers a request to the X server.
6038  *
6039  */
6040 xcb_glx_get_materialfv_cookie_t
6041 xcb_glx_get_materialfv (xcb_connection_t      *c,
6042                         xcb_glx_context_tag_t  context_tag,
6043                         uint32_t               face,
6044                         uint32_t               pname);
6045 
6046 /**
6047  *
6048  * @param c The connection
6049  * @return A cookie
6050  *
6051  * Delivers a request to the X server.
6052  *
6053  * This form can be used only if the request will cause
6054  * a reply to be generated. Any returned error will be
6055  * placed in the event queue.
6056  */
6057 xcb_glx_get_materialfv_cookie_t
6058 xcb_glx_get_materialfv_unchecked (xcb_connection_t      *c,
6059                                   xcb_glx_context_tag_t  context_tag,
6060                                   uint32_t               face,
6061                                   uint32_t               pname);
6062 
6063 xcb_glx_float32_t *
6064 xcb_glx_get_materialfv_data (const xcb_glx_get_materialfv_reply_t *R);
6065 
6066 int
6067 xcb_glx_get_materialfv_data_length (const xcb_glx_get_materialfv_reply_t *R);
6068 
6069 xcb_generic_iterator_t
6070 xcb_glx_get_materialfv_data_end (const xcb_glx_get_materialfv_reply_t *R);
6071 
6072 /**
6073  * Return the reply
6074  * @param c      The connection
6075  * @param cookie The cookie
6076  * @param e      The xcb_generic_error_t supplied
6077  *
6078  * Returns the reply of the request asked by
6079  *
6080  * The parameter @p e supplied to this function must be NULL if
6081  * xcb_glx_get_materialfv_unchecked(). is used.
6082  * Otherwise, it stores the error if any.
6083  *
6084  * The returned value must be freed by the caller using free().
6085  */
6086 xcb_glx_get_materialfv_reply_t *
6087 xcb_glx_get_materialfv_reply (xcb_connection_t                 *c,
6088                               xcb_glx_get_materialfv_cookie_t   cookie  /**< */,
6089                               xcb_generic_error_t             **e);
6090 
6091 int
6092 xcb_glx_get_materialiv_sizeof (const void  *_buffer);
6093 
6094 /**
6095  *
6096  * @param c The connection
6097  * @return A cookie
6098  *
6099  * Delivers a request to the X server.
6100  *
6101  */
6102 xcb_glx_get_materialiv_cookie_t
6103 xcb_glx_get_materialiv (xcb_connection_t      *c,
6104                         xcb_glx_context_tag_t  context_tag,
6105                         uint32_t               face,
6106                         uint32_t               pname);
6107 
6108 /**
6109  *
6110  * @param c The connection
6111  * @return A cookie
6112  *
6113  * Delivers a request to the X server.
6114  *
6115  * This form can be used only if the request will cause
6116  * a reply to be generated. Any returned error will be
6117  * placed in the event queue.
6118  */
6119 xcb_glx_get_materialiv_cookie_t
6120 xcb_glx_get_materialiv_unchecked (xcb_connection_t      *c,
6121                                   xcb_glx_context_tag_t  context_tag,
6122                                   uint32_t               face,
6123                                   uint32_t               pname);
6124 
6125 int32_t *
6126 xcb_glx_get_materialiv_data (const xcb_glx_get_materialiv_reply_t *R);
6127 
6128 int
6129 xcb_glx_get_materialiv_data_length (const xcb_glx_get_materialiv_reply_t *R);
6130 
6131 xcb_generic_iterator_t
6132 xcb_glx_get_materialiv_data_end (const xcb_glx_get_materialiv_reply_t *R);
6133 
6134 /**
6135  * Return the reply
6136  * @param c      The connection
6137  * @param cookie The cookie
6138  * @param e      The xcb_generic_error_t supplied
6139  *
6140  * Returns the reply of the request asked by
6141  *
6142  * The parameter @p e supplied to this function must be NULL if
6143  * xcb_glx_get_materialiv_unchecked(). is used.
6144  * Otherwise, it stores the error if any.
6145  *
6146  * The returned value must be freed by the caller using free().
6147  */
6148 xcb_glx_get_materialiv_reply_t *
6149 xcb_glx_get_materialiv_reply (xcb_connection_t                 *c,
6150                               xcb_glx_get_materialiv_cookie_t   cookie  /**< */,
6151                               xcb_generic_error_t             **e);
6152 
6153 int
6154 xcb_glx_get_pixel_mapfv_sizeof (const void  *_buffer);
6155 
6156 /**
6157  *
6158  * @param c The connection
6159  * @return A cookie
6160  *
6161  * Delivers a request to the X server.
6162  *
6163  */
6164 xcb_glx_get_pixel_mapfv_cookie_t
6165 xcb_glx_get_pixel_mapfv (xcb_connection_t      *c,
6166                          xcb_glx_context_tag_t  context_tag,
6167                          uint32_t               map);
6168 
6169 /**
6170  *
6171  * @param c The connection
6172  * @return A cookie
6173  *
6174  * Delivers a request to the X server.
6175  *
6176  * This form can be used only if the request will cause
6177  * a reply to be generated. Any returned error will be
6178  * placed in the event queue.
6179  */
6180 xcb_glx_get_pixel_mapfv_cookie_t
6181 xcb_glx_get_pixel_mapfv_unchecked (xcb_connection_t      *c,
6182                                    xcb_glx_context_tag_t  context_tag,
6183                                    uint32_t               map);
6184 
6185 xcb_glx_float32_t *
6186 xcb_glx_get_pixel_mapfv_data (const xcb_glx_get_pixel_mapfv_reply_t *R);
6187 
6188 int
6189 xcb_glx_get_pixel_mapfv_data_length (const xcb_glx_get_pixel_mapfv_reply_t *R);
6190 
6191 xcb_generic_iterator_t
6192 xcb_glx_get_pixel_mapfv_data_end (const xcb_glx_get_pixel_mapfv_reply_t *R);
6193 
6194 /**
6195  * Return the reply
6196  * @param c      The connection
6197  * @param cookie The cookie
6198  * @param e      The xcb_generic_error_t supplied
6199  *
6200  * Returns the reply of the request asked by
6201  *
6202  * The parameter @p e supplied to this function must be NULL if
6203  * xcb_glx_get_pixel_mapfv_unchecked(). is used.
6204  * Otherwise, it stores the error if any.
6205  *
6206  * The returned value must be freed by the caller using free().
6207  */
6208 xcb_glx_get_pixel_mapfv_reply_t *
6209 xcb_glx_get_pixel_mapfv_reply (xcb_connection_t                  *c,
6210                                xcb_glx_get_pixel_mapfv_cookie_t   cookie  /**< */,
6211                                xcb_generic_error_t              **e);
6212 
6213 int
6214 xcb_glx_get_pixel_mapuiv_sizeof (const void  *_buffer);
6215 
6216 /**
6217  *
6218  * @param c The connection
6219  * @return A cookie
6220  *
6221  * Delivers a request to the X server.
6222  *
6223  */
6224 xcb_glx_get_pixel_mapuiv_cookie_t
6225 xcb_glx_get_pixel_mapuiv (xcb_connection_t      *c,
6226                           xcb_glx_context_tag_t  context_tag,
6227                           uint32_t               map);
6228 
6229 /**
6230  *
6231  * @param c The connection
6232  * @return A cookie
6233  *
6234  * Delivers a request to the X server.
6235  *
6236  * This form can be used only if the request will cause
6237  * a reply to be generated. Any returned error will be
6238  * placed in the event queue.
6239  */
6240 xcb_glx_get_pixel_mapuiv_cookie_t
6241 xcb_glx_get_pixel_mapuiv_unchecked (xcb_connection_t      *c,
6242                                     xcb_glx_context_tag_t  context_tag,
6243                                     uint32_t               map);
6244 
6245 uint32_t *
6246 xcb_glx_get_pixel_mapuiv_data (const xcb_glx_get_pixel_mapuiv_reply_t *R);
6247 
6248 int
6249 xcb_glx_get_pixel_mapuiv_data_length (const xcb_glx_get_pixel_mapuiv_reply_t *R);
6250 
6251 xcb_generic_iterator_t
6252 xcb_glx_get_pixel_mapuiv_data_end (const xcb_glx_get_pixel_mapuiv_reply_t *R);
6253 
6254 /**
6255  * Return the reply
6256  * @param c      The connection
6257  * @param cookie The cookie
6258  * @param e      The xcb_generic_error_t supplied
6259  *
6260  * Returns the reply of the request asked by
6261  *
6262  * The parameter @p e supplied to this function must be NULL if
6263  * xcb_glx_get_pixel_mapuiv_unchecked(). is used.
6264  * Otherwise, it stores the error if any.
6265  *
6266  * The returned value must be freed by the caller using free().
6267  */
6268 xcb_glx_get_pixel_mapuiv_reply_t *
6269 xcb_glx_get_pixel_mapuiv_reply (xcb_connection_t                   *c,
6270                                 xcb_glx_get_pixel_mapuiv_cookie_t   cookie  /**< */,
6271                                 xcb_generic_error_t               **e);
6272 
6273 int
6274 xcb_glx_get_pixel_mapusv_sizeof (const void  *_buffer);
6275 
6276 /**
6277  *
6278  * @param c The connection
6279  * @return A cookie
6280  *
6281  * Delivers a request to the X server.
6282  *
6283  */
6284 xcb_glx_get_pixel_mapusv_cookie_t
6285 xcb_glx_get_pixel_mapusv (xcb_connection_t      *c,
6286                           xcb_glx_context_tag_t  context_tag,
6287                           uint32_t               map);
6288 
6289 /**
6290  *
6291  * @param c The connection
6292  * @return A cookie
6293  *
6294  * Delivers a request to the X server.
6295  *
6296  * This form can be used only if the request will cause
6297  * a reply to be generated. Any returned error will be
6298  * placed in the event queue.
6299  */
6300 xcb_glx_get_pixel_mapusv_cookie_t
6301 xcb_glx_get_pixel_mapusv_unchecked (xcb_connection_t      *c,
6302                                     xcb_glx_context_tag_t  context_tag,
6303                                     uint32_t               map);
6304 
6305 uint16_t *
6306 xcb_glx_get_pixel_mapusv_data (const xcb_glx_get_pixel_mapusv_reply_t *R);
6307 
6308 int
6309 xcb_glx_get_pixel_mapusv_data_length (const xcb_glx_get_pixel_mapusv_reply_t *R);
6310 
6311 xcb_generic_iterator_t
6312 xcb_glx_get_pixel_mapusv_data_end (const xcb_glx_get_pixel_mapusv_reply_t *R);
6313 
6314 /**
6315  * Return the reply
6316  * @param c      The connection
6317  * @param cookie The cookie
6318  * @param e      The xcb_generic_error_t supplied
6319  *
6320  * Returns the reply of the request asked by
6321  *
6322  * The parameter @p e supplied to this function must be NULL if
6323  * xcb_glx_get_pixel_mapusv_unchecked(). is used.
6324  * Otherwise, it stores the error if any.
6325  *
6326  * The returned value must be freed by the caller using free().
6327  */
6328 xcb_glx_get_pixel_mapusv_reply_t *
6329 xcb_glx_get_pixel_mapusv_reply (xcb_connection_t                   *c,
6330                                 xcb_glx_get_pixel_mapusv_cookie_t   cookie  /**< */,
6331                                 xcb_generic_error_t               **e);
6332 
6333 int
6334 xcb_glx_get_polygon_stipple_sizeof (const void  *_buffer);
6335 
6336 /**
6337  *
6338  * @param c The connection
6339  * @return A cookie
6340  *
6341  * Delivers a request to the X server.
6342  *
6343  */
6344 xcb_glx_get_polygon_stipple_cookie_t
6345 xcb_glx_get_polygon_stipple (xcb_connection_t      *c,
6346                              xcb_glx_context_tag_t  context_tag,
6347                              uint8_t                lsb_first);
6348 
6349 /**
6350  *
6351  * @param c The connection
6352  * @return A cookie
6353  *
6354  * Delivers a request to the X server.
6355  *
6356  * This form can be used only if the request will cause
6357  * a reply to be generated. Any returned error will be
6358  * placed in the event queue.
6359  */
6360 xcb_glx_get_polygon_stipple_cookie_t
6361 xcb_glx_get_polygon_stipple_unchecked (xcb_connection_t      *c,
6362                                        xcb_glx_context_tag_t  context_tag,
6363                                        uint8_t                lsb_first);
6364 
6365 uint8_t *
6366 xcb_glx_get_polygon_stipple_data (const xcb_glx_get_polygon_stipple_reply_t *R);
6367 
6368 int
6369 xcb_glx_get_polygon_stipple_data_length (const xcb_glx_get_polygon_stipple_reply_t *R);
6370 
6371 xcb_generic_iterator_t
6372 xcb_glx_get_polygon_stipple_data_end (const xcb_glx_get_polygon_stipple_reply_t *R);
6373 
6374 /**
6375  * Return the reply
6376  * @param c      The connection
6377  * @param cookie The cookie
6378  * @param e      The xcb_generic_error_t supplied
6379  *
6380  * Returns the reply of the request asked by
6381  *
6382  * The parameter @p e supplied to this function must be NULL if
6383  * xcb_glx_get_polygon_stipple_unchecked(). is used.
6384  * Otherwise, it stores the error if any.
6385  *
6386  * The returned value must be freed by the caller using free().
6387  */
6388 xcb_glx_get_polygon_stipple_reply_t *
6389 xcb_glx_get_polygon_stipple_reply (xcb_connection_t                      *c,
6390                                    xcb_glx_get_polygon_stipple_cookie_t   cookie  /**< */,
6391                                    xcb_generic_error_t                  **e);
6392 
6393 int
6394 xcb_glx_get_string_sizeof (const void  *_buffer);
6395 
6396 /**
6397  *
6398  * @param c The connection
6399  * @return A cookie
6400  *
6401  * Delivers a request to the X server.
6402  *
6403  */
6404 xcb_glx_get_string_cookie_t
6405 xcb_glx_get_string (xcb_connection_t      *c,
6406                     xcb_glx_context_tag_t  context_tag,
6407                     uint32_t               name);
6408 
6409 /**
6410  *
6411  * @param c The connection
6412  * @return A cookie
6413  *
6414  * Delivers a request to the X server.
6415  *
6416  * This form can be used only if the request will cause
6417  * a reply to be generated. Any returned error will be
6418  * placed in the event queue.
6419  */
6420 xcb_glx_get_string_cookie_t
6421 xcb_glx_get_string_unchecked (xcb_connection_t      *c,
6422                               xcb_glx_context_tag_t  context_tag,
6423                               uint32_t               name);
6424 
6425 char *
6426 xcb_glx_get_string_string (const xcb_glx_get_string_reply_t *R);
6427 
6428 int
6429 xcb_glx_get_string_string_length (const xcb_glx_get_string_reply_t *R);
6430 
6431 xcb_generic_iterator_t
6432 xcb_glx_get_string_string_end (const xcb_glx_get_string_reply_t *R);
6433 
6434 /**
6435  * Return the reply
6436  * @param c      The connection
6437  * @param cookie The cookie
6438  * @param e      The xcb_generic_error_t supplied
6439  *
6440  * Returns the reply of the request asked by
6441  *
6442  * The parameter @p e supplied to this function must be NULL if
6443  * xcb_glx_get_string_unchecked(). is used.
6444  * Otherwise, it stores the error if any.
6445  *
6446  * The returned value must be freed by the caller using free().
6447  */
6448 xcb_glx_get_string_reply_t *
6449 xcb_glx_get_string_reply (xcb_connection_t             *c,
6450                           xcb_glx_get_string_cookie_t   cookie  /**< */,
6451                           xcb_generic_error_t         **e);
6452 
6453 int
6454 xcb_glx_get_tex_envfv_sizeof (const void  *_buffer);
6455 
6456 /**
6457  *
6458  * @param c The connection
6459  * @return A cookie
6460  *
6461  * Delivers a request to the X server.
6462  *
6463  */
6464 xcb_glx_get_tex_envfv_cookie_t
6465 xcb_glx_get_tex_envfv (xcb_connection_t      *c,
6466                        xcb_glx_context_tag_t  context_tag,
6467                        uint32_t               target,
6468                        uint32_t               pname);
6469 
6470 /**
6471  *
6472  * @param c The connection
6473  * @return A cookie
6474  *
6475  * Delivers a request to the X server.
6476  *
6477  * This form can be used only if the request will cause
6478  * a reply to be generated. Any returned error will be
6479  * placed in the event queue.
6480  */
6481 xcb_glx_get_tex_envfv_cookie_t
6482 xcb_glx_get_tex_envfv_unchecked (xcb_connection_t      *c,
6483                                  xcb_glx_context_tag_t  context_tag,
6484                                  uint32_t               target,
6485                                  uint32_t               pname);
6486 
6487 xcb_glx_float32_t *
6488 xcb_glx_get_tex_envfv_data (const xcb_glx_get_tex_envfv_reply_t *R);
6489 
6490 int
6491 xcb_glx_get_tex_envfv_data_length (const xcb_glx_get_tex_envfv_reply_t *R);
6492 
6493 xcb_generic_iterator_t
6494 xcb_glx_get_tex_envfv_data_end (const xcb_glx_get_tex_envfv_reply_t *R);
6495 
6496 /**
6497  * Return the reply
6498  * @param c      The connection
6499  * @param cookie The cookie
6500  * @param e      The xcb_generic_error_t supplied
6501  *
6502  * Returns the reply of the request asked by
6503  *
6504  * The parameter @p e supplied to this function must be NULL if
6505  * xcb_glx_get_tex_envfv_unchecked(). is used.
6506  * Otherwise, it stores the error if any.
6507  *
6508  * The returned value must be freed by the caller using free().
6509  */
6510 xcb_glx_get_tex_envfv_reply_t *
6511 xcb_glx_get_tex_envfv_reply (xcb_connection_t                *c,
6512                              xcb_glx_get_tex_envfv_cookie_t   cookie  /**< */,
6513                              xcb_generic_error_t            **e);
6514 
6515 int
6516 xcb_glx_get_tex_enviv_sizeof (const void  *_buffer);
6517 
6518 /**
6519  *
6520  * @param c The connection
6521  * @return A cookie
6522  *
6523  * Delivers a request to the X server.
6524  *
6525  */
6526 xcb_glx_get_tex_enviv_cookie_t
6527 xcb_glx_get_tex_enviv (xcb_connection_t      *c,
6528                        xcb_glx_context_tag_t  context_tag,
6529                        uint32_t               target,
6530                        uint32_t               pname);
6531 
6532 /**
6533  *
6534  * @param c The connection
6535  * @return A cookie
6536  *
6537  * Delivers a request to the X server.
6538  *
6539  * This form can be used only if the request will cause
6540  * a reply to be generated. Any returned error will be
6541  * placed in the event queue.
6542  */
6543 xcb_glx_get_tex_enviv_cookie_t
6544 xcb_glx_get_tex_enviv_unchecked (xcb_connection_t      *c,
6545                                  xcb_glx_context_tag_t  context_tag,
6546                                  uint32_t               target,
6547                                  uint32_t               pname);
6548 
6549 int32_t *
6550 xcb_glx_get_tex_enviv_data (const xcb_glx_get_tex_enviv_reply_t *R);
6551 
6552 int
6553 xcb_glx_get_tex_enviv_data_length (const xcb_glx_get_tex_enviv_reply_t *R);
6554 
6555 xcb_generic_iterator_t
6556 xcb_glx_get_tex_enviv_data_end (const xcb_glx_get_tex_enviv_reply_t *R);
6557 
6558 /**
6559  * Return the reply
6560  * @param c      The connection
6561  * @param cookie The cookie
6562  * @param e      The xcb_generic_error_t supplied
6563  *
6564  * Returns the reply of the request asked by
6565  *
6566  * The parameter @p e supplied to this function must be NULL if
6567  * xcb_glx_get_tex_enviv_unchecked(). is used.
6568  * Otherwise, it stores the error if any.
6569  *
6570  * The returned value must be freed by the caller using free().
6571  */
6572 xcb_glx_get_tex_enviv_reply_t *
6573 xcb_glx_get_tex_enviv_reply (xcb_connection_t                *c,
6574                              xcb_glx_get_tex_enviv_cookie_t   cookie  /**< */,
6575                              xcb_generic_error_t            **e);
6576 
6577 int
6578 xcb_glx_get_tex_gendv_sizeof (const void  *_buffer);
6579 
6580 /**
6581  *
6582  * @param c The connection
6583  * @return A cookie
6584  *
6585  * Delivers a request to the X server.
6586  *
6587  */
6588 xcb_glx_get_tex_gendv_cookie_t
6589 xcb_glx_get_tex_gendv (xcb_connection_t      *c,
6590                        xcb_glx_context_tag_t  context_tag,
6591                        uint32_t               coord,
6592                        uint32_t               pname);
6593 
6594 /**
6595  *
6596  * @param c The connection
6597  * @return A cookie
6598  *
6599  * Delivers a request to the X server.
6600  *
6601  * This form can be used only if the request will cause
6602  * a reply to be generated. Any returned error will be
6603  * placed in the event queue.
6604  */
6605 xcb_glx_get_tex_gendv_cookie_t
6606 xcb_glx_get_tex_gendv_unchecked (xcb_connection_t      *c,
6607                                  xcb_glx_context_tag_t  context_tag,
6608                                  uint32_t               coord,
6609                                  uint32_t               pname);
6610 
6611 xcb_glx_float64_t *
6612 xcb_glx_get_tex_gendv_data (const xcb_glx_get_tex_gendv_reply_t *R);
6613 
6614 int
6615 xcb_glx_get_tex_gendv_data_length (const xcb_glx_get_tex_gendv_reply_t *R);
6616 
6617 xcb_generic_iterator_t
6618 xcb_glx_get_tex_gendv_data_end (const xcb_glx_get_tex_gendv_reply_t *R);
6619 
6620 /**
6621  * Return the reply
6622  * @param c      The connection
6623  * @param cookie The cookie
6624  * @param e      The xcb_generic_error_t supplied
6625  *
6626  * Returns the reply of the request asked by
6627  *
6628  * The parameter @p e supplied to this function must be NULL if
6629  * xcb_glx_get_tex_gendv_unchecked(). is used.
6630  * Otherwise, it stores the error if any.
6631  *
6632  * The returned value must be freed by the caller using free().
6633  */
6634 xcb_glx_get_tex_gendv_reply_t *
6635 xcb_glx_get_tex_gendv_reply (xcb_connection_t                *c,
6636                              xcb_glx_get_tex_gendv_cookie_t   cookie  /**< */,
6637                              xcb_generic_error_t            **e);
6638 
6639 int
6640 xcb_glx_get_tex_genfv_sizeof (const void  *_buffer);
6641 
6642 /**
6643  *
6644  * @param c The connection
6645  * @return A cookie
6646  *
6647  * Delivers a request to the X server.
6648  *
6649  */
6650 xcb_glx_get_tex_genfv_cookie_t
6651 xcb_glx_get_tex_genfv (xcb_connection_t      *c,
6652                        xcb_glx_context_tag_t  context_tag,
6653                        uint32_t               coord,
6654                        uint32_t               pname);
6655 
6656 /**
6657  *
6658  * @param c The connection
6659  * @return A cookie
6660  *
6661  * Delivers a request to the X server.
6662  *
6663  * This form can be used only if the request will cause
6664  * a reply to be generated. Any returned error will be
6665  * placed in the event queue.
6666  */
6667 xcb_glx_get_tex_genfv_cookie_t
6668 xcb_glx_get_tex_genfv_unchecked (xcb_connection_t      *c,
6669                                  xcb_glx_context_tag_t  context_tag,
6670                                  uint32_t               coord,
6671                                  uint32_t               pname);
6672 
6673 xcb_glx_float32_t *
6674 xcb_glx_get_tex_genfv_data (const xcb_glx_get_tex_genfv_reply_t *R);
6675 
6676 int
6677 xcb_glx_get_tex_genfv_data_length (const xcb_glx_get_tex_genfv_reply_t *R);
6678 
6679 xcb_generic_iterator_t
6680 xcb_glx_get_tex_genfv_data_end (const xcb_glx_get_tex_genfv_reply_t *R);
6681 
6682 /**
6683  * Return the reply
6684  * @param c      The connection
6685  * @param cookie The cookie
6686  * @param e      The xcb_generic_error_t supplied
6687  *
6688  * Returns the reply of the request asked by
6689  *
6690  * The parameter @p e supplied to this function must be NULL if
6691  * xcb_glx_get_tex_genfv_unchecked(). is used.
6692  * Otherwise, it stores the error if any.
6693  *
6694  * The returned value must be freed by the caller using free().
6695  */
6696 xcb_glx_get_tex_genfv_reply_t *
6697 xcb_glx_get_tex_genfv_reply (xcb_connection_t                *c,
6698                              xcb_glx_get_tex_genfv_cookie_t   cookie  /**< */,
6699                              xcb_generic_error_t            **e);
6700 
6701 int
6702 xcb_glx_get_tex_geniv_sizeof (const void  *_buffer);
6703 
6704 /**
6705  *
6706  * @param c The connection
6707  * @return A cookie
6708  *
6709  * Delivers a request to the X server.
6710  *
6711  */
6712 xcb_glx_get_tex_geniv_cookie_t
6713 xcb_glx_get_tex_geniv (xcb_connection_t      *c,
6714                        xcb_glx_context_tag_t  context_tag,
6715                        uint32_t               coord,
6716                        uint32_t               pname);
6717 
6718 /**
6719  *
6720  * @param c The connection
6721  * @return A cookie
6722  *
6723  * Delivers a request to the X server.
6724  *
6725  * This form can be used only if the request will cause
6726  * a reply to be generated. Any returned error will be
6727  * placed in the event queue.
6728  */
6729 xcb_glx_get_tex_geniv_cookie_t
6730 xcb_glx_get_tex_geniv_unchecked (xcb_connection_t      *c,
6731                                  xcb_glx_context_tag_t  context_tag,
6732                                  uint32_t               coord,
6733                                  uint32_t               pname);
6734 
6735 int32_t *
6736 xcb_glx_get_tex_geniv_data (const xcb_glx_get_tex_geniv_reply_t *R);
6737 
6738 int
6739 xcb_glx_get_tex_geniv_data_length (const xcb_glx_get_tex_geniv_reply_t *R);
6740 
6741 xcb_generic_iterator_t
6742 xcb_glx_get_tex_geniv_data_end (const xcb_glx_get_tex_geniv_reply_t *R);
6743 
6744 /**
6745  * Return the reply
6746  * @param c      The connection
6747  * @param cookie The cookie
6748  * @param e      The xcb_generic_error_t supplied
6749  *
6750  * Returns the reply of the request asked by
6751  *
6752  * The parameter @p e supplied to this function must be NULL if
6753  * xcb_glx_get_tex_geniv_unchecked(). is used.
6754  * Otherwise, it stores the error if any.
6755  *
6756  * The returned value must be freed by the caller using free().
6757  */
6758 xcb_glx_get_tex_geniv_reply_t *
6759 xcb_glx_get_tex_geniv_reply (xcb_connection_t                *c,
6760                              xcb_glx_get_tex_geniv_cookie_t   cookie  /**< */,
6761                              xcb_generic_error_t            **e);
6762 
6763 int
6764 xcb_glx_get_tex_image_sizeof (const void  *_buffer);
6765 
6766 /**
6767  *
6768  * @param c The connection
6769  * @return A cookie
6770  *
6771  * Delivers a request to the X server.
6772  *
6773  */
6774 xcb_glx_get_tex_image_cookie_t
6775 xcb_glx_get_tex_image (xcb_connection_t      *c,
6776                        xcb_glx_context_tag_t  context_tag,
6777                        uint32_t               target,
6778                        int32_t                level,
6779                        uint32_t               format,
6780                        uint32_t               type,
6781                        uint8_t                swap_bytes);
6782 
6783 /**
6784  *
6785  * @param c The connection
6786  * @return A cookie
6787  *
6788  * Delivers a request to the X server.
6789  *
6790  * This form can be used only if the request will cause
6791  * a reply to be generated. Any returned error will be
6792  * placed in the event queue.
6793  */
6794 xcb_glx_get_tex_image_cookie_t
6795 xcb_glx_get_tex_image_unchecked (xcb_connection_t      *c,
6796                                  xcb_glx_context_tag_t  context_tag,
6797                                  uint32_t               target,
6798                                  int32_t                level,
6799                                  uint32_t               format,
6800                                  uint32_t               type,
6801                                  uint8_t                swap_bytes);
6802 
6803 uint8_t *
6804 xcb_glx_get_tex_image_data (const xcb_glx_get_tex_image_reply_t *R);
6805 
6806 int
6807 xcb_glx_get_tex_image_data_length (const xcb_glx_get_tex_image_reply_t *R);
6808 
6809 xcb_generic_iterator_t
6810 xcb_glx_get_tex_image_data_end (const xcb_glx_get_tex_image_reply_t *R);
6811 
6812 /**
6813  * Return the reply
6814  * @param c      The connection
6815  * @param cookie The cookie
6816  * @param e      The xcb_generic_error_t supplied
6817  *
6818  * Returns the reply of the request asked by
6819  *
6820  * The parameter @p e supplied to this function must be NULL if
6821  * xcb_glx_get_tex_image_unchecked(). is used.
6822  * Otherwise, it stores the error if any.
6823  *
6824  * The returned value must be freed by the caller using free().
6825  */
6826 xcb_glx_get_tex_image_reply_t *
6827 xcb_glx_get_tex_image_reply (xcb_connection_t                *c,
6828                              xcb_glx_get_tex_image_cookie_t   cookie  /**< */,
6829                              xcb_generic_error_t            **e);
6830 
6831 int
6832 xcb_glx_get_tex_parameterfv_sizeof (const void  *_buffer);
6833 
6834 /**
6835  *
6836  * @param c The connection
6837  * @return A cookie
6838  *
6839  * Delivers a request to the X server.
6840  *
6841  */
6842 xcb_glx_get_tex_parameterfv_cookie_t
6843 xcb_glx_get_tex_parameterfv (xcb_connection_t      *c,
6844                              xcb_glx_context_tag_t  context_tag,
6845                              uint32_t               target,
6846                              uint32_t               pname);
6847 
6848 /**
6849  *
6850  * @param c The connection
6851  * @return A cookie
6852  *
6853  * Delivers a request to the X server.
6854  *
6855  * This form can be used only if the request will cause
6856  * a reply to be generated. Any returned error will be
6857  * placed in the event queue.
6858  */
6859 xcb_glx_get_tex_parameterfv_cookie_t
6860 xcb_glx_get_tex_parameterfv_unchecked (xcb_connection_t      *c,
6861                                        xcb_glx_context_tag_t  context_tag,
6862                                        uint32_t               target,
6863                                        uint32_t               pname);
6864 
6865 xcb_glx_float32_t *
6866 xcb_glx_get_tex_parameterfv_data (const xcb_glx_get_tex_parameterfv_reply_t *R);
6867 
6868 int
6869 xcb_glx_get_tex_parameterfv_data_length (const xcb_glx_get_tex_parameterfv_reply_t *R);
6870 
6871 xcb_generic_iterator_t
6872 xcb_glx_get_tex_parameterfv_data_end (const xcb_glx_get_tex_parameterfv_reply_t *R);
6873 
6874 /**
6875  * Return the reply
6876  * @param c      The connection
6877  * @param cookie The cookie
6878  * @param e      The xcb_generic_error_t supplied
6879  *
6880  * Returns the reply of the request asked by
6881  *
6882  * The parameter @p e supplied to this function must be NULL if
6883  * xcb_glx_get_tex_parameterfv_unchecked(). is used.
6884  * Otherwise, it stores the error if any.
6885  *
6886  * The returned value must be freed by the caller using free().
6887  */
6888 xcb_glx_get_tex_parameterfv_reply_t *
6889 xcb_glx_get_tex_parameterfv_reply (xcb_connection_t                      *c,
6890                                    xcb_glx_get_tex_parameterfv_cookie_t   cookie  /**< */,
6891                                    xcb_generic_error_t                  **e);
6892 
6893 int
6894 xcb_glx_get_tex_parameteriv_sizeof (const void  *_buffer);
6895 
6896 /**
6897  *
6898  * @param c The connection
6899  * @return A cookie
6900  *
6901  * Delivers a request to the X server.
6902  *
6903  */
6904 xcb_glx_get_tex_parameteriv_cookie_t
6905 xcb_glx_get_tex_parameteriv (xcb_connection_t      *c,
6906                              xcb_glx_context_tag_t  context_tag,
6907                              uint32_t               target,
6908                              uint32_t               pname);
6909 
6910 /**
6911  *
6912  * @param c The connection
6913  * @return A cookie
6914  *
6915  * Delivers a request to the X server.
6916  *
6917  * This form can be used only if the request will cause
6918  * a reply to be generated. Any returned error will be
6919  * placed in the event queue.
6920  */
6921 xcb_glx_get_tex_parameteriv_cookie_t
6922 xcb_glx_get_tex_parameteriv_unchecked (xcb_connection_t      *c,
6923                                        xcb_glx_context_tag_t  context_tag,
6924                                        uint32_t               target,
6925                                        uint32_t               pname);
6926 
6927 int32_t *
6928 xcb_glx_get_tex_parameteriv_data (const xcb_glx_get_tex_parameteriv_reply_t *R);
6929 
6930 int
6931 xcb_glx_get_tex_parameteriv_data_length (const xcb_glx_get_tex_parameteriv_reply_t *R);
6932 
6933 xcb_generic_iterator_t
6934 xcb_glx_get_tex_parameteriv_data_end (const xcb_glx_get_tex_parameteriv_reply_t *R);
6935 
6936 /**
6937  * Return the reply
6938  * @param c      The connection
6939  * @param cookie The cookie
6940  * @param e      The xcb_generic_error_t supplied
6941  *
6942  * Returns the reply of the request asked by
6943  *
6944  * The parameter @p e supplied to this function must be NULL if
6945  * xcb_glx_get_tex_parameteriv_unchecked(). is used.
6946  * Otherwise, it stores the error if any.
6947  *
6948  * The returned value must be freed by the caller using free().
6949  */
6950 xcb_glx_get_tex_parameteriv_reply_t *
6951 xcb_glx_get_tex_parameteriv_reply (xcb_connection_t                      *c,
6952                                    xcb_glx_get_tex_parameteriv_cookie_t   cookie  /**< */,
6953                                    xcb_generic_error_t                  **e);
6954 
6955 int
6956 xcb_glx_get_tex_level_parameterfv_sizeof (const void  *_buffer);
6957 
6958 /**
6959  *
6960  * @param c The connection
6961  * @return A cookie
6962  *
6963  * Delivers a request to the X server.
6964  *
6965  */
6966 xcb_glx_get_tex_level_parameterfv_cookie_t
6967 xcb_glx_get_tex_level_parameterfv (xcb_connection_t      *c,
6968                                    xcb_glx_context_tag_t  context_tag,
6969                                    uint32_t               target,
6970                                    int32_t                level,
6971                                    uint32_t               pname);
6972 
6973 /**
6974  *
6975  * @param c The connection
6976  * @return A cookie
6977  *
6978  * Delivers a request to the X server.
6979  *
6980  * This form can be used only if the request will cause
6981  * a reply to be generated. Any returned error will be
6982  * placed in the event queue.
6983  */
6984 xcb_glx_get_tex_level_parameterfv_cookie_t
6985 xcb_glx_get_tex_level_parameterfv_unchecked (xcb_connection_t      *c,
6986                                              xcb_glx_context_tag_t  context_tag,
6987                                              uint32_t               target,
6988                                              int32_t                level,
6989                                              uint32_t               pname);
6990 
6991 xcb_glx_float32_t *
6992 xcb_glx_get_tex_level_parameterfv_data (const xcb_glx_get_tex_level_parameterfv_reply_t *R);
6993 
6994 int
6995 xcb_glx_get_tex_level_parameterfv_data_length (const xcb_glx_get_tex_level_parameterfv_reply_t *R);
6996 
6997 xcb_generic_iterator_t
6998 xcb_glx_get_tex_level_parameterfv_data_end (const xcb_glx_get_tex_level_parameterfv_reply_t *R);
6999 
7000 /**
7001  * Return the reply
7002  * @param c      The connection
7003  * @param cookie The cookie
7004  * @param e      The xcb_generic_error_t supplied
7005  *
7006  * Returns the reply of the request asked by
7007  *
7008  * The parameter @p e supplied to this function must be NULL if
7009  * xcb_glx_get_tex_level_parameterfv_unchecked(). is used.
7010  * Otherwise, it stores the error if any.
7011  *
7012  * The returned value must be freed by the caller using free().
7013  */
7014 xcb_glx_get_tex_level_parameterfv_reply_t *
7015 xcb_glx_get_tex_level_parameterfv_reply (xcb_connection_t                            *c,
7016                                          xcb_glx_get_tex_level_parameterfv_cookie_t   cookie  /**< */,
7017                                          xcb_generic_error_t                        **e);
7018 
7019 int
7020 xcb_glx_get_tex_level_parameteriv_sizeof (const void  *_buffer);
7021 
7022 /**
7023  *
7024  * @param c The connection
7025  * @return A cookie
7026  *
7027  * Delivers a request to the X server.
7028  *
7029  */
7030 xcb_glx_get_tex_level_parameteriv_cookie_t
7031 xcb_glx_get_tex_level_parameteriv (xcb_connection_t      *c,
7032                                    xcb_glx_context_tag_t  context_tag,
7033                                    uint32_t               target,
7034                                    int32_t                level,
7035                                    uint32_t               pname);
7036 
7037 /**
7038  *
7039  * @param c The connection
7040  * @return A cookie
7041  *
7042  * Delivers a request to the X server.
7043  *
7044  * This form can be used only if the request will cause
7045  * a reply to be generated. Any returned error will be
7046  * placed in the event queue.
7047  */
7048 xcb_glx_get_tex_level_parameteriv_cookie_t
7049 xcb_glx_get_tex_level_parameteriv_unchecked (xcb_connection_t      *c,
7050                                              xcb_glx_context_tag_t  context_tag,
7051                                              uint32_t               target,
7052                                              int32_t                level,
7053                                              uint32_t               pname);
7054 
7055 int32_t *
7056 xcb_glx_get_tex_level_parameteriv_data (const xcb_glx_get_tex_level_parameteriv_reply_t *R);
7057 
7058 int
7059 xcb_glx_get_tex_level_parameteriv_data_length (const xcb_glx_get_tex_level_parameteriv_reply_t *R);
7060 
7061 xcb_generic_iterator_t
7062 xcb_glx_get_tex_level_parameteriv_data_end (const xcb_glx_get_tex_level_parameteriv_reply_t *R);
7063 
7064 /**
7065  * Return the reply
7066  * @param c      The connection
7067  * @param cookie The cookie
7068  * @param e      The xcb_generic_error_t supplied
7069  *
7070  * Returns the reply of the request asked by
7071  *
7072  * The parameter @p e supplied to this function must be NULL if
7073  * xcb_glx_get_tex_level_parameteriv_unchecked(). is used.
7074  * Otherwise, it stores the error if any.
7075  *
7076  * The returned value must be freed by the caller using free().
7077  */
7078 xcb_glx_get_tex_level_parameteriv_reply_t *
7079 xcb_glx_get_tex_level_parameteriv_reply (xcb_connection_t                            *c,
7080                                          xcb_glx_get_tex_level_parameteriv_cookie_t   cookie  /**< */,
7081                                          xcb_generic_error_t                        **e);
7082 
7083 /**
7084  *
7085  * @param c The connection
7086  * @return A cookie
7087  *
7088  * Delivers a request to the X server.
7089  *
7090  */
7091 xcb_glx_is_enabled_cookie_t
7092 xcb_glx_is_enabled (xcb_connection_t      *c,
7093                     xcb_glx_context_tag_t  context_tag,
7094                     uint32_t               capability);
7095 
7096 /**
7097  *
7098  * @param c The connection
7099  * @return A cookie
7100  *
7101  * Delivers a request to the X server.
7102  *
7103  * This form can be used only if the request will cause
7104  * a reply to be generated. Any returned error will be
7105  * placed in the event queue.
7106  */
7107 xcb_glx_is_enabled_cookie_t
7108 xcb_glx_is_enabled_unchecked (xcb_connection_t      *c,
7109                               xcb_glx_context_tag_t  context_tag,
7110                               uint32_t               capability);
7111 
7112 /**
7113  * Return the reply
7114  * @param c      The connection
7115  * @param cookie The cookie
7116  * @param e      The xcb_generic_error_t supplied
7117  *
7118  * Returns the reply of the request asked by
7119  *
7120  * The parameter @p e supplied to this function must be NULL if
7121  * xcb_glx_is_enabled_unchecked(). is used.
7122  * Otherwise, it stores the error if any.
7123  *
7124  * The returned value must be freed by the caller using free().
7125  */
7126 xcb_glx_is_enabled_reply_t *
7127 xcb_glx_is_enabled_reply (xcb_connection_t             *c,
7128                           xcb_glx_is_enabled_cookie_t   cookie  /**< */,
7129                           xcb_generic_error_t         **e);
7130 
7131 /**
7132  *
7133  * @param c The connection
7134  * @return A cookie
7135  *
7136  * Delivers a request to the X server.
7137  *
7138  */
7139 xcb_glx_is_list_cookie_t
7140 xcb_glx_is_list (xcb_connection_t      *c,
7141                  xcb_glx_context_tag_t  context_tag,
7142                  uint32_t               list);
7143 
7144 /**
7145  *
7146  * @param c The connection
7147  * @return A cookie
7148  *
7149  * Delivers a request to the X server.
7150  *
7151  * This form can be used only if the request will cause
7152  * a reply to be generated. Any returned error will be
7153  * placed in the event queue.
7154  */
7155 xcb_glx_is_list_cookie_t
7156 xcb_glx_is_list_unchecked (xcb_connection_t      *c,
7157                            xcb_glx_context_tag_t  context_tag,
7158                            uint32_t               list);
7159 
7160 /**
7161  * Return the reply
7162  * @param c      The connection
7163  * @param cookie The cookie
7164  * @param e      The xcb_generic_error_t supplied
7165  *
7166  * Returns the reply of the request asked by
7167  *
7168  * The parameter @p e supplied to this function must be NULL if
7169  * xcb_glx_is_list_unchecked(). is used.
7170  * Otherwise, it stores the error if any.
7171  *
7172  * The returned value must be freed by the caller using free().
7173  */
7174 xcb_glx_is_list_reply_t *
7175 xcb_glx_is_list_reply (xcb_connection_t          *c,
7176                        xcb_glx_is_list_cookie_t   cookie  /**< */,
7177                        xcb_generic_error_t      **e);
7178 
7179 /**
7180  *
7181  * @param c The connection
7182  * @return A cookie
7183  *
7184  * Delivers a request to the X server.
7185  *
7186  * This form can be used only if the request will not cause
7187  * a reply to be generated. Any returned error will be
7188  * saved for handling by xcb_request_check().
7189  */
7190 xcb_void_cookie_t
7191 xcb_glx_flush_checked (xcb_connection_t      *c,
7192                        xcb_glx_context_tag_t  context_tag);
7193 
7194 /**
7195  *
7196  * @param c The connection
7197  * @return A cookie
7198  *
7199  * Delivers a request to the X server.
7200  *
7201  */
7202 xcb_void_cookie_t
7203 xcb_glx_flush (xcb_connection_t      *c,
7204                xcb_glx_context_tag_t  context_tag);
7205 
7206 int
7207 xcb_glx_are_textures_resident_sizeof (const void  *_buffer);
7208 
7209 /**
7210  *
7211  * @param c The connection
7212  * @return A cookie
7213  *
7214  * Delivers a request to the X server.
7215  *
7216  */
7217 xcb_glx_are_textures_resident_cookie_t
7218 xcb_glx_are_textures_resident (xcb_connection_t      *c,
7219                                xcb_glx_context_tag_t  context_tag,
7220                                int32_t                n,
7221                                const uint32_t        *textures);
7222 
7223 /**
7224  *
7225  * @param c The connection
7226  * @return A cookie
7227  *
7228  * Delivers a request to the X server.
7229  *
7230  * This form can be used only if the request will cause
7231  * a reply to be generated. Any returned error will be
7232  * placed in the event queue.
7233  */
7234 xcb_glx_are_textures_resident_cookie_t
7235 xcb_glx_are_textures_resident_unchecked (xcb_connection_t      *c,
7236                                          xcb_glx_context_tag_t  context_tag,
7237                                          int32_t                n,
7238                                          const uint32_t        *textures);
7239 
7240 uint8_t *
7241 xcb_glx_are_textures_resident_data (const xcb_glx_are_textures_resident_reply_t *R);
7242 
7243 int
7244 xcb_glx_are_textures_resident_data_length (const xcb_glx_are_textures_resident_reply_t *R);
7245 
7246 xcb_generic_iterator_t
7247 xcb_glx_are_textures_resident_data_end (const xcb_glx_are_textures_resident_reply_t *R);
7248 
7249 /**
7250  * Return the reply
7251  * @param c      The connection
7252  * @param cookie The cookie
7253  * @param e      The xcb_generic_error_t supplied
7254  *
7255  * Returns the reply of the request asked by
7256  *
7257  * The parameter @p e supplied to this function must be NULL if
7258  * xcb_glx_are_textures_resident_unchecked(). is used.
7259  * Otherwise, it stores the error if any.
7260  *
7261  * The returned value must be freed by the caller using free().
7262  */
7263 xcb_glx_are_textures_resident_reply_t *
7264 xcb_glx_are_textures_resident_reply (xcb_connection_t                        *c,
7265                                      xcb_glx_are_textures_resident_cookie_t   cookie  /**< */,
7266                                      xcb_generic_error_t                    **e);
7267 
7268 int
7269 xcb_glx_delete_textures_sizeof (const void  *_buffer);
7270 
7271 /**
7272  *
7273  * @param c The connection
7274  * @return A cookie
7275  *
7276  * Delivers a request to the X server.
7277  *
7278  * This form can be used only if the request will not cause
7279  * a reply to be generated. Any returned error will be
7280  * saved for handling by xcb_request_check().
7281  */
7282 xcb_void_cookie_t
7283 xcb_glx_delete_textures_checked (xcb_connection_t      *c,
7284                                  xcb_glx_context_tag_t  context_tag,
7285                                  int32_t                n,
7286                                  const uint32_t        *textures);
7287 
7288 /**
7289  *
7290  * @param c The connection
7291  * @return A cookie
7292  *
7293  * Delivers a request to the X server.
7294  *
7295  */
7296 xcb_void_cookie_t
7297 xcb_glx_delete_textures (xcb_connection_t      *c,
7298                          xcb_glx_context_tag_t  context_tag,
7299                          int32_t                n,
7300                          const uint32_t        *textures);
7301 
7302 uint32_t *
7303 xcb_glx_delete_textures_textures (const xcb_glx_delete_textures_request_t *R);
7304 
7305 int
7306 xcb_glx_delete_textures_textures_length (const xcb_glx_delete_textures_request_t *R);
7307 
7308 xcb_generic_iterator_t
7309 xcb_glx_delete_textures_textures_end (const xcb_glx_delete_textures_request_t *R);
7310 
7311 int
7312 xcb_glx_gen_textures_sizeof (const void  *_buffer);
7313 
7314 /**
7315  *
7316  * @param c The connection
7317  * @return A cookie
7318  *
7319  * Delivers a request to the X server.
7320  *
7321  */
7322 xcb_glx_gen_textures_cookie_t
7323 xcb_glx_gen_textures (xcb_connection_t      *c,
7324                       xcb_glx_context_tag_t  context_tag,
7325                       int32_t                n);
7326 
7327 /**
7328  *
7329  * @param c The connection
7330  * @return A cookie
7331  *
7332  * Delivers a request to the X server.
7333  *
7334  * This form can be used only if the request will cause
7335  * a reply to be generated. Any returned error will be
7336  * placed in the event queue.
7337  */
7338 xcb_glx_gen_textures_cookie_t
7339 xcb_glx_gen_textures_unchecked (xcb_connection_t      *c,
7340                                 xcb_glx_context_tag_t  context_tag,
7341                                 int32_t                n);
7342 
7343 uint32_t *
7344 xcb_glx_gen_textures_data (const xcb_glx_gen_textures_reply_t *R);
7345 
7346 int
7347 xcb_glx_gen_textures_data_length (const xcb_glx_gen_textures_reply_t *R);
7348 
7349 xcb_generic_iterator_t
7350 xcb_glx_gen_textures_data_end (const xcb_glx_gen_textures_reply_t *R);
7351 
7352 /**
7353  * Return the reply
7354  * @param c      The connection
7355  * @param cookie The cookie
7356  * @param e      The xcb_generic_error_t supplied
7357  *
7358  * Returns the reply of the request asked by
7359  *
7360  * The parameter @p e supplied to this function must be NULL if
7361  * xcb_glx_gen_textures_unchecked(). is used.
7362  * Otherwise, it stores the error if any.
7363  *
7364  * The returned value must be freed by the caller using free().
7365  */
7366 xcb_glx_gen_textures_reply_t *
7367 xcb_glx_gen_textures_reply (xcb_connection_t               *c,
7368                             xcb_glx_gen_textures_cookie_t   cookie  /**< */,
7369                             xcb_generic_error_t           **e);
7370 
7371 /**
7372  *
7373  * @param c The connection
7374  * @return A cookie
7375  *
7376  * Delivers a request to the X server.
7377  *
7378  */
7379 xcb_glx_is_texture_cookie_t
7380 xcb_glx_is_texture (xcb_connection_t      *c,
7381                     xcb_glx_context_tag_t  context_tag,
7382                     uint32_t               texture);
7383 
7384 /**
7385  *
7386  * @param c The connection
7387  * @return A cookie
7388  *
7389  * Delivers a request to the X server.
7390  *
7391  * This form can be used only if the request will cause
7392  * a reply to be generated. Any returned error will be
7393  * placed in the event queue.
7394  */
7395 xcb_glx_is_texture_cookie_t
7396 xcb_glx_is_texture_unchecked (xcb_connection_t      *c,
7397                               xcb_glx_context_tag_t  context_tag,
7398                               uint32_t               texture);
7399 
7400 /**
7401  * Return the reply
7402  * @param c      The connection
7403  * @param cookie The cookie
7404  * @param e      The xcb_generic_error_t supplied
7405  *
7406  * Returns the reply of the request asked by
7407  *
7408  * The parameter @p e supplied to this function must be NULL if
7409  * xcb_glx_is_texture_unchecked(). is used.
7410  * Otherwise, it stores the error if any.
7411  *
7412  * The returned value must be freed by the caller using free().
7413  */
7414 xcb_glx_is_texture_reply_t *
7415 xcb_glx_is_texture_reply (xcb_connection_t             *c,
7416                           xcb_glx_is_texture_cookie_t   cookie  /**< */,
7417                           xcb_generic_error_t         **e);
7418 
7419 int
7420 xcb_glx_get_color_table_sizeof (const void  *_buffer);
7421 
7422 /**
7423  *
7424  * @param c The connection
7425  * @return A cookie
7426  *
7427  * Delivers a request to the X server.
7428  *
7429  */
7430 xcb_glx_get_color_table_cookie_t
7431 xcb_glx_get_color_table (xcb_connection_t      *c,
7432                          xcb_glx_context_tag_t  context_tag,
7433                          uint32_t               target,
7434                          uint32_t               format,
7435                          uint32_t               type,
7436                          uint8_t                swap_bytes);
7437 
7438 /**
7439  *
7440  * @param c The connection
7441  * @return A cookie
7442  *
7443  * Delivers a request to the X server.
7444  *
7445  * This form can be used only if the request will cause
7446  * a reply to be generated. Any returned error will be
7447  * placed in the event queue.
7448  */
7449 xcb_glx_get_color_table_cookie_t
7450 xcb_glx_get_color_table_unchecked (xcb_connection_t      *c,
7451                                    xcb_glx_context_tag_t  context_tag,
7452                                    uint32_t               target,
7453                                    uint32_t               format,
7454                                    uint32_t               type,
7455                                    uint8_t                swap_bytes);
7456 
7457 uint8_t *
7458 xcb_glx_get_color_table_data (const xcb_glx_get_color_table_reply_t *R);
7459 
7460 int
7461 xcb_glx_get_color_table_data_length (const xcb_glx_get_color_table_reply_t *R);
7462 
7463 xcb_generic_iterator_t
7464 xcb_glx_get_color_table_data_end (const xcb_glx_get_color_table_reply_t *R);
7465 
7466 /**
7467  * Return the reply
7468  * @param c      The connection
7469  * @param cookie The cookie
7470  * @param e      The xcb_generic_error_t supplied
7471  *
7472  * Returns the reply of the request asked by
7473  *
7474  * The parameter @p e supplied to this function must be NULL if
7475  * xcb_glx_get_color_table_unchecked(). is used.
7476  * Otherwise, it stores the error if any.
7477  *
7478  * The returned value must be freed by the caller using free().
7479  */
7480 xcb_glx_get_color_table_reply_t *
7481 xcb_glx_get_color_table_reply (xcb_connection_t                  *c,
7482                                xcb_glx_get_color_table_cookie_t   cookie  /**< */,
7483                                xcb_generic_error_t              **e);
7484 
7485 int
7486 xcb_glx_get_color_table_parameterfv_sizeof (const void  *_buffer);
7487 
7488 /**
7489  *
7490  * @param c The connection
7491  * @return A cookie
7492  *
7493  * Delivers a request to the X server.
7494  *
7495  */
7496 xcb_glx_get_color_table_parameterfv_cookie_t
7497 xcb_glx_get_color_table_parameterfv (xcb_connection_t      *c,
7498                                      xcb_glx_context_tag_t  context_tag,
7499                                      uint32_t               target,
7500                                      uint32_t               pname);
7501 
7502 /**
7503  *
7504  * @param c The connection
7505  * @return A cookie
7506  *
7507  * Delivers a request to the X server.
7508  *
7509  * This form can be used only if the request will cause
7510  * a reply to be generated. Any returned error will be
7511  * placed in the event queue.
7512  */
7513 xcb_glx_get_color_table_parameterfv_cookie_t
7514 xcb_glx_get_color_table_parameterfv_unchecked (xcb_connection_t      *c,
7515                                                xcb_glx_context_tag_t  context_tag,
7516                                                uint32_t               target,
7517                                                uint32_t               pname);
7518 
7519 xcb_glx_float32_t *
7520 xcb_glx_get_color_table_parameterfv_data (const xcb_glx_get_color_table_parameterfv_reply_t *R);
7521 
7522 int
7523 xcb_glx_get_color_table_parameterfv_data_length (const xcb_glx_get_color_table_parameterfv_reply_t *R);
7524 
7525 xcb_generic_iterator_t
7526 xcb_glx_get_color_table_parameterfv_data_end (const xcb_glx_get_color_table_parameterfv_reply_t *R);
7527 
7528 /**
7529  * Return the reply
7530  * @param c      The connection
7531  * @param cookie The cookie
7532  * @param e      The xcb_generic_error_t supplied
7533  *
7534  * Returns the reply of the request asked by
7535  *
7536  * The parameter @p e supplied to this function must be NULL if
7537  * xcb_glx_get_color_table_parameterfv_unchecked(). is used.
7538  * Otherwise, it stores the error if any.
7539  *
7540  * The returned value must be freed by the caller using free().
7541  */
7542 xcb_glx_get_color_table_parameterfv_reply_t *
7543 xcb_glx_get_color_table_parameterfv_reply (xcb_connection_t                              *c,
7544                                            xcb_glx_get_color_table_parameterfv_cookie_t   cookie  /**< */,
7545                                            xcb_generic_error_t                          **e);
7546 
7547 int
7548 xcb_glx_get_color_table_parameteriv_sizeof (const void  *_buffer);
7549 
7550 /**
7551  *
7552  * @param c The connection
7553  * @return A cookie
7554  *
7555  * Delivers a request to the X server.
7556  *
7557  */
7558 xcb_glx_get_color_table_parameteriv_cookie_t
7559 xcb_glx_get_color_table_parameteriv (xcb_connection_t      *c,
7560                                      xcb_glx_context_tag_t  context_tag,
7561                                      uint32_t               target,
7562                                      uint32_t               pname);
7563 
7564 /**
7565  *
7566  * @param c The connection
7567  * @return A cookie
7568  *
7569  * Delivers a request to the X server.
7570  *
7571  * This form can be used only if the request will cause
7572  * a reply to be generated. Any returned error will be
7573  * placed in the event queue.
7574  */
7575 xcb_glx_get_color_table_parameteriv_cookie_t
7576 xcb_glx_get_color_table_parameteriv_unchecked (xcb_connection_t      *c,
7577                                                xcb_glx_context_tag_t  context_tag,
7578                                                uint32_t               target,
7579                                                uint32_t               pname);
7580 
7581 int32_t *
7582 xcb_glx_get_color_table_parameteriv_data (const xcb_glx_get_color_table_parameteriv_reply_t *R);
7583 
7584 int
7585 xcb_glx_get_color_table_parameteriv_data_length (const xcb_glx_get_color_table_parameteriv_reply_t *R);
7586 
7587 xcb_generic_iterator_t
7588 xcb_glx_get_color_table_parameteriv_data_end (const xcb_glx_get_color_table_parameteriv_reply_t *R);
7589 
7590 /**
7591  * Return the reply
7592  * @param c      The connection
7593  * @param cookie The cookie
7594  * @param e      The xcb_generic_error_t supplied
7595  *
7596  * Returns the reply of the request asked by
7597  *
7598  * The parameter @p e supplied to this function must be NULL if
7599  * xcb_glx_get_color_table_parameteriv_unchecked(). is used.
7600  * Otherwise, it stores the error if any.
7601  *
7602  * The returned value must be freed by the caller using free().
7603  */
7604 xcb_glx_get_color_table_parameteriv_reply_t *
7605 xcb_glx_get_color_table_parameteriv_reply (xcb_connection_t                              *c,
7606                                            xcb_glx_get_color_table_parameteriv_cookie_t   cookie  /**< */,
7607                                            xcb_generic_error_t                          **e);
7608 
7609 int
7610 xcb_glx_get_convolution_filter_sizeof (const void  *_buffer);
7611 
7612 /**
7613  *
7614  * @param c The connection
7615  * @return A cookie
7616  *
7617  * Delivers a request to the X server.
7618  *
7619  */
7620 xcb_glx_get_convolution_filter_cookie_t
7621 xcb_glx_get_convolution_filter (xcb_connection_t      *c,
7622                                 xcb_glx_context_tag_t  context_tag,
7623                                 uint32_t               target,
7624                                 uint32_t               format,
7625                                 uint32_t               type,
7626                                 uint8_t                swap_bytes);
7627 
7628 /**
7629  *
7630  * @param c The connection
7631  * @return A cookie
7632  *
7633  * Delivers a request to the X server.
7634  *
7635  * This form can be used only if the request will cause
7636  * a reply to be generated. Any returned error will be
7637  * placed in the event queue.
7638  */
7639 xcb_glx_get_convolution_filter_cookie_t
7640 xcb_glx_get_convolution_filter_unchecked (xcb_connection_t      *c,
7641                                           xcb_glx_context_tag_t  context_tag,
7642                                           uint32_t               target,
7643                                           uint32_t               format,
7644                                           uint32_t               type,
7645                                           uint8_t                swap_bytes);
7646 
7647 uint8_t *
7648 xcb_glx_get_convolution_filter_data (const xcb_glx_get_convolution_filter_reply_t *R);
7649 
7650 int
7651 xcb_glx_get_convolution_filter_data_length (const xcb_glx_get_convolution_filter_reply_t *R);
7652 
7653 xcb_generic_iterator_t
7654 xcb_glx_get_convolution_filter_data_end (const xcb_glx_get_convolution_filter_reply_t *R);
7655 
7656 /**
7657  * Return the reply
7658  * @param c      The connection
7659  * @param cookie The cookie
7660  * @param e      The xcb_generic_error_t supplied
7661  *
7662  * Returns the reply of the request asked by
7663  *
7664  * The parameter @p e supplied to this function must be NULL if
7665  * xcb_glx_get_convolution_filter_unchecked(). is used.
7666  * Otherwise, it stores the error if any.
7667  *
7668  * The returned value must be freed by the caller using free().
7669  */
7670 xcb_glx_get_convolution_filter_reply_t *
7671 xcb_glx_get_convolution_filter_reply (xcb_connection_t                         *c,
7672                                       xcb_glx_get_convolution_filter_cookie_t   cookie  /**< */,
7673                                       xcb_generic_error_t                     **e);
7674 
7675 int
7676 xcb_glx_get_convolution_parameterfv_sizeof (const void  *_buffer);
7677 
7678 /**
7679  *
7680  * @param c The connection
7681  * @return A cookie
7682  *
7683  * Delivers a request to the X server.
7684  *
7685  */
7686 xcb_glx_get_convolution_parameterfv_cookie_t
7687 xcb_glx_get_convolution_parameterfv (xcb_connection_t      *c,
7688                                      xcb_glx_context_tag_t  context_tag,
7689                                      uint32_t               target,
7690                                      uint32_t               pname);
7691 
7692 /**
7693  *
7694  * @param c The connection
7695  * @return A cookie
7696  *
7697  * Delivers a request to the X server.
7698  *
7699  * This form can be used only if the request will cause
7700  * a reply to be generated. Any returned error will be
7701  * placed in the event queue.
7702  */
7703 xcb_glx_get_convolution_parameterfv_cookie_t
7704 xcb_glx_get_convolution_parameterfv_unchecked (xcb_connection_t      *c,
7705                                                xcb_glx_context_tag_t  context_tag,
7706                                                uint32_t               target,
7707                                                uint32_t               pname);
7708 
7709 xcb_glx_float32_t *
7710 xcb_glx_get_convolution_parameterfv_data (const xcb_glx_get_convolution_parameterfv_reply_t *R);
7711 
7712 int
7713 xcb_glx_get_convolution_parameterfv_data_length (const xcb_glx_get_convolution_parameterfv_reply_t *R);
7714 
7715 xcb_generic_iterator_t
7716 xcb_glx_get_convolution_parameterfv_data_end (const xcb_glx_get_convolution_parameterfv_reply_t *R);
7717 
7718 /**
7719  * Return the reply
7720  * @param c      The connection
7721  * @param cookie The cookie
7722  * @param e      The xcb_generic_error_t supplied
7723  *
7724  * Returns the reply of the request asked by
7725  *
7726  * The parameter @p e supplied to this function must be NULL if
7727  * xcb_glx_get_convolution_parameterfv_unchecked(). is used.
7728  * Otherwise, it stores the error if any.
7729  *
7730  * The returned value must be freed by the caller using free().
7731  */
7732 xcb_glx_get_convolution_parameterfv_reply_t *
7733 xcb_glx_get_convolution_parameterfv_reply (xcb_connection_t                              *c,
7734                                            xcb_glx_get_convolution_parameterfv_cookie_t   cookie  /**< */,
7735                                            xcb_generic_error_t                          **e);
7736 
7737 int
7738 xcb_glx_get_convolution_parameteriv_sizeof (const void  *_buffer);
7739 
7740 /**
7741  *
7742  * @param c The connection
7743  * @return A cookie
7744  *
7745  * Delivers a request to the X server.
7746  *
7747  */
7748 xcb_glx_get_convolution_parameteriv_cookie_t
7749 xcb_glx_get_convolution_parameteriv (xcb_connection_t      *c,
7750                                      xcb_glx_context_tag_t  context_tag,
7751                                      uint32_t               target,
7752                                      uint32_t               pname);
7753 
7754 /**
7755  *
7756  * @param c The connection
7757  * @return A cookie
7758  *
7759  * Delivers a request to the X server.
7760  *
7761  * This form can be used only if the request will cause
7762  * a reply to be generated. Any returned error will be
7763  * placed in the event queue.
7764  */
7765 xcb_glx_get_convolution_parameteriv_cookie_t
7766 xcb_glx_get_convolution_parameteriv_unchecked (xcb_connection_t      *c,
7767                                                xcb_glx_context_tag_t  context_tag,
7768                                                uint32_t               target,
7769                                                uint32_t               pname);
7770 
7771 int32_t *
7772 xcb_glx_get_convolution_parameteriv_data (const xcb_glx_get_convolution_parameteriv_reply_t *R);
7773 
7774 int
7775 xcb_glx_get_convolution_parameteriv_data_length (const xcb_glx_get_convolution_parameteriv_reply_t *R);
7776 
7777 xcb_generic_iterator_t
7778 xcb_glx_get_convolution_parameteriv_data_end (const xcb_glx_get_convolution_parameteriv_reply_t *R);
7779 
7780 /**
7781  * Return the reply
7782  * @param c      The connection
7783  * @param cookie The cookie
7784  * @param e      The xcb_generic_error_t supplied
7785  *
7786  * Returns the reply of the request asked by
7787  *
7788  * The parameter @p e supplied to this function must be NULL if
7789  * xcb_glx_get_convolution_parameteriv_unchecked(). is used.
7790  * Otherwise, it stores the error if any.
7791  *
7792  * The returned value must be freed by the caller using free().
7793  */
7794 xcb_glx_get_convolution_parameteriv_reply_t *
7795 xcb_glx_get_convolution_parameteriv_reply (xcb_connection_t                              *c,
7796                                            xcb_glx_get_convolution_parameteriv_cookie_t   cookie  /**< */,
7797                                            xcb_generic_error_t                          **e);
7798 
7799 int
7800 xcb_glx_get_separable_filter_sizeof (const void  *_buffer);
7801 
7802 /**
7803  *
7804  * @param c The connection
7805  * @return A cookie
7806  *
7807  * Delivers a request to the X server.
7808  *
7809  */
7810 xcb_glx_get_separable_filter_cookie_t
7811 xcb_glx_get_separable_filter (xcb_connection_t      *c,
7812                               xcb_glx_context_tag_t  context_tag,
7813                               uint32_t               target,
7814                               uint32_t               format,
7815                               uint32_t               type,
7816                               uint8_t                swap_bytes);
7817 
7818 /**
7819  *
7820  * @param c The connection
7821  * @return A cookie
7822  *
7823  * Delivers a request to the X server.
7824  *
7825  * This form can be used only if the request will cause
7826  * a reply to be generated. Any returned error will be
7827  * placed in the event queue.
7828  */
7829 xcb_glx_get_separable_filter_cookie_t
7830 xcb_glx_get_separable_filter_unchecked (xcb_connection_t      *c,
7831                                         xcb_glx_context_tag_t  context_tag,
7832                                         uint32_t               target,
7833                                         uint32_t               format,
7834                                         uint32_t               type,
7835                                         uint8_t                swap_bytes);
7836 
7837 uint8_t *
7838 xcb_glx_get_separable_filter_rows_and_cols (const xcb_glx_get_separable_filter_reply_t *R);
7839 
7840 int
7841 xcb_glx_get_separable_filter_rows_and_cols_length (const xcb_glx_get_separable_filter_reply_t *R);
7842 
7843 xcb_generic_iterator_t
7844 xcb_glx_get_separable_filter_rows_and_cols_end (const xcb_glx_get_separable_filter_reply_t *R);
7845 
7846 /**
7847  * Return the reply
7848  * @param c      The connection
7849  * @param cookie The cookie
7850  * @param e      The xcb_generic_error_t supplied
7851  *
7852  * Returns the reply of the request asked by
7853  *
7854  * The parameter @p e supplied to this function must be NULL if
7855  * xcb_glx_get_separable_filter_unchecked(). is used.
7856  * Otherwise, it stores the error if any.
7857  *
7858  * The returned value must be freed by the caller using free().
7859  */
7860 xcb_glx_get_separable_filter_reply_t *
7861 xcb_glx_get_separable_filter_reply (xcb_connection_t                       *c,
7862                                     xcb_glx_get_separable_filter_cookie_t   cookie  /**< */,
7863                                     xcb_generic_error_t                   **e);
7864 
7865 int
7866 xcb_glx_get_histogram_sizeof (const void  *_buffer);
7867 
7868 /**
7869  *
7870  * @param c The connection
7871  * @return A cookie
7872  *
7873  * Delivers a request to the X server.
7874  *
7875  */
7876 xcb_glx_get_histogram_cookie_t
7877 xcb_glx_get_histogram (xcb_connection_t      *c,
7878                        xcb_glx_context_tag_t  context_tag,
7879                        uint32_t               target,
7880                        uint32_t               format,
7881                        uint32_t               type,
7882                        uint8_t                swap_bytes,
7883                        uint8_t                reset);
7884 
7885 /**
7886  *
7887  * @param c The connection
7888  * @return A cookie
7889  *
7890  * Delivers a request to the X server.
7891  *
7892  * This form can be used only if the request will cause
7893  * a reply to be generated. Any returned error will be
7894  * placed in the event queue.
7895  */
7896 xcb_glx_get_histogram_cookie_t
7897 xcb_glx_get_histogram_unchecked (xcb_connection_t      *c,
7898                                  xcb_glx_context_tag_t  context_tag,
7899                                  uint32_t               target,
7900                                  uint32_t               format,
7901                                  uint32_t               type,
7902                                  uint8_t                swap_bytes,
7903                                  uint8_t                reset);
7904 
7905 uint8_t *
7906 xcb_glx_get_histogram_data (const xcb_glx_get_histogram_reply_t *R);
7907 
7908 int
7909 xcb_glx_get_histogram_data_length (const xcb_glx_get_histogram_reply_t *R);
7910 
7911 xcb_generic_iterator_t
7912 xcb_glx_get_histogram_data_end (const xcb_glx_get_histogram_reply_t *R);
7913 
7914 /**
7915  * Return the reply
7916  * @param c      The connection
7917  * @param cookie The cookie
7918  * @param e      The xcb_generic_error_t supplied
7919  *
7920  * Returns the reply of the request asked by
7921  *
7922  * The parameter @p e supplied to this function must be NULL if
7923  * xcb_glx_get_histogram_unchecked(). is used.
7924  * Otherwise, it stores the error if any.
7925  *
7926  * The returned value must be freed by the caller using free().
7927  */
7928 xcb_glx_get_histogram_reply_t *
7929 xcb_glx_get_histogram_reply (xcb_connection_t                *c,
7930                              xcb_glx_get_histogram_cookie_t   cookie  /**< */,
7931                              xcb_generic_error_t            **e);
7932 
7933 int
7934 xcb_glx_get_histogram_parameterfv_sizeof (const void  *_buffer);
7935 
7936 /**
7937  *
7938  * @param c The connection
7939  * @return A cookie
7940  *
7941  * Delivers a request to the X server.
7942  *
7943  */
7944 xcb_glx_get_histogram_parameterfv_cookie_t
7945 xcb_glx_get_histogram_parameterfv (xcb_connection_t      *c,
7946                                    xcb_glx_context_tag_t  context_tag,
7947                                    uint32_t               target,
7948                                    uint32_t               pname);
7949 
7950 /**
7951  *
7952  * @param c The connection
7953  * @return A cookie
7954  *
7955  * Delivers a request to the X server.
7956  *
7957  * This form can be used only if the request will cause
7958  * a reply to be generated. Any returned error will be
7959  * placed in the event queue.
7960  */
7961 xcb_glx_get_histogram_parameterfv_cookie_t
7962 xcb_glx_get_histogram_parameterfv_unchecked (xcb_connection_t      *c,
7963                                              xcb_glx_context_tag_t  context_tag,
7964                                              uint32_t               target,
7965                                              uint32_t               pname);
7966 
7967 xcb_glx_float32_t *
7968 xcb_glx_get_histogram_parameterfv_data (const xcb_glx_get_histogram_parameterfv_reply_t *R);
7969 
7970 int
7971 xcb_glx_get_histogram_parameterfv_data_length (const xcb_glx_get_histogram_parameterfv_reply_t *R);
7972 
7973 xcb_generic_iterator_t
7974 xcb_glx_get_histogram_parameterfv_data_end (const xcb_glx_get_histogram_parameterfv_reply_t *R);
7975 
7976 /**
7977  * Return the reply
7978  * @param c      The connection
7979  * @param cookie The cookie
7980  * @param e      The xcb_generic_error_t supplied
7981  *
7982  * Returns the reply of the request asked by
7983  *
7984  * The parameter @p e supplied to this function must be NULL if
7985  * xcb_glx_get_histogram_parameterfv_unchecked(). is used.
7986  * Otherwise, it stores the error if any.
7987  *
7988  * The returned value must be freed by the caller using free().
7989  */
7990 xcb_glx_get_histogram_parameterfv_reply_t *
7991 xcb_glx_get_histogram_parameterfv_reply (xcb_connection_t                            *c,
7992                                          xcb_glx_get_histogram_parameterfv_cookie_t   cookie  /**< */,
7993                                          xcb_generic_error_t                        **e);
7994 
7995 int
7996 xcb_glx_get_histogram_parameteriv_sizeof (const void  *_buffer);
7997 
7998 /**
7999  *
8000  * @param c The connection
8001  * @return A cookie
8002  *
8003  * Delivers a request to the X server.
8004  *
8005  */
8006 xcb_glx_get_histogram_parameteriv_cookie_t
8007 xcb_glx_get_histogram_parameteriv (xcb_connection_t      *c,
8008                                    xcb_glx_context_tag_t  context_tag,
8009                                    uint32_t               target,
8010                                    uint32_t               pname);
8011 
8012 /**
8013  *
8014  * @param c The connection
8015  * @return A cookie
8016  *
8017  * Delivers a request to the X server.
8018  *
8019  * This form can be used only if the request will cause
8020  * a reply to be generated. Any returned error will be
8021  * placed in the event queue.
8022  */
8023 xcb_glx_get_histogram_parameteriv_cookie_t
8024 xcb_glx_get_histogram_parameteriv_unchecked (xcb_connection_t      *c,
8025                                              xcb_glx_context_tag_t  context_tag,
8026                                              uint32_t               target,
8027                                              uint32_t               pname);
8028 
8029 int32_t *
8030 xcb_glx_get_histogram_parameteriv_data (const xcb_glx_get_histogram_parameteriv_reply_t *R);
8031 
8032 int
8033 xcb_glx_get_histogram_parameteriv_data_length (const xcb_glx_get_histogram_parameteriv_reply_t *R);
8034 
8035 xcb_generic_iterator_t
8036 xcb_glx_get_histogram_parameteriv_data_end (const xcb_glx_get_histogram_parameteriv_reply_t *R);
8037 
8038 /**
8039  * Return the reply
8040  * @param c      The connection
8041  * @param cookie The cookie
8042  * @param e      The xcb_generic_error_t supplied
8043  *
8044  * Returns the reply of the request asked by
8045  *
8046  * The parameter @p e supplied to this function must be NULL if
8047  * xcb_glx_get_histogram_parameteriv_unchecked(). is used.
8048  * Otherwise, it stores the error if any.
8049  *
8050  * The returned value must be freed by the caller using free().
8051  */
8052 xcb_glx_get_histogram_parameteriv_reply_t *
8053 xcb_glx_get_histogram_parameteriv_reply (xcb_connection_t                            *c,
8054                                          xcb_glx_get_histogram_parameteriv_cookie_t   cookie  /**< */,
8055                                          xcb_generic_error_t                        **e);
8056 
8057 int
8058 xcb_glx_get_minmax_sizeof (const void  *_buffer);
8059 
8060 /**
8061  *
8062  * @param c The connection
8063  * @return A cookie
8064  *
8065  * Delivers a request to the X server.
8066  *
8067  */
8068 xcb_glx_get_minmax_cookie_t
8069 xcb_glx_get_minmax (xcb_connection_t      *c,
8070                     xcb_glx_context_tag_t  context_tag,
8071                     uint32_t               target,
8072                     uint32_t               format,
8073                     uint32_t               type,
8074                     uint8_t                swap_bytes,
8075                     uint8_t                reset);
8076 
8077 /**
8078  *
8079  * @param c The connection
8080  * @return A cookie
8081  *
8082  * Delivers a request to the X server.
8083  *
8084  * This form can be used only if the request will cause
8085  * a reply to be generated. Any returned error will be
8086  * placed in the event queue.
8087  */
8088 xcb_glx_get_minmax_cookie_t
8089 xcb_glx_get_minmax_unchecked (xcb_connection_t      *c,
8090                               xcb_glx_context_tag_t  context_tag,
8091                               uint32_t               target,
8092                               uint32_t               format,
8093                               uint32_t               type,
8094                               uint8_t                swap_bytes,
8095                               uint8_t                reset);
8096 
8097 uint8_t *
8098 xcb_glx_get_minmax_data (const xcb_glx_get_minmax_reply_t *R);
8099 
8100 int
8101 xcb_glx_get_minmax_data_length (const xcb_glx_get_minmax_reply_t *R);
8102 
8103 xcb_generic_iterator_t
8104 xcb_glx_get_minmax_data_end (const xcb_glx_get_minmax_reply_t *R);
8105 
8106 /**
8107  * Return the reply
8108  * @param c      The connection
8109  * @param cookie The cookie
8110  * @param e      The xcb_generic_error_t supplied
8111  *
8112  * Returns the reply of the request asked by
8113  *
8114  * The parameter @p e supplied to this function must be NULL if
8115  * xcb_glx_get_minmax_unchecked(). is used.
8116  * Otherwise, it stores the error if any.
8117  *
8118  * The returned value must be freed by the caller using free().
8119  */
8120 xcb_glx_get_minmax_reply_t *
8121 xcb_glx_get_minmax_reply (xcb_connection_t             *c,
8122                           xcb_glx_get_minmax_cookie_t   cookie  /**< */,
8123                           xcb_generic_error_t         **e);
8124 
8125 int
8126 xcb_glx_get_minmax_parameterfv_sizeof (const void  *_buffer);
8127 
8128 /**
8129  *
8130  * @param c The connection
8131  * @return A cookie
8132  *
8133  * Delivers a request to the X server.
8134  *
8135  */
8136 xcb_glx_get_minmax_parameterfv_cookie_t
8137 xcb_glx_get_minmax_parameterfv (xcb_connection_t      *c,
8138                                 xcb_glx_context_tag_t  context_tag,
8139                                 uint32_t               target,
8140                                 uint32_t               pname);
8141 
8142 /**
8143  *
8144  * @param c The connection
8145  * @return A cookie
8146  *
8147  * Delivers a request to the X server.
8148  *
8149  * This form can be used only if the request will cause
8150  * a reply to be generated. Any returned error will be
8151  * placed in the event queue.
8152  */
8153 xcb_glx_get_minmax_parameterfv_cookie_t
8154 xcb_glx_get_minmax_parameterfv_unchecked (xcb_connection_t      *c,
8155                                           xcb_glx_context_tag_t  context_tag,
8156                                           uint32_t               target,
8157                                           uint32_t               pname);
8158 
8159 xcb_glx_float32_t *
8160 xcb_glx_get_minmax_parameterfv_data (const xcb_glx_get_minmax_parameterfv_reply_t *R);
8161 
8162 int
8163 xcb_glx_get_minmax_parameterfv_data_length (const xcb_glx_get_minmax_parameterfv_reply_t *R);
8164 
8165 xcb_generic_iterator_t
8166 xcb_glx_get_minmax_parameterfv_data_end (const xcb_glx_get_minmax_parameterfv_reply_t *R);
8167 
8168 /**
8169  * Return the reply
8170  * @param c      The connection
8171  * @param cookie The cookie
8172  * @param e      The xcb_generic_error_t supplied
8173  *
8174  * Returns the reply of the request asked by
8175  *
8176  * The parameter @p e supplied to this function must be NULL if
8177  * xcb_glx_get_minmax_parameterfv_unchecked(). is used.
8178  * Otherwise, it stores the error if any.
8179  *
8180  * The returned value must be freed by the caller using free().
8181  */
8182 xcb_glx_get_minmax_parameterfv_reply_t *
8183 xcb_glx_get_minmax_parameterfv_reply (xcb_connection_t                         *c,
8184                                       xcb_glx_get_minmax_parameterfv_cookie_t   cookie  /**< */,
8185                                       xcb_generic_error_t                     **e);
8186 
8187 int
8188 xcb_glx_get_minmax_parameteriv_sizeof (const void  *_buffer);
8189 
8190 /**
8191  *
8192  * @param c The connection
8193  * @return A cookie
8194  *
8195  * Delivers a request to the X server.
8196  *
8197  */
8198 xcb_glx_get_minmax_parameteriv_cookie_t
8199 xcb_glx_get_minmax_parameteriv (xcb_connection_t      *c,
8200                                 xcb_glx_context_tag_t  context_tag,
8201                                 uint32_t               target,
8202                                 uint32_t               pname);
8203 
8204 /**
8205  *
8206  * @param c The connection
8207  * @return A cookie
8208  *
8209  * Delivers a request to the X server.
8210  *
8211  * This form can be used only if the request will cause
8212  * a reply to be generated. Any returned error will be
8213  * placed in the event queue.
8214  */
8215 xcb_glx_get_minmax_parameteriv_cookie_t
8216 xcb_glx_get_minmax_parameteriv_unchecked (xcb_connection_t      *c,
8217                                           xcb_glx_context_tag_t  context_tag,
8218                                           uint32_t               target,
8219                                           uint32_t               pname);
8220 
8221 int32_t *
8222 xcb_glx_get_minmax_parameteriv_data (const xcb_glx_get_minmax_parameteriv_reply_t *R);
8223 
8224 int
8225 xcb_glx_get_minmax_parameteriv_data_length (const xcb_glx_get_minmax_parameteriv_reply_t *R);
8226 
8227 xcb_generic_iterator_t
8228 xcb_glx_get_minmax_parameteriv_data_end (const xcb_glx_get_minmax_parameteriv_reply_t *R);
8229 
8230 /**
8231  * Return the reply
8232  * @param c      The connection
8233  * @param cookie The cookie
8234  * @param e      The xcb_generic_error_t supplied
8235  *
8236  * Returns the reply of the request asked by
8237  *
8238  * The parameter @p e supplied to this function must be NULL if
8239  * xcb_glx_get_minmax_parameteriv_unchecked(). is used.
8240  * Otherwise, it stores the error if any.
8241  *
8242  * The returned value must be freed by the caller using free().
8243  */
8244 xcb_glx_get_minmax_parameteriv_reply_t *
8245 xcb_glx_get_minmax_parameteriv_reply (xcb_connection_t                         *c,
8246                                       xcb_glx_get_minmax_parameteriv_cookie_t   cookie  /**< */,
8247                                       xcb_generic_error_t                     **e);
8248 
8249 int
8250 xcb_glx_get_compressed_tex_image_arb_sizeof (const void  *_buffer);
8251 
8252 /**
8253  *
8254  * @param c The connection
8255  * @return A cookie
8256  *
8257  * Delivers a request to the X server.
8258  *
8259  */
8260 xcb_glx_get_compressed_tex_image_arb_cookie_t
8261 xcb_glx_get_compressed_tex_image_arb (xcb_connection_t      *c,
8262                                       xcb_glx_context_tag_t  context_tag,
8263                                       uint32_t               target,
8264                                       int32_t                level);
8265 
8266 /**
8267  *
8268  * @param c The connection
8269  * @return A cookie
8270  *
8271  * Delivers a request to the X server.
8272  *
8273  * This form can be used only if the request will cause
8274  * a reply to be generated. Any returned error will be
8275  * placed in the event queue.
8276  */
8277 xcb_glx_get_compressed_tex_image_arb_cookie_t
8278 xcb_glx_get_compressed_tex_image_arb_unchecked (xcb_connection_t      *c,
8279                                                 xcb_glx_context_tag_t  context_tag,
8280                                                 uint32_t               target,
8281                                                 int32_t                level);
8282 
8283 uint8_t *
8284 xcb_glx_get_compressed_tex_image_arb_data (const xcb_glx_get_compressed_tex_image_arb_reply_t *R);
8285 
8286 int
8287 xcb_glx_get_compressed_tex_image_arb_data_length (const xcb_glx_get_compressed_tex_image_arb_reply_t *R);
8288 
8289 xcb_generic_iterator_t
8290 xcb_glx_get_compressed_tex_image_arb_data_end (const xcb_glx_get_compressed_tex_image_arb_reply_t *R);
8291 
8292 /**
8293  * Return the reply
8294  * @param c      The connection
8295  * @param cookie The cookie
8296  * @param e      The xcb_generic_error_t supplied
8297  *
8298  * Returns the reply of the request asked by
8299  *
8300  * The parameter @p e supplied to this function must be NULL if
8301  * xcb_glx_get_compressed_tex_image_arb_unchecked(). is used.
8302  * Otherwise, it stores the error if any.
8303  *
8304  * The returned value must be freed by the caller using free().
8305  */
8306 xcb_glx_get_compressed_tex_image_arb_reply_t *
8307 xcb_glx_get_compressed_tex_image_arb_reply (xcb_connection_t                               *c,
8308                                             xcb_glx_get_compressed_tex_image_arb_cookie_t   cookie  /**< */,
8309                                             xcb_generic_error_t                           **e);
8310 
8311 int
8312 xcb_glx_delete_queries_arb_sizeof (const void  *_buffer);
8313 
8314 /**
8315  *
8316  * @param c The connection
8317  * @return A cookie
8318  *
8319  * Delivers a request to the X server.
8320  *
8321  * This form can be used only if the request will not cause
8322  * a reply to be generated. Any returned error will be
8323  * saved for handling by xcb_request_check().
8324  */
8325 xcb_void_cookie_t
8326 xcb_glx_delete_queries_arb_checked (xcb_connection_t      *c,
8327                                     xcb_glx_context_tag_t  context_tag,
8328                                     int32_t                n,
8329                                     const uint32_t        *ids);
8330 
8331 /**
8332  *
8333  * @param c The connection
8334  * @return A cookie
8335  *
8336  * Delivers a request to the X server.
8337  *
8338  */
8339 xcb_void_cookie_t
8340 xcb_glx_delete_queries_arb (xcb_connection_t      *c,
8341                             xcb_glx_context_tag_t  context_tag,
8342                             int32_t                n,
8343                             const uint32_t        *ids);
8344 
8345 uint32_t *
8346 xcb_glx_delete_queries_arb_ids (const xcb_glx_delete_queries_arb_request_t *R);
8347 
8348 int
8349 xcb_glx_delete_queries_arb_ids_length (const xcb_glx_delete_queries_arb_request_t *R);
8350 
8351 xcb_generic_iterator_t
8352 xcb_glx_delete_queries_arb_ids_end (const xcb_glx_delete_queries_arb_request_t *R);
8353 
8354 int
8355 xcb_glx_gen_queries_arb_sizeof (const void  *_buffer);
8356 
8357 /**
8358  *
8359  * @param c The connection
8360  * @return A cookie
8361  *
8362  * Delivers a request to the X server.
8363  *
8364  */
8365 xcb_glx_gen_queries_arb_cookie_t
8366 xcb_glx_gen_queries_arb (xcb_connection_t      *c,
8367                          xcb_glx_context_tag_t  context_tag,
8368                          int32_t                n);
8369 
8370 /**
8371  *
8372  * @param c The connection
8373  * @return A cookie
8374  *
8375  * Delivers a request to the X server.
8376  *
8377  * This form can be used only if the request will cause
8378  * a reply to be generated. Any returned error will be
8379  * placed in the event queue.
8380  */
8381 xcb_glx_gen_queries_arb_cookie_t
8382 xcb_glx_gen_queries_arb_unchecked (xcb_connection_t      *c,
8383                                    xcb_glx_context_tag_t  context_tag,
8384                                    int32_t                n);
8385 
8386 uint32_t *
8387 xcb_glx_gen_queries_arb_data (const xcb_glx_gen_queries_arb_reply_t *R);
8388 
8389 int
8390 xcb_glx_gen_queries_arb_data_length (const xcb_glx_gen_queries_arb_reply_t *R);
8391 
8392 xcb_generic_iterator_t
8393 xcb_glx_gen_queries_arb_data_end (const xcb_glx_gen_queries_arb_reply_t *R);
8394 
8395 /**
8396  * Return the reply
8397  * @param c      The connection
8398  * @param cookie The cookie
8399  * @param e      The xcb_generic_error_t supplied
8400  *
8401  * Returns the reply of the request asked by
8402  *
8403  * The parameter @p e supplied to this function must be NULL if
8404  * xcb_glx_gen_queries_arb_unchecked(). is used.
8405  * Otherwise, it stores the error if any.
8406  *
8407  * The returned value must be freed by the caller using free().
8408  */
8409 xcb_glx_gen_queries_arb_reply_t *
8410 xcb_glx_gen_queries_arb_reply (xcb_connection_t                  *c,
8411                                xcb_glx_gen_queries_arb_cookie_t   cookie  /**< */,
8412                                xcb_generic_error_t              **e);
8413 
8414 /**
8415  *
8416  * @param c The connection
8417  * @return A cookie
8418  *
8419  * Delivers a request to the X server.
8420  *
8421  */
8422 xcb_glx_is_query_arb_cookie_t
8423 xcb_glx_is_query_arb (xcb_connection_t      *c,
8424                       xcb_glx_context_tag_t  context_tag,
8425                       uint32_t               id);
8426 
8427 /**
8428  *
8429  * @param c The connection
8430  * @return A cookie
8431  *
8432  * Delivers a request to the X server.
8433  *
8434  * This form can be used only if the request will cause
8435  * a reply to be generated. Any returned error will be
8436  * placed in the event queue.
8437  */
8438 xcb_glx_is_query_arb_cookie_t
8439 xcb_glx_is_query_arb_unchecked (xcb_connection_t      *c,
8440                                 xcb_glx_context_tag_t  context_tag,
8441                                 uint32_t               id);
8442 
8443 /**
8444  * Return the reply
8445  * @param c      The connection
8446  * @param cookie The cookie
8447  * @param e      The xcb_generic_error_t supplied
8448  *
8449  * Returns the reply of the request asked by
8450  *
8451  * The parameter @p e supplied to this function must be NULL if
8452  * xcb_glx_is_query_arb_unchecked(). is used.
8453  * Otherwise, it stores the error if any.
8454  *
8455  * The returned value must be freed by the caller using free().
8456  */
8457 xcb_glx_is_query_arb_reply_t *
8458 xcb_glx_is_query_arb_reply (xcb_connection_t               *c,
8459                             xcb_glx_is_query_arb_cookie_t   cookie  /**< */,
8460                             xcb_generic_error_t           **e);
8461 
8462 int
8463 xcb_glx_get_queryiv_arb_sizeof (const void  *_buffer);
8464 
8465 /**
8466  *
8467  * @param c The connection
8468  * @return A cookie
8469  *
8470  * Delivers a request to the X server.
8471  *
8472  */
8473 xcb_glx_get_queryiv_arb_cookie_t
8474 xcb_glx_get_queryiv_arb (xcb_connection_t      *c,
8475                          xcb_glx_context_tag_t  context_tag,
8476                          uint32_t               target,
8477                          uint32_t               pname);
8478 
8479 /**
8480  *
8481  * @param c The connection
8482  * @return A cookie
8483  *
8484  * Delivers a request to the X server.
8485  *
8486  * This form can be used only if the request will cause
8487  * a reply to be generated. Any returned error will be
8488  * placed in the event queue.
8489  */
8490 xcb_glx_get_queryiv_arb_cookie_t
8491 xcb_glx_get_queryiv_arb_unchecked (xcb_connection_t      *c,
8492                                    xcb_glx_context_tag_t  context_tag,
8493                                    uint32_t               target,
8494                                    uint32_t               pname);
8495 
8496 int32_t *
8497 xcb_glx_get_queryiv_arb_data (const xcb_glx_get_queryiv_arb_reply_t *R);
8498 
8499 int
8500 xcb_glx_get_queryiv_arb_data_length (const xcb_glx_get_queryiv_arb_reply_t *R);
8501 
8502 xcb_generic_iterator_t
8503 xcb_glx_get_queryiv_arb_data_end (const xcb_glx_get_queryiv_arb_reply_t *R);
8504 
8505 /**
8506  * Return the reply
8507  * @param c      The connection
8508  * @param cookie The cookie
8509  * @param e      The xcb_generic_error_t supplied
8510  *
8511  * Returns the reply of the request asked by
8512  *
8513  * The parameter @p e supplied to this function must be NULL if
8514  * xcb_glx_get_queryiv_arb_unchecked(). is used.
8515  * Otherwise, it stores the error if any.
8516  *
8517  * The returned value must be freed by the caller using free().
8518  */
8519 xcb_glx_get_queryiv_arb_reply_t *
8520 xcb_glx_get_queryiv_arb_reply (xcb_connection_t                  *c,
8521                                xcb_glx_get_queryiv_arb_cookie_t   cookie  /**< */,
8522                                xcb_generic_error_t              **e);
8523 
8524 int
8525 xcb_glx_get_query_objectiv_arb_sizeof (const void  *_buffer);
8526 
8527 /**
8528  *
8529  * @param c The connection
8530  * @return A cookie
8531  *
8532  * Delivers a request to the X server.
8533  *
8534  */
8535 xcb_glx_get_query_objectiv_arb_cookie_t
8536 xcb_glx_get_query_objectiv_arb (xcb_connection_t      *c,
8537                                 xcb_glx_context_tag_t  context_tag,
8538                                 uint32_t               id,
8539                                 uint32_t               pname);
8540 
8541 /**
8542  *
8543  * @param c The connection
8544  * @return A cookie
8545  *
8546  * Delivers a request to the X server.
8547  *
8548  * This form can be used only if the request will cause
8549  * a reply to be generated. Any returned error will be
8550  * placed in the event queue.
8551  */
8552 xcb_glx_get_query_objectiv_arb_cookie_t
8553 xcb_glx_get_query_objectiv_arb_unchecked (xcb_connection_t      *c,
8554                                           xcb_glx_context_tag_t  context_tag,
8555                                           uint32_t               id,
8556                                           uint32_t               pname);
8557 
8558 int32_t *
8559 xcb_glx_get_query_objectiv_arb_data (const xcb_glx_get_query_objectiv_arb_reply_t *R);
8560 
8561 int
8562 xcb_glx_get_query_objectiv_arb_data_length (const xcb_glx_get_query_objectiv_arb_reply_t *R);
8563 
8564 xcb_generic_iterator_t
8565 xcb_glx_get_query_objectiv_arb_data_end (const xcb_glx_get_query_objectiv_arb_reply_t *R);
8566 
8567 /**
8568  * Return the reply
8569  * @param c      The connection
8570  * @param cookie The cookie
8571  * @param e      The xcb_generic_error_t supplied
8572  *
8573  * Returns the reply of the request asked by
8574  *
8575  * The parameter @p e supplied to this function must be NULL if
8576  * xcb_glx_get_query_objectiv_arb_unchecked(). is used.
8577  * Otherwise, it stores the error if any.
8578  *
8579  * The returned value must be freed by the caller using free().
8580  */
8581 xcb_glx_get_query_objectiv_arb_reply_t *
8582 xcb_glx_get_query_objectiv_arb_reply (xcb_connection_t                         *c,
8583                                       xcb_glx_get_query_objectiv_arb_cookie_t   cookie  /**< */,
8584                                       xcb_generic_error_t                     **e);
8585 
8586 int
8587 xcb_glx_get_query_objectuiv_arb_sizeof (const void  *_buffer);
8588 
8589 /**
8590  *
8591  * @param c The connection
8592  * @return A cookie
8593  *
8594  * Delivers a request to the X server.
8595  *
8596  */
8597 xcb_glx_get_query_objectuiv_arb_cookie_t
8598 xcb_glx_get_query_objectuiv_arb (xcb_connection_t      *c,
8599                                  xcb_glx_context_tag_t  context_tag,
8600                                  uint32_t               id,
8601                                  uint32_t               pname);
8602 
8603 /**
8604  *
8605  * @param c The connection
8606  * @return A cookie
8607  *
8608  * Delivers a request to the X server.
8609  *
8610  * This form can be used only if the request will cause
8611  * a reply to be generated. Any returned error will be
8612  * placed in the event queue.
8613  */
8614 xcb_glx_get_query_objectuiv_arb_cookie_t
8615 xcb_glx_get_query_objectuiv_arb_unchecked (xcb_connection_t      *c,
8616                                            xcb_glx_context_tag_t  context_tag,
8617                                            uint32_t               id,
8618                                            uint32_t               pname);
8619 
8620 uint32_t *
8621 xcb_glx_get_query_objectuiv_arb_data (const xcb_glx_get_query_objectuiv_arb_reply_t *R);
8622 
8623 int
8624 xcb_glx_get_query_objectuiv_arb_data_length (const xcb_glx_get_query_objectuiv_arb_reply_t *R);
8625 
8626 xcb_generic_iterator_t
8627 xcb_glx_get_query_objectuiv_arb_data_end (const xcb_glx_get_query_objectuiv_arb_reply_t *R);
8628 
8629 /**
8630  * Return the reply
8631  * @param c      The connection
8632  * @param cookie The cookie
8633  * @param e      The xcb_generic_error_t supplied
8634  *
8635  * Returns the reply of the request asked by
8636  *
8637  * The parameter @p e supplied to this function must be NULL if
8638  * xcb_glx_get_query_objectuiv_arb_unchecked(). is used.
8639  * Otherwise, it stores the error if any.
8640  *
8641  * The returned value must be freed by the caller using free().
8642  */
8643 xcb_glx_get_query_objectuiv_arb_reply_t *
8644 xcb_glx_get_query_objectuiv_arb_reply (xcb_connection_t                          *c,
8645                                        xcb_glx_get_query_objectuiv_arb_cookie_t   cookie  /**< */,
8646                                        xcb_generic_error_t                      **e);
8647 
8648 
8649 #ifdef __cplusplus
8650 }
8651 #endif
8652 
8653 #endif
8654 
8655 /**
8656  * @}
8657  */