Khronos Public Bugzilla
View | Details | Raw Unified | Return to bug 622
Collapse All | Expand All

(-)glx.spec (-415 / +55 lines)
 Lines 36-84    Link Here 
36
	glxopcode	 2
36
	glxopcode	 2
37
37
38
38
39
CreateContext(gc_id, screen, visual, share_list)
39
CreateContext(dpy, visual, share_list, direct)
40
	return		 void
40
	return       GLXContext
41
	param		 gc_id		Int32 in value
41
	param        dpy        DisplayPointer in value
42
	param		 screen		Int32 in value
42
	param        visual     XVisualInfoPointer in value
43
	param		 visual		Int32 in value
43
	param        share_list GLXContext in value
44
	param		 share_list	Int32 in value
44
	param        direct     Bool in value
45
	glxflags	 client-handcode server-handcode
45
	glxflags	 client-handcode server-handcode
46
	category	 glx
46
	category	 glx
47
	dlflags		 notlistable
47
	dlflags		 notlistable
48
	glxopcode	 3
48
	glxopcode	 3
49
49
50
50
51
DestroyContext(context)
51
DestroyContext(dpy, ctx)
52
	return		 void
52
	return		 void
53
	param		 context       Int32 in value
53
	param        dpy        DisplayPointer in value
54
	param        ctx        GLXContext in value
54
	glxflags	 client-handcode server-handcode
55
	glxflags	 client-handcode server-handcode
55
	category	 glx
56
	category	 glx
56
	dlflags		 notlistable
57
	dlflags		 notlistable
57
	glxopcode	 4
58
	glxopcode	 4
58
59
59
60
60
MakeCurrent(drawable, context)
61
MakeCurrent(dpy, drawable, ctx)
61
	return		 void
62
	return       Bool
62
	param		 drawable	Int32 in value
63
	param        dpy        DisplayPointer in value
63
	param		 context       Int32 in value
64
	param        drawable   GLXDrawable in value
64
	glxflags	 client-handcode server-handcode
65
	param        ctx        GLXContext in value
65
	category	 glx
66
	category	 glx
66
	dlflags		 notlistable
67
	dlflags		 notlistable
67
	glxopcode	 5
68
	glxopcode	 5
68
69
69
70
70
IsDirect(dpy, context)
71
IsDirect(dpy, ctx)
71
	return		void
72
	return       Bool
72
	param		dpy		Int32 in value
73
	param        dpy        DisplayPointer in value
73
	param		context		Int32 in value
74
	param        ctx        GLXContext in value
74
	glxflags	client-handcode server-handcode
75
	glxflags     client-handcode server-handcode
75
	category	glx
76
	category     glx
76
	dlflags		notlistable
77
	dlflags      notlistable
77
	glxopcode	6
78
	glxopcode    6
78
79
79
80
80
QueryVersion(major, minor)
81
QueryVersion(dpy, major, minor)
81
	return		 void
82
	return       Bool
83
	param        dpy        DisplayPointer in value
82
	param		 major		Int32 out reference
84
	param		 major		Int32 out reference
83
	param		 minor		Int32 out reference
85
	param		 minor		Int32 out reference
84
	category	 glx
86
	category	 glx
 Lines 87-95    Link Here 
87
	glxopcode	 7
89
	glxopcode	 7
88
90
89
91
90
WaitGL(context)
92
WaitGL()
91
	return		 void
93
	return		 void
92
	param		 context	Int32 in value
93
	category	 glx
94
	category	 glx
94
	dlflags		 notlistable
95
	dlflags		 notlistable
95
	glxflags	 client-handcode server-handcode
96
	glxflags	 client-handcode server-handcode
 Lines 104-123    Link Here 
104
	glxopcode	 9
105
	glxopcode	 9
105
106
106
107
107
CopyContext(source, dest, mask)
108
CopyContext(dpy, source, dest, mask)
108
	return		 void
109
	return		 void
109
	param		 source		Int32 in value
110
	param        dpy        DisplayPointer in value
110
	param		 dest		Int32 in value
111
	param        source     GLXContext in value
