-
Notifications
You must be signed in to change notification settings - Fork 21
/
xcb-glx.el
1859 lines (1710 loc) · 60.2 KB
/
xcb-glx.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; xcb-glx.el --- X11 Glx extension -*- lexical-binding: t -*-
;; Copyright (C) 2015-2019 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file was generated by 'el_client.el' from 'glx.xml',
;; which you can retrieve from <git://anongit.freedesktop.org/xcb/proto>.
;;; Code:
(require 'xcb-types)
(defconst xcb:glx:-extension-xname "GLX")
(defconst xcb:glx:-extension-name "Glx")
(defconst xcb:glx:-major-version 1)
(defconst xcb:glx:-minor-version 4)
(require 'xcb-xproto)
(xcb:deftypealias 'xcb:glx:PIXMAP 'xcb:-u4)
(xcb:deftypealias 'xcb:glx:CONTEXT 'xcb:-u4)
(xcb:deftypealias 'xcb:glx:PBUFFER 'xcb:-u4)
(xcb:deftypealias 'xcb:glx:WINDOW 'xcb:-u4)
(xcb:deftypealias 'xcb:glx:FBCONFIG 'xcb:-u4)
(xcb:deftypealias 'xcb:glx:DRAWABLE 'xcb:-u4)
(xcb:deftypealias 'xcb:glx:FLOAT32 'xcb:glx:float)
(xcb:deftypealias 'xcb:glx:FLOAT64 'xcb:glx:double)
(xcb:deftypealias 'xcb:glx:BOOL32 'xcb:CARD32)
(xcb:deftypealias 'xcb:glx:CONTEXT_TAG 'xcb:CARD32)
(defclass xcb:glx:Generic
(xcb:-error)
((~code :initform -1)
(bad-value :initarg :bad-value :type xcb:CARD32)
(minor-opcode :initarg :minor-opcode :type xcb:CARD16)
(major-opcode :initarg :major-opcode :type xcb:CARD8)
(pad~0 :initform 21 :type xcb:-pad)))
(defclass xcb:glx:BadContext
(xcb:-error xcb:glx:Generic)
((~code :initform 0)))
(defclass xcb:glx:BadContextState
(xcb:-error xcb:glx:Generic)
((~code :initform 1)))
(defclass xcb:glx:BadDrawable
(xcb:-error xcb:glx:Generic)
((~code :initform 2)))
(defclass xcb:glx:BadPixmap
(xcb:-error xcb:glx:Generic)
((~code :initform 3)))
(defclass xcb:glx:BadContextTag
(xcb:-error xcb:glx:Generic)
((~code :initform 4)))
(defclass xcb:glx:BadCurrentWindow
(xcb:-error xcb:glx:Generic)
((~code :initform 5)))
(defclass xcb:glx:BadRenderRequest
(xcb:-error xcb:glx:Generic)
((~code :initform 6)))
(defclass xcb:glx:BadLargeRequest
(xcb:-error xcb:glx:Generic)
((~code :initform 7)))
(defclass xcb:glx:UnsupportedPrivateRequest
(xcb:-error xcb:glx:Generic)
((~code :initform 8)))
(defclass xcb:glx:BadFBConfig
(xcb:-error xcb:glx:Generic)
((~code :initform 9)))
(defclass xcb:glx:BadPbuffer
(xcb:-error xcb:glx:Generic)
((~code :initform 10)))
(defclass xcb:glx:BadCurrentDrawable
(xcb:-error xcb:glx:Generic)
((~code :initform 11)))
(defclass xcb:glx:BadWindow
(xcb:-error xcb:glx:Generic)
((~code :initform 12)))
(defclass xcb:glx:GLXBadProfileARB
(xcb:-error xcb:glx:Generic)
((~code :initform 13)))
(defclass xcb:glx:PbufferClobber
(xcb:-event)
((~code :initform 0)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event-type :initarg :event-type :type xcb:CARD16)
(draw-type :initarg :draw-type :type xcb:CARD16)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)
(b-mask :initarg :b-mask :type xcb:CARD32)
(aux-buffer :initarg :aux-buffer :type xcb:CARD16)
(x :initarg :x :type xcb:CARD16)
(y :initarg :y :type xcb:CARD16)
(width :initarg :width :type xcb:CARD16)
(height :initarg :height :type xcb:CARD16)
(count :initarg :count :type xcb:CARD16)
(pad~1 :initform 4 :type xcb:-pad)))
(defclass xcb:glx:BufferSwapComplete
(xcb:-event)
((~code :initform 1)
(pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(event-type :initarg :event-type :type xcb:CARD16)
(pad~1 :initform 2 :type xcb:-pad)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)
(ust-hi :initarg :ust-hi :type xcb:CARD32)
(ust-lo :initarg :ust-lo :type xcb:CARD32)
(msc-hi :initarg :msc-hi :type xcb:CARD32)
(msc-lo :initarg :msc-lo :type xcb:CARD32)
(sbc :initarg :sbc :type xcb:CARD32)))
(defconst xcb:glx:PBCET:Damaged 32791)
(defconst xcb:glx:PBCET:Saved 32792)
(defconst xcb:glx:PBCDT:Window 32793)
(defconst xcb:glx:PBCDT:Pbuffer 32794)
(defclass xcb:glx:Render
(xcb:-request)
((~opcode :initform 1 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(data~ :initform
'(name data type xcb:BYTE size nil)
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:RenderLarge
(xcb:-request)
((~opcode :initform 2 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(request-num :initarg :request-num :type xcb:CARD16)
(request-total :initarg :request-total :type xcb:CARD16)
(data-len :initarg :data-len :type xcb:CARD32)
(data~ :initform
'(name data type xcb:BYTE size
(xcb:-fieldref 'data-len))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:CreateContext
(xcb:-request)
((~opcode :initform 3 :type xcb:-u1)
(context :initarg :context :type xcb:glx:CONTEXT)
(visual :initarg :visual :type xcb:VISUALID)
(screen :initarg :screen :type xcb:CARD32)
(share-list :initarg :share-list :type xcb:glx:CONTEXT)
(is-direct :initarg :is-direct :type xcb:BOOL)
(pad~0 :initform 3 :type xcb:-pad)))
(defclass xcb:glx:DestroyContext
(xcb:-request)
((~opcode :initform 4 :type xcb:-u1)
(context :initarg :context :type xcb:glx:CONTEXT)))
(defclass xcb:glx:MakeCurrent
(xcb:-request)
((~opcode :initform 5 :type xcb:-u1)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)
(context :initarg :context :type xcb:glx:CONTEXT)
(old-context-tag :initarg :old-context-tag :type xcb:glx:CONTEXT_TAG)))
(defclass xcb:glx:MakeCurrent~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pad~1 :initform 20 :type xcb:-pad)))
(defclass xcb:glx:IsDirect
(xcb:-request)
((~opcode :initform 6 :type xcb:-u1)
(context :initarg :context :type xcb:glx:CONTEXT)))
(defclass xcb:glx:IsDirect~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(is-direct :initarg :is-direct :type xcb:BOOL)
(pad~1 :initform 23 :type xcb:-pad)))
(defclass xcb:glx:QueryVersion
(xcb:-request)
((~opcode :initform 7 :type xcb:-u1)
(major-version :initarg :major-version :type xcb:CARD32)
(minor-version :initarg :minor-version :type xcb:CARD32)))
(defclass xcb:glx:QueryVersion~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(major-version :initarg :major-version :type xcb:CARD32)
(minor-version :initarg :minor-version :type xcb:CARD32)
(pad~1 :initform 16 :type xcb:-pad)))
(defclass xcb:glx:WaitGL
(xcb:-request)
((~opcode :initform 8 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)))
(defclass xcb:glx:WaitX
(xcb:-request)
((~opcode :initform 9 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)))
(defclass xcb:glx:CopyContext
(xcb:-request)
((~opcode :initform 10 :type xcb:-u1)
(src :initarg :src :type xcb:glx:CONTEXT)
(dest :initarg :dest :type xcb:glx:CONTEXT)
(mask :initarg :mask :type xcb:CARD32)
(src-context-tag :initarg :src-context-tag :type xcb:glx:CONTEXT_TAG)))
(defconst xcb:glx:GC:GL_CURRENT_BIT 1)
(defconst xcb:glx:GC:GL_POINT_BIT 2)
(defconst xcb:glx:GC:GL_LINE_BIT 4)
(defconst xcb:glx:GC:GL_POLYGON_BIT 8)
(defconst xcb:glx:GC:GL_POLYGON_STIPPLE_BIT 16)
(defconst xcb:glx:GC:GL_PIXEL_MODE_BIT 32)
(defconst xcb:glx:GC:GL_LIGHTING_BIT 64)
(defconst xcb:glx:GC:GL_FOG_BIT 128)
(defconst xcb:glx:GC:GL_DEPTH_BUFFER_BIT 256)
(defconst xcb:glx:GC:GL_ACCUM_BUFFER_BIT 512)
(defconst xcb:glx:GC:GL_STENCIL_BUFFER_BIT 1024)
(defconst xcb:glx:GC:GL_VIEWPORT_BIT 2048)
(defconst xcb:glx:GC:GL_TRANSFORM_BIT 4096)
(defconst xcb:glx:GC:GL_ENABLE_BIT 8192)
(defconst xcb:glx:GC:GL_COLOR_BUFFER_BIT 16384)
(defconst xcb:glx:GC:GL_HINT_BIT 32768)
(defconst xcb:glx:GC:GL_EVAL_BIT 65536)
(defconst xcb:glx:GC:GL_LIST_BIT 131072)
(defconst xcb:glx:GC:GL_TEXTURE_BIT 262144)
(defconst xcb:glx:GC:GL_SCISSOR_BIT 524288)
(defconst xcb:glx:GC:GL_ALL_ATTRIB_BITS 16777215)
(defclass xcb:glx:SwapBuffers
(xcb:-request)
((~opcode :initform 11 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)))
(defclass xcb:glx:UseXFont
(xcb:-request)
((~opcode :initform 12 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(font :initarg :font :type xcb:FONT)
(first :initarg :first :type xcb:CARD32)
(count :initarg :count :type xcb:CARD32)
(list-base :initarg :list-base :type xcb:CARD32)))
(defclass xcb:glx:CreateGLXPixmap
(xcb:-request)
((~opcode :initform 13 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)
(visual :initarg :visual :type xcb:VISUALID)
(pixmap :initarg :pixmap :type xcb:PIXMAP)
(glx-pixmap :initarg :glx-pixmap :type xcb:glx:PIXMAP)))
(defclass xcb:glx:GetVisualConfigs
(xcb:-request)
((~opcode :initform 14 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)))
(defclass xcb:glx:GetVisualConfigs~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(num-visuals :initarg :num-visuals :type xcb:CARD32)
(num-properties :initarg :num-properties :type xcb:CARD32)
(pad~1 :initform 16 :type xcb:-pad)
(property-list~ :initform
'(name property-list type xcb:CARD32 size
(xcb:-fieldref 'length))
:type xcb:-list)
(property-list :initarg :property-list :type xcb:-ignore)))
(defclass xcb:glx:DestroyGLXPixmap
(xcb:-request)
((~opcode :initform 15 :type xcb:-u1)
(glx-pixmap :initarg :glx-pixmap :type xcb:glx:PIXMAP)))
(defclass xcb:glx:VendorPrivate
(xcb:-request)
((~opcode :initform 16 :type xcb:-u1)
(vendor-code :initarg :vendor-code :type xcb:CARD32)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(data~ :initform
'(name data type xcb:BYTE size nil)
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:VendorPrivateWithReply
(xcb:-request)
((~opcode :initform 17 :type xcb:-u1)
(vendor-code :initarg :vendor-code :type xcb:CARD32)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(data~ :initform
'(name data type xcb:BYTE size nil)
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:VendorPrivateWithReply~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(retval :initarg :retval :type xcb:CARD32)
(data1~ :initform
'(name data1 type xcb:BYTE size 24)
:type xcb:-list)
(data1 :initarg :data1 :type xcb:-ignore)
(data2~ :initform
'(name data2 type xcb:BYTE size
(*
(xcb:-fieldref 'length)
4))
:type xcb:-list)
(data2 :initarg :data2 :type xcb:-ignore)))
(defclass xcb:glx:QueryExtensionsString
(xcb:-request)
((~opcode :initform 18 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)))
(defclass xcb:glx:QueryExtensionsString~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(pad~2 :initform 16 :type xcb:-pad)))
(defclass xcb:glx:QueryServerString
(xcb:-request)
((~opcode :initform 19 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)
(name :initarg :name :type xcb:CARD32)))
(defclass xcb:glx:QueryServerString~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(str-len :initarg :str-len :type xcb:CARD32)
(pad~2 :initform 16 :type xcb:-pad)
(string~ :initform
'(name string type xcb:char size
(xcb:-fieldref 'str-len))
:type xcb:-list)
(string :initarg :string :type xcb:-ignore)))
(defclass xcb:glx:ClientInfo
(xcb:-request)
((~opcode :initform 20 :type xcb:-u1)
(major-version :initarg :major-version :type xcb:CARD32)
(minor-version :initarg :minor-version :type xcb:CARD32)
(str-len :initarg :str-len :type xcb:CARD32)
(string~ :initform
'(name string type xcb:char size
(xcb:-fieldref 'str-len))
:type xcb:-list)
(string :initarg :string :type xcb:-ignore)))
(defclass xcb:glx:GetFBConfigs
(xcb:-request)
((~opcode :initform 21 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)))
(defclass xcb:glx:GetFBConfigs~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(num-FB-configs :initarg :num-FB-configs :type xcb:CARD32)
(num-properties :initarg :num-properties :type xcb:CARD32)
(pad~1 :initform 16 :type xcb:-pad)
(property-list~ :initform
'(name property-list type xcb:CARD32 size
(xcb:-fieldref 'length))
:type xcb:-list)
(property-list :initarg :property-list :type xcb:-ignore)))
(defclass xcb:glx:CreatePixmap
(xcb:-request)
((~opcode :initform 22 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)
(fbconfig :initarg :fbconfig :type xcb:glx:FBCONFIG)
(pixmap :initarg :pixmap :type xcb:PIXMAP)
(glx-pixmap :initarg :glx-pixmap :type xcb:glx:PIXMAP)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:DestroyPixmap
(xcb:-request)
((~opcode :initform 23 :type xcb:-u1)
(glx-pixmap :initarg :glx-pixmap :type xcb:glx:PIXMAP)))
(defclass xcb:glx:CreateNewContext
(xcb:-request)
((~opcode :initform 24 :type xcb:-u1)
(context :initarg :context :type xcb:glx:CONTEXT)
(fbconfig :initarg :fbconfig :type xcb:glx:FBCONFIG)
(screen :initarg :screen :type xcb:CARD32)
(render-type :initarg :render-type :type xcb:CARD32)
(share-list :initarg :share-list :type xcb:glx:CONTEXT)
(is-direct :initarg :is-direct :type xcb:BOOL)
(pad~0 :initform 3 :type xcb:-pad)))
(defclass xcb:glx:QueryContext
(xcb:-request)
((~opcode :initform 25 :type xcb:-u1)
(context :initarg :context :type xcb:glx:CONTEXT)))
(defclass xcb:glx:QueryContext~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(pad~1 :initform 20 :type xcb:-pad)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:MakeContextCurrent
(xcb:-request)
((~opcode :initform 26 :type xcb:-u1)
(old-context-tag :initarg :old-context-tag :type xcb:glx:CONTEXT_TAG)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)
(read-drawable :initarg :read-drawable :type xcb:glx:DRAWABLE)
(context :initarg :context :type xcb:glx:CONTEXT)))
(defclass xcb:glx:MakeContextCurrent~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pad~1 :initform 20 :type xcb:-pad)))
(defclass xcb:glx:CreatePbuffer
(xcb:-request)
((~opcode :initform 27 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)
(fbconfig :initarg :fbconfig :type xcb:glx:FBCONFIG)
(pbuffer :initarg :pbuffer :type xcb:glx:PBUFFER)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:DestroyPbuffer
(xcb:-request)
((~opcode :initform 28 :type xcb:-u1)
(pbuffer :initarg :pbuffer :type xcb:glx:PBUFFER)))
(defclass xcb:glx:GetDrawableAttributes
(xcb:-request)
((~opcode :initform 29 :type xcb:-u1)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)))
(defclass xcb:glx:GetDrawableAttributes~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(pad~1 :initform 20 :type xcb:-pad)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:ChangeDrawableAttributes
(xcb:-request)
((~opcode :initform 30 :type xcb:-u1)
(drawable :initarg :drawable :type xcb:glx:DRAWABLE)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:CreateWindow
(xcb:-request)
((~opcode :initform 31 :type xcb:-u1)
(screen :initarg :screen :type xcb:CARD32)
(fbconfig :initarg :fbconfig :type xcb:glx:FBCONFIG)
(window :initarg :window :type xcb:WINDOW)
(glx-window :initarg :glx-window :type xcb:glx:WINDOW)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:DeleteWindow
(xcb:-request)
((~opcode :initform 32 :type xcb:-u1)
(glxwindow :initarg :glxwindow :type xcb:glx:WINDOW)))
(defclass xcb:glx:SetClientInfoARB
(xcb:-request)
((~opcode :initform 33 :type xcb:-u1)
(major-version :initarg :major-version :type xcb:CARD32)
(minor-version :initarg :minor-version :type xcb:CARD32)
(num-versions :initarg :num-versions :type xcb:CARD32)
(gl-str-len :initarg :gl-str-len :type xcb:CARD32)
(glx-str-len :initarg :glx-str-len :type xcb:CARD32)
(gl-versions~ :initform
'(name gl-versions type xcb:CARD32 size
(*
(xcb:-fieldref 'num-versions)
2))
:type xcb:-list)
(gl-versions :initarg :gl-versions :type xcb:-ignore)
(gl-extension-string~ :initform
'(name gl-extension-string type xcb:char size
(xcb:-fieldref 'gl-str-len))
:type xcb:-list)
(gl-extension-string :initarg :gl-extension-string :type xcb:-ignore)
(glx-extension-string~ :initform
'(name glx-extension-string type xcb:char size
(xcb:-fieldref 'glx-str-len))
:type xcb:-list)
(glx-extension-string :initarg :glx-extension-string :type xcb:-ignore)))
(defclass xcb:glx:CreateContextAttribsARB
(xcb:-request)
((~opcode :initform 34 :type xcb:-u1)
(context :initarg :context :type xcb:glx:CONTEXT)
(fbconfig :initarg :fbconfig :type xcb:glx:FBCONFIG)
(screen :initarg :screen :type xcb:CARD32)
(share-list :initarg :share-list :type xcb:glx:CONTEXT)
(is-direct :initarg :is-direct :type xcb:BOOL)
(pad~0 :initform 3 :type xcb:-pad)
(num-attribs :initarg :num-attribs :type xcb:CARD32)
(attribs~ :initform
'(name attribs type xcb:CARD32 size
(*
(xcb:-fieldref 'num-attribs)
2))
:type xcb:-list)
(attribs :initarg :attribs :type xcb:-ignore)))
(defclass xcb:glx:SetClientInfo2ARB
(xcb:-request)
((~opcode :initform 35 :type xcb:-u1)
(major-version :initarg :major-version :type xcb:CARD32)
(minor-version :initarg :minor-version :type xcb:CARD32)
(num-versions :initarg :num-versions :type xcb:CARD32)
(gl-str-len :initarg :gl-str-len :type xcb:CARD32)
(glx-str-len :initarg :glx-str-len :type xcb:CARD32)
(gl-versions~ :initform
'(name gl-versions type xcb:CARD32 size
(*
(xcb:-fieldref 'num-versions)
3))
:type xcb:-list)
(gl-versions :initarg :gl-versions :type xcb:-ignore)
(gl-extension-string~ :initform
'(name gl-extension-string type xcb:char size
(xcb:-fieldref 'gl-str-len))
:type xcb:-list)
(gl-extension-string :initarg :gl-extension-string :type xcb:-ignore)
(glx-extension-string~ :initform
'(name glx-extension-string type xcb:char size
(xcb:-fieldref 'glx-str-len))
:type xcb:-list)
(glx-extension-string :initarg :glx-extension-string :type xcb:-ignore)))
(defclass xcb:glx:NewList
(xcb:-request)
((~opcode :initform 101 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(list :initarg :list :type xcb:CARD32)
(mode :initarg :mode :type xcb:CARD32)))
(defclass xcb:glx:EndList
(xcb:-request)
((~opcode :initform 102 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)))
(defclass xcb:glx:DeleteLists
(xcb:-request)
((~opcode :initform 103 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(list :initarg :list :type xcb:CARD32)
(range :initarg :range :type xcb:INT32)))
(defclass xcb:glx:GenLists
(xcb:-request)
((~opcode :initform 104 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(range :initarg :range :type xcb:INT32)))
(defclass xcb:glx:GenLists~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(ret-val :initarg :ret-val :type xcb:CARD32)))
(defclass xcb:glx:FeedbackBuffer
(xcb:-request)
((~opcode :initform 105 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(size :initarg :size :type xcb:INT32)
(type :initarg :type :type xcb:INT32)))
(defclass xcb:glx:SelectBuffer
(xcb:-request)
((~opcode :initform 106 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(size :initarg :size :type xcb:INT32)))
(defclass xcb:glx:RenderMode
(xcb:-request)
((~opcode :initform 107 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(mode :initarg :mode :type xcb:CARD32)))
(defclass xcb:glx:RenderMode~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(ret-val :initarg :ret-val :type xcb:CARD32)
(n :initarg :n :type xcb:CARD32)
(new-mode :initarg :new-mode :type xcb:CARD32)
(pad~1 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:CARD32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defconst xcb:glx:RM:GL_RENDER 7168)
(defconst xcb:glx:RM:GL_FEEDBACK 7169)
(defconst xcb:glx:RM:GL_SELECT 7170)
(defclass xcb:glx:Finish
(xcb:-request)
((~opcode :initform 108 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)))
(defclass xcb:glx:Finish~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)))
(defclass xcb:glx:PixelStoref
(xcb:-request)
((~opcode :initform 109 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pname :initarg :pname :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT32)))
(defclass xcb:glx:PixelStorei
(xcb:-request)
((~opcode :initform 110 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pname :initarg :pname :type xcb:CARD32)
(datum :initarg :datum :type xcb:INT32)))
(defclass xcb:glx:ReadPixels
(xcb:-request)
((~opcode :initform 111 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(x :initarg :x :type xcb:INT32)
(y :initarg :y :type xcb:INT32)
(width :initarg :width :type xcb:INT32)
(height :initarg :height :type xcb:INT32)
(format :initarg :format :type xcb:CARD32)
(type :initarg :type :type xcb:CARD32)
(swap-bytes :initarg :swap-bytes :type xcb:BOOL)
(lsb-first :initarg :lsb-first :type xcb:BOOL)))
(defclass xcb:glx:ReadPixels~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 24 :type xcb:-pad)
(data~ :initform
'(name data type xcb:BYTE size
(*
(xcb:-fieldref 'length)
4))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetBooleanv
(xcb:-request)
((~opcode :initform 112 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pname :initarg :pname :type xcb:INT32)))
(defclass xcb:glx:GetBooleanv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:BOOL)
(pad~2 :initform 15 :type xcb:-pad)
(data~ :initform
'(name data type xcb:BOOL size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetClipPlane
(xcb:-request)
((~opcode :initform 113 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(plane :initarg :plane :type xcb:INT32)))
(defclass xcb:glx:GetClipPlane~reply
(xcb:-reply)
((pad~0 :initform 8 :type xcb:-pad-align)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 1 :type xcb:-pad)
(pad~2 :initform 24 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT64 size
(/
(xcb:-fieldref 'length)
2))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetDoublev
(xcb:-request)
((~opcode :initform 114 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetDoublev~reply
(xcb:-reply)
((pad~0 :initform 8 :type xcb:-pad-align)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 1 :type xcb:-pad)
(pad~2 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT64)
(pad~3 :initform 8 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT64 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetError
(xcb:-request)
((~opcode :initform 115 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)))
(defclass xcb:glx:GetError~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(error :initarg :error :type xcb:INT32)))
(defclass xcb:glx:GetFloatv
(xcb:-request)
((~opcode :initform 116 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetFloatv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetIntegerv
(xcb:-request)
((~opcode :initform 117 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetIntegerv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:INT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:INT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetLightfv
(xcb:-request)
((~opcode :initform 118 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(light :initarg :light :type xcb:CARD32)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetLightfv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetLightiv
(xcb:-request)
((~opcode :initform 119 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(light :initarg :light :type xcb:CARD32)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetLightiv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:INT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:INT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetMapdv
(xcb:-request)
((~opcode :initform 120 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(target :initarg :target :type xcb:CARD32)
(query :initarg :query :type xcb:CARD32)))
(defclass xcb:glx:GetMapdv~reply
(xcb:-reply)
((pad~0 :initform 8 :type xcb:-pad-align)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 1 :type xcb:-pad)
(pad~2 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT64)
(pad~3 :initform 8 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT64 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetMapfv
(xcb:-request)
((~opcode :initform 121 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(target :initarg :target :type xcb:CARD32)
(query :initarg :query :type xcb:CARD32)))
(defclass xcb:glx:GetMapfv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetMapiv
(xcb:-request)
((~opcode :initform 122 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(target :initarg :target :type xcb:CARD32)
(query :initarg :query :type xcb:CARD32)))
(defclass xcb:glx:GetMapiv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:INT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:INT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetMaterialfv
(xcb:-request)
((~opcode :initform 123 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(face :initarg :face :type xcb:CARD32)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetMaterialfv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:glx:FLOAT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform
'(name data type xcb:glx:FLOAT32 size
(xcb:-fieldref 'n))
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:glx:GetMaterialiv
(xcb:-request)
((~opcode :initform 124 :type xcb:-u1)
(context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
(face :initarg :face :type xcb:CARD32)
(pname :initarg :pname :type xcb:CARD32)))
(defclass xcb:glx:GetMaterialiv~reply
(xcb:-reply)
((pad~0 :initform 1 :type xcb:-pad)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(pad~1 :initform 4 :type xcb:-pad)
(n :initarg :n :type xcb:CARD32)
(datum :initarg :datum :type xcb:INT32)
(pad~2 :initform 12 :type xcb:-pad)
(data~ :initform