~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to include/GL/glxext.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
/*************************************************************/
53
53
 
54
54
/* Header file version number, required by OpenGL ABI for Linux */
55
 
/* glxext.h last updated 2004/07/26 */
56
 
/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
57
 
#define GLX_GLXEXT_VERSION 6
 
55
/* glxext.h last updated 2006/08/30 */
 
56
/* Current version at http://www.opengl.org/registry/ */
 
57
#define GLX_GLXEXT_VERSION 14
58
58
 
59
59
#ifndef GLX_VERSION_1_3
60
60
#define GLX_WINDOW_BIT                     0x00000001
128
128
#define GLX_SAMPLES_ARB                    100001
129
129
#endif
130
130
 
 
131
#ifndef GLX_ARB_fbconfig_float
 
132
#define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9
 
133
#define GLX_RGBA_FLOAT_BIT_ARB             0x00000004
 
134
#endif
 
135
 
131
136
#ifndef GLX_SGIS_multisample
132
137
#define GLX_SAMPLE_BUFFERS_SGIS            100000
133
138
#define GLX_SAMPLES_SGIS                   100001
282
287
#ifndef GLX_OML_sync_control
283
288
#endif
284
289
 
285
 
#ifndef GLX_SGIX_hyperpipe_group
 
290
#ifndef GLX_NV_float_buffer
 
291
#define GLX_FLOAT_COMPONENTS_NV            0x20B0
 
292
#endif
 
293
 
 
294
#ifndef GLX_SGIX_hyperpipe
286
295
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
287
296
#define GLX_BAD_HYPERPIPE_CONFIG_SGIX      91
288
297
#define GLX_BAD_HYPERPIPE_SGIX             92
331
340
} GLXBufferClobberEventSGIX;
332
341
#endif
333
342
 
334
 
#if defined(__sun__) || defined(__osf__)
 
343
#ifndef GLEXT_64_TYPES_DEFINED
 
344
/* This code block is duplicated in glxext.h, so must be protected */
 
345
#define GLEXT_64_TYPES_DEFINED
 
346
/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
 
347
/* (as used in the GLX_OML_sync_control extension). */
 
348
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
 
349
#include <inttypes.h>
 
350
#elif defined(__sun__)
335
351
#include <inttypes.h>
336
352
#if defined(__STDC__)
337
353
#if defined(__arch64__)
338
354
typedef long int int64_t;
 
355
typedef unsigned long int uint64_t;
339
356
#else
340
 
typedef long long int int64_t;   
 
357
typedef long long int int64_t;
 
358
typedef unsigned long long int uint64_t;
341
359
#endif /* __arch64__ */
342
360
#endif /* __STDC__ */
 
361
#elif defined( __VMS )
 
362
#include <inttypes.h>
 
363
#elif defined(__SCO__) || defined(__USLC__)
 
364
#include <stdint.h>
343
365
#elif defined(__UNIXOS2__) || defined(__SOL64__)
344
366
typedef long int int32_t;
345
367
typedef long long int int64_t;
346
 
#elif defined( __VMS )
347
 
#include <inttypes.h>
348
 
#elif defined(__SCO__) || defined(__USLC__)
349
 
#include <stdint.h>
 
368
typedef unsigned long long int uint64_t;
350
369
#elif defined(WIN32) && defined(__GNUC__)
351
370
#include <stdint.h>
 
371
#else
 
372
#include <inttypes.h>     /* Fallback option */
 
373
#endif
352
374
#endif
353
375
 
354
376
#ifndef GLX_VERSION_1_3
413
435
#define GLX_ARB_multisample 1
414
436
#endif
415
437
 
 
438
#ifndef GLX_ARB_fbconfig_float
 
439
#define GLX_ARB_fbconfig_float 1
 
440
#endif
 
441
 
416
442
#ifndef GLX_SGIS_multisample
417
443
#define GLX_SGIS_multisample 1
418
444
#endif
631
657
typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
632
658
#endif
633
659
 
634
 
#ifndef GLX_SGIX_hyperpipe_group
635
 
#define GLX_SGIX_hyperpipe_group 1
 
660
#ifndef GLX_NV_float_buffer
 
661
#define GLX_NV_float_buffer 1
 
662
#endif
 
663
 
 
664
#ifndef GLX_SGIX_hyperpipe
 
665
#define GLX_SGIX_hyperpipe 1
636
666
 
637
667
typedef struct {
638
668
    char    pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
686
716
typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer);
687
717
#endif
688
718
 
 
719
 
689
720
#ifdef __cplusplus
690
721
}
691
722
#endif