core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

glheader.h File Reference

Top-most include file. More...

#include <assert.h>
#include <ctype.h>
#include <math.h>
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <float.h>
#include <stdarg.h>
#include "GL/gl.h"
#include "GL/glext.h"
#include <GL/internal/glcore.h>
#include "config.h"

Data Structures

union  fi_type
 Sometimes we treat GLfloats as GLints. More...


Defines

#define GLAPI   extern
#define GLAPIENTRY
#define GLAPIENTRYP   *
#define GLCALLBACK
#define GLCALLBACKP   *
#define GLCALLBACKPCAST   *
#define GLWINAPI
#define GLWINAPIV
#define GL_GLEXT_PROTOTYPES
#define CPU_TO_LE32(x)   ( x )
#define MESA_LITTLE_ENDIAN   1
#define LE32_TO_CPU(x)   CPU_TO_LE32( x )
#define CAPI
#define GL_PIXEL_PACK_BUFFER_EXT   0x88EB
#define GL_PIXEL_UNPACK_BUFFER_EXT   0x88EC
#define GL_PIXEL_PACK_BUFFER_BINDING_EXT   0x88ED
#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT   0x88EF
#define GL_ARB_half_float_pixel   1
#define GL_HALF_FLOAT_ARB   0x140B
#define GL_ARB_texture_float   1
#define GL_TEXTURE_RED_TYPE_ARB   0x9000
#define GL_TEXTURE_GREEN_TYPE_ARB   0x9001
#define GL_TEXTURE_BLUE_TYPE_ARB   0x9002
#define GL_TEXTURE_ALPHA_TYPE_ARB   0x9003
#define GL_TEXTURE_LUMINANCE_TYPE_ARB   0x9004
#define GL_TEXTURE_INTENSITY_TYPE_ARB   0x9005
#define GL_TEXTURE_DEPTH_TYPE_ARB   0x9006
#define GL_UNSIGNED_NORMALIZED_ARB   0x9007
#define GL_RGBA32F_ARB   0x8814
#define GL_RGB32F_ARB   0x8815
#define GL_ALPHA32F_ARB   0x8816
#define GL_INTENSITY32F_ARB   0x8817
#define GL_LUMINANCE32F_ARB   0x8818
#define GL_LUMINANCE_ALPHA32F_ARB   0x8819
#define GL_RGBA16F_ARB   0x881A
#define GL_RGB16F_ARB   0x881B
#define GL_ALPHA16F_ARB   0x881C
#define GL_INTENSITY16F_ARB   0x881D
#define GL_LUMINANCE16F_ARB   0x881E
#define GL_LUMINANCE_ALPHA16F_ARB   0x881F
#define _ASMAPI
#define _ASMAPIP   _ASMAPI *
#define _NORMAPI
#define _NORMAPIP   *
#define INLINE
#define CONST   const
#define ASSERT(X)

Typedefs

typedef GLushort GLhalfARB


Detailed Description

Top-most include file.

This is the top-most include file of the Mesa sources. It includes gl.h and all system headers which are needed. Other Mesa source files should not directly include any system headers. This allows Mesa to be integrated into XFree86 and allows system-dependent hacks/workarounds to be collected in one place.

Note:
Actually, a lot of system-dependent stuff is now in imports.[ch].
If you touch this file, everything gets recompiled!

This file should be included before any other header in the .c files.

Put compiler/OS/assembly pragmas and macros here to avoid cluttering other source files.


Define Documentation

#define _ASMAPI
 

#define _ASMAPIP   _ASMAPI *
 

#define _NORMAPI
 

#define _NORMAPIP   *
 

#define ASSERT X   
 

#define CAPI
 

#define CONST   const
 

#define CPU_TO_LE32      ( x )
 

#define GL_ALPHA16F_ARB   0x881C
 

#define GL_ALPHA32F_ARB   0x8816
 

#define GL_ARB_half_float_pixel   1
 

#define GL_ARB_texture_float   1
 

#define GL_GLEXT_PROTOTYPES
 

#define GL_HALF_FLOAT_ARB   0x140B
 

#define GL_INTENSITY16F_ARB   0x881D
 

#define GL_INTENSITY32F_ARB   0x8817
 

#define GL_LUMINANCE16F_ARB   0x881E
 

#define GL_LUMINANCE32F_ARB   0x8818
 

#define GL_LUMINANCE_ALPHA16F_ARB   0x881F
 

#define GL_LUMINANCE_ALPHA32F_ARB   0x8819
 

#define GL_PIXEL_PACK_BUFFER_BINDING_EXT   0x88ED
 

#define GL_PIXEL_PACK_BUFFER_EXT   0x88EB
 

#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT   0x88EF
 

#define GL_PIXEL_UNPACK_BUFFER_EXT   0x88EC
 

#define GL_RGB16F_ARB   0x881B
 

#define GL_RGB32F_ARB   0x8815
 

#define GL_RGBA16F_ARB   0x881A
 

#define GL_RGBA32F_ARB   0x8814
 

#define GL_TEXTURE_ALPHA_TYPE_ARB   0x9003
 

#define GL_TEXTURE_BLUE_TYPE_ARB   0x9002
 

#define GL_TEXTURE_DEPTH_TYPE_ARB   0x9006
 

#define GL_TEXTURE_GREEN_TYPE_ARB   0x9001
 

#define GL_TEXTURE_INTENSITY_TYPE_ARB   0x9005
 

#define GL_TEXTURE_LUMINANCE_TYPE_ARB   0x9004
 

#define GL_TEXTURE_RED_TYPE_ARB   0x9000
 

#define GL_UNSIGNED_NORMALIZED_ARB   0x9007
 

#define GLAPI   extern
 

#define GLAPIENTRY
 

#define GLAPIENTRYP   *
 

#define GLCALLBACK
 

#define GLCALLBACKP   *
 

#define GLCALLBACKPCAST   *
 

#define GLWINAPI
 

#define GLWINAPIV
 

#define INLINE
 

#define LE32_TO_CPU      CPU_TO_LE32( x )
 

#define MESA_LITTLE_ENDIAN   1
 


Typedef Documentation

typedef GLushort GLhalfARB
 


Generated on Sun May 16 15:55:11 2004 for Mesa Core by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001