111
	param		 mask		Int32 in value
112
	param        dest       GLXContext in value
113
	param        mask       UInt32 in value
112
	category	 glx
114
	category	 glx
113
	dlflags		 notlistable
115
	dlflags		 notlistable
114
	glxflags	 client-handcode server-handcode
116
	glxflags	 client-handcode server-handcode
115
	glxopcode	 10
117
	glxopcode	 10
116
118
117
119
118
SwapBuffers(drawable)
120
SwapBuffers(dpy, drawable)
119
	return		 void
121
	return		 void
120
	param		 drawable	Int32 in value
122
	param        dpy        DisplayPointer in value
123
	param        drawable   GLXDrawable in value
121
	category	 glx
124
	category	 glx
122
	dlflags		 notlistable
125
	dlflags		 notlistable
123
	glxflags	 client-handcode server-handcode
126
	glxflags	 client-handcode server-handcode
 Lines 126-132    Link Here 
126
129
127
UseXFont(font, first, count, list_base)
130
UseXFont(font, first, count, list_base)
128
	return		 void
131
	return		 void
129
	param		 font		Int32 in value
132
	param        font       Font in value
130
	param		 first		Int32 in value
133
	param		 first		Int32 in value
131
	param		 count		Int32 in value
134
	param		 count		Int32 in value
132
	param		 list_base	Int32 in value
135
	param		 list_base	Int32 in value
 Lines 136-146    Link Here 
136
	glxopcode	 12
139
	glxopcode	 12
137
140
138
141
139
CreateGLXPixmap(visual, pixmap, glxpixmap)
142
CreateGLXPixmap(dpy, visual, pixmap)
140
	return		 void
143
	return       GLXPixmap
141
	param		 visual		Int32 in value
144
	param        dpy        DisplayPointer in value
142
	param		 pixmap		Int32 in value
145
	param        visual     XVisualInfoPointer in value
143
	param		 glxpixmap	Int32 in value
146
	param        pixmap     Pixmap in value
144
	category	 glx
147
	category	 glx
145
	dlflags		 notlistable
148
	dlflags		 notlistable
146
	glxflags	 client-handcode server-handcode
149
	glxflags	 client-handcode server-handcode
 Lines 154-162    Link Here 
154
	glxopcode	 14
157
	glxopcode	 14
155
158
156
159
157
DestroyGLXPixmap(pixmap)
160
DestroyGLXPixmap(dpy, pixmap)
158
	return		 void
161
	return		 void
159
	param		 pixmap		Int32 in value
162
	param        dpy        DisplayPointer in value
163
	param        pixmap     GLXPixmap in value
160
	glxflags	 client-handcode
164
	glxflags	 client-handcode
161
	category	 glx
165
	category	 glx
162
	dlflags		 notlistable
166
	dlflags		 notlistable
 Lines 183-198    Link Here 
183
# GLX1.1 commands
187
# GLX1.1 commands
184
#
188
#
185
###############################################################################
189
###############################################################################
186
QueryExtensionsString(screen)
190
QueryExtensionsString(dpy, screen)
187
	return		void
191
	return      GLXstring
192
	param       dpy     DisplayPointer in value
188
	param		screen		Int32 in value
193
	param		screen		Int32 in value
189
	glxflags	client-handcode server-handcode
194
	glxflags	client-handcode server-handcode
190
	category	glx
195
	category	glx
191
	dlflags		notlistable
196
	dlflags		notlistable
192
	glxopcode	18
197
	glxopcode	18
193
198
194
QueryServerString(screen, name)
199
QueryServerString(dpy, screen, name)
195
	return		void
200
	return      GLXstring
201
	param       dpy     DisplayPointer in value
196
	param		screen		Int32 in value
202
	param		screen		Int32 in value
197
	param		name		Int32 in value
203
	param		name		Int32 in value
198
	glxflags	client-handcode server-handcode
204
	glxflags	client-handcode server-handcode
 Lines 212-287    Link Here 
212
# GLX1.3 commands
218
# GLX1.3 commands
213
#
219
#
214
###############################################################################
220
###############################################################################
215
GetFBConfigs()
216
	return		void
