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