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

source code of include/xcb/glx.h