217
	category	glx
218
	dlflags		notlistable
219
	glxflags	client-handcode server-handcode
220
	glxopcode	21
221
222
CreatePixmap(config, pixmap, glxpixmap)
223
	return		void
224
	param		config		Int32 in value
225
	param		pixmap		Int32 in value
226
	param		glxpixmap	Int32 in value
227
	dlflags		notlistable
228
	glxflags	client-handcode server-handcode
229
	category	glx
230
	glxopcode	22
231
232
DestroyPixmap(glxpixmap)
233
	return		void
234
	param		glxpixmap	Int32 in value
235
	dlflags		notlistable
236
	glxflags	client-handcode server-handcode
237
	category	glx
238
	glxopcode	23
239
240
CreateNewContext(config, render_type, share_list, direct)
241
	return		void
242
	param		config		Int32 in value
243
	param		render_type	Int32 in value
244
	param		share_list	Int32 in value
245
	param		direct		Int32 in value
246
	dlflags		notlistable
247
	glxflags	client-handcode server-handcode
248
	category	glx
249
	glxopcode	24
250
251
QueryContext()
252
	return		void
253
	dlflags		notlistable
254
	glxflags	client-handcode server-handcode
255
	category	glx
256
	glxopcode	25
257
258
MakeContextCurrent(drawable, readdrawable, context)
259
	return		void
260
	param		drawable	Int32 in value
261
	param		readdrawable	Int32 in value
262
	param		context		Int32 in value
263
	dlflags		notlistable
264
	glxflags	client-handcode server-handcode
265
	category	glx
266
	glxopcode	26
267
268
CreatePbuffer(config, pbuffer)
269
	return		void
270
	param		config		Int32 in value
271
	param		pbuffer		Int32 in value
272
	dlflags		notlistable
273
	glxflags	client-handcode server-handcode
274
	category	glx
275
	glxopcode	27
276
277
DestroyPbuffer(pbuffer)
278
	return		void
279
	param		pbuffer		Int32 in value
280
	dlflags		notlistable
281
	glxflags	client-handcode
282
	category	glx
283
	glxopcode	28
284
285
GetDrawableAttributes(drawable)
221
GetDrawableAttributes(drawable)
286
	return		void
222
	return		void
287
	param		drawable	Int32 in value
223
	param		drawable	Int32 in value
 Lines 298-602    Link Here 
298
	category	glx
234
	category	glx
299
	glxopcode	30
235
	glxopcode	30
300
236
301
CreateWindow(config, window, glxwindow)
237
ChooseVisual(dpy, screen, attriblist)
302
	return		void
238
	return      XVisualInfoPointer
303
	param		config		Int32 in value
239
	param       dpy     DisplayPointer in value
304
	param		window		Int32 in value
240
	param       screen      Int32 in value
305
	param		glxwindow	Int32 in value
241
	param       attriblist  Int32 out array
306
	dlflags		notlistable
242
	category    glx
307
	glxflags	client-handcode server-handcode
308
	category	glx
309
	glxopcode	31
310
311
DestroyWindow(glxwindow)
312
	return		void
313
	param		glxwindow	Int32 in value
314
	dlflags		notlistable
315
	glxflags	client-handcode server-handcode
316
	category	glx
317
	glxopcode	32
318
319
###############################################################################
320
#
321
# IRIX5.3 extension commands
322
#
323
###############################################################################
324
325
###############################################################################
326
#
327
# SGI_swap_control extension commands
328
#
329
###############################################################################
330
SwapIntervalSGI()
331
	return		void
332
	glxflags	client-handcode server-handcode
333
	category	glx
334
	dlflags		notlistable
335
	glxvendorglx	65536
336
337
###############################################################################
338
#
339
# IRIX5.3-PATCH154 extension commands
340
#
341
###############################################################################
342
343
###############################################################################
344
#
345
# SGI_make_current_read extension commands
346
#
347
###############################################################################
348
MakeCurrentReadSGI(drawable, readdrawable, context)
349
	return		void
350
	param		drawable	Int32 in value
