Back to index

x11proto-gl  1.4.16
Classes | Defines | Typedefs
glcore.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  __GLcontextModesRec
 Mode and limit information for a context. More...

Defines

#define GL_CORE_SGI   1
#define GL_CORE_MESA   2
#define GL_CORE_APPLE   4
#define GL_CORE_WINDOWS   8
#define GLX_NONE   0x8000
#define GLX_SLOW_CONFIG   0x8001
#define GLX_TRUE_COLOR   0x8002
#define GLX_DIRECT_COLOR   0x8003
#define GLX_PSEUDO_COLOR   0x8004
#define GLX_STATIC_COLOR   0x8005
#define GLX_GRAY_SCALE   0x8006
#define GLX_STATIC_GRAY   0x8007
#define GLX_TRANSPARENT_RGB   0x8008
#define GLX_TRANSPARENT_INDEX   0x8009
#define GLX_NON_CONFORMANT_CONFIG   0x800D
#define GLX_SWAP_EXCHANGE_OML   0x8061
#define GLX_SWAP_COPY_OML   0x8062
#define GLX_SWAP_UNDEFINED_OML   0x8063
#define GLX_DONT_CARE   0xFFFFFFFF
#define GLX_RGBA_BIT   0x00000001
#define GLX_COLOR_INDEX_BIT   0x00000002
#define GLX_WINDOW_BIT   0x00000001
#define GLX_PIXMAP_BIT   0x00000002
#define GLX_PBUFFER_BIT   0x00000004
#define GLX_BIND_TO_TEXTURE_RGB_EXT   0x20D0
#define GLX_BIND_TO_TEXTURE_RGBA_EXT   0x20D1
#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT   0x20D2
#define GLX_BIND_TO_TEXTURE_TARGETS_EXT   0x20D3
#define GLX_Y_INVERTED_EXT   0x20D4
#define GLX_TEXTURE_1D_BIT_EXT   0x00000001
#define GLX_TEXTURE_2D_BIT_EXT   0x00000002
#define GLX_TEXTURE_RECTANGLE_BIT_EXT   0x00000004

Typedefs

typedef struct __GLcontextRec
typedef struct __GLcontextModesRec __GLcontextModes
 Mode and limit information for a context.

Class Documentation

struct __GLcontextModesRec

Mode and limit information for a context.

This information is kept around in the context so that values can be used during command execution, and for returning information about the context to the application.

Instances of this structure are shared by the driver and the loader. To maintain binary compatability, new fields must be added only to the end of the structure.

See also:
_gl_context_modes_create

Definition at line 68 of file glcore.h.

Collaboration diagram for __GLcontextModesRec:
Class Members
GLint accumAlphaBits
GLint accumBlueBits
GLint accumGreenBits
GLint accumRedBits
GLint alphaBits
GLuint alphaMask
GLint bindToMipmapTexture
GLint bindToTextureRgb
GLint bindToTextureRgba
GLint bindToTextureTargets
GLint blueBits
GLuint blueMask
GLboolean colorIndexMode
GLint depthBits
GLuint doubleBufferMode
GLint drawableType
GLint fbconfigID
GLboolean floatMode
GLint greenBits
GLuint greenMask
GLboolean haveAccumBuffer
GLboolean haveDepthBuffer
GLboolean haveStencilBuffer
GLint indexBits
GLint level
GLint maxPbufferHeight
GLint maxPbufferPixels
GLint maxPbufferWidth
struct __GLcontextModesRec * next
GLint numAuxBuffers
GLint optimalPbufferHeight
GLint optimalPbufferWidth
GLint pixmapMode
GLint redBits
GLuint redMask
GLint renderType
GLint rgbBits
GLboolean rgbMode
GLint sampleBuffers
GLint samples
GLint screen
GLint stencilBits
GLuint stereoMode
GLint swapMethod
GLint transparentAlpha
GLint transparentBlue
GLint transparentGreen
GLint transparentIndex
GLint transparentPixel
GLint transparentRed
GLint visualID
GLint visualRating
GLint visualSelectGroup
GLint visualType One of the GLX X visual types. (i.e., GLX_TRUE_COLOR, etc.)
GLint xRenderable
GLint yInverted

