annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/xcb/glx.h @ 69:33d812a61356

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