351
	param		readdrawable	Int32 in value
352
	param		context		Int32 in value
353
	glxflags	client-handcode server-handcode
354
	category	glx
355
	dlflags		notlistable
356
	glxvendorglx	65537
357
358
###############################################################################
359
#
360
# SGIX_video_source extension commands
361
#
362
###############################################################################
363
CreateGLXVideoSourceSGIX(dpy, screen, server, path, class, node)
364
	return		void
365
	param		dpy			Int32 in value
366
	param		screen			Int32 in value
367
	param		server			Int32 in value
368
	param		path			Int32 in value
369
	param		class			Int32 in value
370
	param		node			Int32 in value
371
	glxflags	client-handcode server-handcode
372
	category	glx
373
	dlflags		notlistable
374
	glxvendorglx	65538
375
376
DestroyGLXVideoSourceSGIX(dpy, glxvideosource)
377
	return		void
378
	param		dpy			Int32 in value
379
	param		glxvideosource		Int32 in value
380
	glxflags	client-handcode server-handcode
381
	category	glx
382
	dlflags		notlistable
383
	glxvendorglx	65539
384
385
###############################################################################
386
#
387
# IRIX6.2 extension commands
388
#
389
###############################################################################
390
391
###############################################################################
392
#
393
# EXT_import_context extension commands
394
#
395
###############################################################################
396
QueryContextInfoEXT()
397
	return		 void
398
	category	 glx
399
	dlflags		 notlistable
400
	glxflags	 client-handcode server-handcode
401
	glxvendorglx	 1024
402
403
###############################################################################
404
#
405
# SGIX_fbconfig extension commands
406
#
407
###############################################################################
408
GetFBConfigsSGIX()
409
	return		 void
410
	category	 glx
411
	dlflags		 notlistable
412
	glxflags	 client-handcode server-handcode
413
	glxvendorglx	 65540
414
415
CreateContextWithConfigSGIX(gc_id, screen, config, share_list)
416
	return		 void
417
	param		 gc_id		Int32 in value
418
	param		 screen		Int32 in value
419
	param		 config		Int32 in value
420
	param		 share_list	Int32 in value
421
	glxflags	 client-handcode server-handcode
422
	category	 glx
423
	dlflags		 notlistable
424
	glxvendorglx	 65541
425
426
CreateGLXPixmapWithConfigSGIX(config, pixmap, glxpixmap)
427
	return		 void
428
	param		 config		Int32 in value
429
	param		 pixmap		Int32 in value
430
	param		 glxpixmap	Int32 in value
431
	category	 glx
432
	dlflags		 notlistable
433
	glxflags	 client-handcode server-handcode
434
	glxvendorglx	 65542
435
436
###############################################################################
437
#
438
# SGIX_pbuffer extension commands
439
#
440
###############################################################################
441
442
CreateGLXPbufferSGIX(config, pbuffer)
443
	return		 void
444
	param		 config		Int32 in value
445
	param		 pbuffer	Int32 in value
446
	dlflags		 notlistable
447
	glxflags	 client-handcode server-handcode
448
	category	 glx
449
	glxvendorglx	 65543
450
451
DestroyGLXPbufferSGIX(pbuffer)
452
	return		 void
453
	param		 pbuffer	Int32 in value
454
	dlflags		 notlistable
455
	glxflags	 client-handcode
456
	category	 glx
457
	glxvendorglx	 65544
458
459
ChangeDrawableAttributesSGIX(drawable)
460
	return		 void
461
	param		 drawable	Int32 in value
462
	dlflags		 notlistable
463
	glxflags	 client-handcode server-handcode
464
	category	 glx
465
	glxvendorglx	 65545
466
467
GetDrawableAttributesSGIX(drawable)
468
	return		 void
469
	param		 drawable	Int32 in value
470
	dlflags		 notlistable
471
	glxflags	 client-handcode server-handcode
472
	category	 glx
473
	glxvendorglx	 65546
474
475
###############################################################################
476
#
477
# SGIX_swap_group extension commands
478
#
479
###############################################################################
480
481
JoinSwapGroupSGIX(window,group)
482
	return		void