Define Documentation

#define GL_CORE_APPLE   4

Definition at line 40 of file glcore.h.

#define GL_CORE_MESA   2

Definition at line 39 of file glcore.h.

#define GL_CORE_SGI   1

Definition at line 38 of file glcore.h.

#define GL_CORE_WINDOWS   8

Definition at line 41 of file glcore.h.

#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT   0x20D2

Definition at line 173 of file glcore.h.

#define GLX_BIND_TO_TEXTURE_RGB_EXT   0x20D0

Definition at line 171 of file glcore.h.

#define GLX_BIND_TO_TEXTURE_RGBA_EXT   0x20D1

Definition at line 172 of file glcore.h.

#define GLX_BIND_TO_TEXTURE_TARGETS_EXT   0x20D3

Definition at line 174 of file glcore.h.

#define GLX_COLOR_INDEX_BIT   0x00000002

Definition at line 166 of file glcore.h.

#define GLX_DIRECT_COLOR   0x8003

Definition at line 151 of file glcore.h.

#define GLX_DONT_CARE   0xFFFFFFFF

Definition at line 163 of file glcore.h.

#define GLX_GRAY_SCALE   0x8006

Definition at line 154 of file glcore.h.

#define GLX_NON_CONFORMANT_CONFIG   0x800D

Definition at line 158 of file glcore.h.

#define GLX_NONE   0x8000

Definition at line 148 of file glcore.h.

#define GLX_PBUFFER_BIT   0x00000004

Definition at line 169 of file glcore.h.

#define GLX_PIXMAP_BIT   0x00000002

Definition at line 168 of file glcore.h.

#define GLX_PSEUDO_COLOR   0x8004

Definition at line 152 of file glcore.h.

#define GLX_RGBA_BIT   0x00000001

Definition at line 165 of file glcore.h.

#define GLX_SLOW_CONFIG   0x8001

Definition at line 149 of file glcore.h.

#define GLX_STATIC_COLOR   0x8005

Definition at line 153 of file glcore.h.

#define GLX_STATIC_GRAY   0x8007

Definition at line 155 of file glcore.h.

#define GLX_SWAP_COPY_OML   0x8062

Definition at line 160 of file glcore.h.

#define GLX_SWAP_EXCHANGE_OML   0x8061

Definition at line 159 of file glcore.h.

#define GLX_SWAP_UNDEFINED_OML   0x8063

Definition at line 161 of file glcore.h.

#define GLX_TEXTURE_1D_BIT_EXT   0x00000001

Definition at line 177 of file glcore.h.

#define GLX_TEXTURE_2D_BIT_EXT   0x00000002

Definition at line 178 of file glcore.h.

#define GLX_TEXTURE_RECTANGLE_BIT_EXT   0x00000004

Definition at line 179 of file glcore.h.

#define GLX_TRANSPARENT_INDEX   0x8009

Definition at line 157 of file glcore.h.

#define GLX_TRANSPARENT_RGB   0x8008

Definition at line 156 of file glcore.h.

#define GLX_TRUE_COLOR   0x8002

Definition at line 150 of file glcore.h.

#define GLX_WINDOW_BIT   0x00000001

Definition at line 167 of file glcore.h.

#define GLX_Y_INVERTED_EXT   0x20D4

Definition at line 175 of file glcore.h.


Typedef Documentation

Mode and limit information for a context.

This information is kept around in the context so that values can be used during command execution, and for returning information about the context to the application.

Instances of this structure are shared by the driver and the loader. To maintain binary compatability, new fields must be added only to the end of the structure.

See also:
_gl_context_modes_create
typedef struct __GLcontextRec

Definition at line 43 of file glcore.h.