483
	param		window		Int32 in value
484
	param		group		Int32 in value
485
	glxflags	client-handcode server-handcode
486
	category	glx
487
	dlflags		notlistable
488
	glxvendorglx	65547
489
490
###############################################################################
491
#
492
# SGIX_swap_barrier extension commands
493
#
494
###############################################################################
495
496
BindSwapBarrierSGIX(window,barrier)
497
	return		void
498
	param		window		Int32 in value
499
	param		barrier		Int32 in value
500
	glxflags	client-handcode server-handcode
501
	category	glx
502
	dlflags		notlistable
503
	glxvendorglx	65548
504
505
QueryMaxSwapBarriersSGIX()
506
	return		void
507
	glxflags	client-handcode server-handcode
508
	category	glx
509
	dlflags		notlistable
510
	glxvendorglx	65549
511
512
###############################################################################
513
#
514
# SGIX_hyperpipe extension commands
515
#
516
###############################################################################
517
518
QueryHyperpipeNetworkSGIX(dpy, npipes)
519
	return		GLXHyperpipeNetworkSGIXPointer
520
	param		dpy		Display out reference
521
	param		npipes		int out reference
522
	glxflags	client-handcode server-handcode
523
	category	glx
524
	dlflags		notlistable
525
	glxvendorglx	65550
526
527
HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, hpId)
528
	return		int
529
	param		dpy		Display out reference
530
	param		networkId	int in value
531
	param		npipes		int in value
532
	param		cfg		GLXHyperpipeConfigSGIX in array[npipes]
533
	param		hpId		int out reference
534
	glxflags	client-handcode server-handcode
535
	category	glx
536
	dlflags		notlistable
537
	glxvendorglx	65552
538
539
QueryHyperpipeConfigSGIX(dpy, hpId, npipes)
540
	return		GLXHyperpipeConfigSGIXPointer
541
	param		dpy		Display out reference
542
	param		hpId		int in value
543
	param		npipes		int out reference
544
	glxflags	client-handcode server-handcode
545
	category	glx
546
	dlflags		notlistable
547
	glxvendorglx	65551
548
549
DestroyHyperpipeConfigSGIX(dpy, hpId)
550
	return		int
551
	param		dpy		Display out reference
552
	param		hpId		int in value
553
	glxflags	client-handcode server-handcode
554
	category	glx
555
	dlflags		notlistable
556
	glxvendorglx	65553
557
558
BindHyperpipeSGIX(dpy, hpId)
559
	return		int
560
	param		dpy		Display out reference
561
	param		hpId		int in value
562
	glxflags	client-handcode server-handcode
563
	category	glx
564
	dlflags		notlistable
565
	glxvendorglx	???
566
567
QueryHyperpipeBestAttribSGIX(dpy, timeSlice, attrib, size, attribList, returnAttribList)
568
	return		int
569
	param		dpy		Display out reference
570
	param		timeSlice	int in value
571
	param		attrib		int in value
572
	param		size		int in value
573
	param		attribList	Void in array[size]
574
	param		returnAttribList Void out array[size]
575
	glxflags	client-handcode server-handcode
576
	category	glx
577
	dlflags		notlistable
578
	glxvendorglx	???
579
580
HyperpipeAttribSGIX(dpy, timeSlice, attrib, size, attribList)
581
	return		int
582
	param		dpy		Display out reference
583
	param		timeSlice	int in value
584
	param		attrib		int in value
585
	param		size		int in value
586
	param		attribList	void in array[size]
587
	glxflags	client-handcode server-handcode
588
	category	glx
589
	dlflags		notlistable
590
	glxvendorglx	???
591
592
QueryHyperpipeAttribSGIX(dpy, timeSlice, attrib, size, returnAttribList)
593
	return		int
594
	param		dpy		Display out reference
595
	param		timeSlice	int in value
596
	param		attrib		int in value
597
	param		size		int in value
598
	param		returnAttribList void in array[size]
599
	glxflags	client-handcode server-handcode
600
	category	glx
601
	dlflags		notlistable
602
	glxvendorglx	???

Return to bug 622