CrystalSpace

Public API Reference

csplugincommon/opengl/wglextmanager.h File Reference

WARNING - This file is automagically generated from scripts/glextgen/glextgen.py. More...

#include <windows.h>
#include "cssysdef.h"
#include "iutil/cmdline.h"
#include "iutil/objreg.h"
#include "iutil/verbositymanager.h"
#include "ivaria/reporter.h"
#include "ivideo/graph2d.h"
#include "csutil/cfgacc.h"
#include "csutil/stringquote.h"
#include "csplugincommon/iopengl/openglinterface.h"

Go to the source code of this file.

Classes

struct  CS::WGLExtensionFlags
 Struct containing all WGL extension test flags. More...
struct  CS::WGLExtensionFunctions
 Struct containing all WGL extension functions. More...
struct  CS::WGLExtensionManager
 WGL extensions manager. More...

Namespaces

namespace  CS
 

Main namespace for CrystalSpace.


Defines

WGL_ARB_pixel_format constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt.



#define WGL_ACCELERATION_ARB   8195
#define WGL_ACCUM_ALPHA_BITS_ARB   8225
#define WGL_ACCUM_BITS_ARB   8221
#define WGL_ACCUM_BLUE_BITS_ARB   8224
#define WGL_ACCUM_GREEN_BITS_ARB   8223
#define WGL_ACCUM_RED_BITS_ARB   8222
#define WGL_ALPHA_BITS_ARB   8219
#define WGL_ALPHA_SHIFT_ARB   8220
#define WGL_AUX_BUFFERS_ARB   8228
#define WGL_BLUE_BITS_ARB   8217
#define WGL_BLUE_SHIFT_ARB   8218
#define WGL_COLOR_BITS_ARB   8212
#define WGL_DEPTH_BITS_ARB   8226
#define WGL_DOUBLE_BUFFER_ARB   8209
#define WGL_DRAW_TO_BITMAP_ARB   8194
#define WGL_DRAW_TO_WINDOW_ARB   8193
#define WGL_FULL_ACCELERATION_ARB   8231
#define WGL_GENERIC_ACCELERATION_ARB   8230
#define WGL_GREEN_BITS_ARB   8215
#define WGL_GREEN_SHIFT_ARB   8216
#define WGL_NEED_PALETTE_ARB   8196
#define WGL_NEED_SYSTEM_PALETTE_ARB   8197
#define WGL_NO_ACCELERATION_ARB   8229
#define WGL_NUMBER_OVERLAYS_ARB   8200
#define WGL_NUMBER_PIXEL_FORMATS_ARB   8192
#define WGL_NUMBER_UNDERLAYS_ARB   8201
#define WGL_PIXEL_TYPE_ARB   8211
#define WGL_RED_BITS_ARB   8213
#define WGL_RED_SHIFT_ARB   8214
#define WGL_SHARE_ACCUM_ARB   8206
#define WGL_SHARE_DEPTH_ARB   8204
#define WGL_SHARE_STENCIL_ARB   8205
#define WGL_STENCIL_BITS_ARB   8227
#define WGL_STEREO_ARB   8210
#define WGL_SUPPORT_GDI_ARB   8207
#define WGL_SUPPORT_OPENGL_ARB   8208
#define WGL_SWAP_COPY_ARB   8233
#define WGL_SWAP_EXCHANGE_ARB   8232
#define WGL_SWAP_LAYER_BUFFERS_ARB   8198
#define WGL_SWAP_METHOD_ARB   8199
#define WGL_SWAP_UNDEFINED_ARB   8234
#define WGL_TRANSPARENT_ALPHA_VALUE_ARB   8250
#define WGL_TRANSPARENT_ARB   8202
#define WGL_TRANSPARENT_BLUE_VALUE_ARB   8249
#define WGL_TRANSPARENT_GREEN_VALUE_ARB   8248
#define WGL_TRANSPARENT_INDEX_VALUE_ARB   8251
#define WGL_TRANSPARENT_RED_VALUE_ARB   8247
#define WGL_TYPE_COLORINDEX_ARB   8236
#define WGL_TYPE_RGBA_ARB   8235
WGL_EXT_pixel_format constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_pixel_format.txt.



#define WGL_ACCELERATION_EXT   8195
#define WGL_ACCUM_ALPHA_BITS_EXT   8225
#define WGL_ACCUM_BITS_EXT   8221
#define WGL_ACCUM_BLUE_BITS_EXT   8224
#define WGL_ACCUM_GREEN_BITS_EXT   8223
#define WGL_ACCUM_RED_BITS_EXT   8222
#define WGL_ALPHA_BITS_EXT   8219
#define WGL_ALPHA_SHIFT_EXT   8220
#define WGL_AUX_BUFFERS_EXT   8228
#define WGL_BLUE_BITS_EXT   8217
#define WGL_BLUE_SHIFT_EXT   8218
#define WGL_COLOR_BITS_EXT   8212
#define WGL_DEPTH_BITS_EXT   8226
#define WGL_DOUBLE_BUFFER_EXT   8209
#define WGL_DRAW_TO_BITMAP_EXT   8194
#define WGL_DRAW_TO_WINDOW_EXT   8193
#define WGL_FULL_ACCELERATION_EXT   8231
#define WGL_GENERIC_ACCELERATION_EXT   8230
#define WGL_GREEN_BITS_EXT   8215
#define WGL_GREEN_SHIFT_EXT   8216
#define WGL_NEED_PALETTE_EXT   8196
#define WGL_NEED_SYSTEM_PALETTE_EXT   8197
#define WGL_NO_ACCELERATION_EXT   8229
#define WGL_NUMBER_OVERLAYS_EXT   8200
#define WGL_NUMBER_PIXEL_FORMATS_EXT   8192
#define WGL_NUMBER_UNDERLAYS_EXT   8201
#define WGL_PIXEL_TYPE_EXT   8211
#define WGL_RED_BITS_EXT   8213
#define WGL_RED_SHIFT_EXT   8214
#define WGL_SHARE_ACCUM_EXT   8206
#define WGL_SHARE_DEPTH_EXT   8204
#define WGL_SHARE_STENCIL_EXT   8205
#define WGL_STENCIL_BITS_EXT   8227
#define WGL_STEREO_EXT   8210
#define WGL_SUPPORT_GDI_EXT   8207
#define WGL_SUPPORT_OPENGL_EXT   8208
#define WGL_SWAP_COPY_EXT   8233
#define WGL_SWAP_EXCHANGE_EXT   8232
#define WGL_SWAP_LAYER_BUFFERS_EXT   8198
#define WGL_SWAP_METHOD_EXT   8199
#define WGL_SWAP_UNDEFINED_EXT   8234
#define WGL_TRANSPARENT_EXT   8202
#define WGL_TRANSPARENT_VALUE_EXT   8203
#define WGL_TYPE_COLORINDEX_EXT   8236
#define WGL_TYPE_RGBA_EXT   8235
WGL_ARB_render_texture constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_render_texture.txt.



#define WGL_AUX0_ARB   8327
#define WGL_AUX1_ARB   8328
#define WGL_AUX2_ARB   8329
#define WGL_AUX3_ARB   8330
#define WGL_AUX4_ARB   8331
#define WGL_AUX5_ARB   8332
#define WGL_AUX6_ARB   8333
#define WGL_AUX7_ARB   8334
#define WGL_AUX8_ARB   8335
#define WGL_AUX9_ARB   8336
#define WGL_BACK_LEFT_ARB   8325
#define WGL_BACK_RIGHT_ARB   8326
#define WGL_BIND_TO_TEXTURE_RGB_ARB   8304
#define WGL_BIND_TO_TEXTURE_RGBA_ARB   8305
#define WGL_CUBE_MAP_FACE_ARB   8316
#define WGL_FRONT_LEFT_ARB   8323
#define WGL_FRONT_RIGHT_ARB   8324
#define WGL_MIPMAP_LEVEL_ARB   8315
#define WGL_MIPMAP_TEXTURE_ARB   8308
#define WGL_NO_TEXTURE_ARB   8311
#define WGL_TEXTURE_1D_ARB   8313
#define WGL_TEXTURE_2D_ARB   8314
#define WGL_TEXTURE_CUBE_MAP_ARB   8312
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB   8318
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB   8320
#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB   8322
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB   8317
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB   8319
#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB   8321
#define WGL_TEXTURE_FORMAT_ARB   8306
#define WGL_TEXTURE_RGB_ARB   8309
#define WGL_TEXTURE_RGBA_ARB   8310
#define WGL_TEXTURE_TARGET_ARB   8307
WGL_ARB_buffer_region constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_buffer_region.txt.



#define WGL_BACK_COLOR_BUFFER_BIT_ARB   2
#define WGL_DEPTH_BUFFER_BIT_ARB   4
#define WGL_FRONT_COLOR_BUFFER_BIT_ARB   1
#define WGL_STENCIL_BUFFER_BIT_ARB   8
WGL_I3D_digital_video_control constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_digital_video_control.txt.



#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D   8272
#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D   8273
#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D   8274
#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D   8275
WGL_ARB_pbuffer constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt.



#define WGL_DRAW_TO_PBUFFER_ARB   8237
#define WGL_MAX_PBUFFER_HEIGHT_ARB   8240
#define WGL_MAX_PBUFFER_PIXELS_ARB   8238
#define WGL_MAX_PBUFFER_WIDTH_ARB   8239
#define WGL_PBUFFER_HEIGHT_ARB   8245
#define WGL_PBUFFER_LARGEST_ARB   8243
#define WGL_PBUFFER_LOST_ARB   8246
#define WGL_PBUFFER_WIDTH_ARB   8244
WGL_EXT_pbuffer constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_pbuffer.txt.



#define WGL_DRAW_TO_PBUFFER_EXT   8237
#define WGL_MAX_PBUFFER_HEIGHT_EXT   8240
#define WGL_MAX_PBUFFER_PIXELS_EXT   8238
#define WGL_MAX_PBUFFER_WIDTH_EXT   8239
#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT   8242
#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT   8241
#define WGL_PBUFFER_HEIGHT_EXT   8245
#define WGL_PBUFFER_LARGEST_EXT   8243
#define WGL_PBUFFER_WIDTH_EXT   8244
WGL_ARB_make_current_read constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_make_current_read.txt.



#define WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB   8276
#define WGL_ERROR_INVALID_PIXEL_TYPE_ARB   8259
WGL_ARB_framebuffer_sRGB constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_framebuffer_sRGB.txt.



#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB   0x20A9
WGL_I3D_gamma constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_gamma.txt.



#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D   8271
#define WGL_GAMMA_TABLE_SIZE_I3D   8270
WGL_I3D_genlock constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_genlock.txt.



#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D   8265
#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D   8264
#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D   8268
#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D   8266
#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D   8267
#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D   8262
#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D   8261
#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D   8263
#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D   8260
WGL_I3D_image_buffer constants

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_image_buffer.txt.



#define WGL_IMAGE_BUFFER_LOCK_I3D   2
#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D   1

Typedefs

WGL_I3D_image_buffer functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_image_buffer.txt.



typedef BOOL(* csWGLASSOCIATEIMAGEBUFFEREVENTSI3D )(HDC hdc, HANDLE *pEvent, GLvoid *pAddress, DWORD *pSize, UINT count)
typedef GLvoid *(* csWGLCREATEIMAGEBUFFERI3D )(HDC hDC, DWORD dwSize, UINT uFlags)
typedef BOOL(* csWGLDESTROYIMAGEBUFFERI3D )(HDC hDC, GLvoid *pAddress)
typedef BOOL(* csWGLRELEASEIMAGEBUFFEREVENTSI3D )(HDC hdc, GLvoid *pAddress, UINT count)
WGL_I3D_swap_frame_usage functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_usage.txt.



typedef BOOL(* csWGLBEGINFRAMETRACKINGI3D )()
typedef BOOL(* csWGLENDFRAMETRACKINGI3D )()
typedef BOOL(* csWGLGETFRAMEUSAGEI3D )(GLfloat *pUsage)
typedef BOOL(* csWGLQUERYFRAMETRACKINGI3D )(DWORD *pFrameCount, DWORD *pMissedFrames, GLfloat *pLastMissedUsage)
WGL_ARB_render_texture functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_render_texture.txt.



typedef BOOL(* csWGLBINDTEXIMAGEARB )(HANDLE hPbuffer, GLint iBuffer)
typedef BOOL(* csWGLRELEASETEXIMAGEARB )(HANDLE hPbuffer, GLint iBuffer)
typedef BOOL(* csWGLSETPBUFFERATTRIBARB )(HANDLE hPbuffer, const GLint *piAttribList)
WGL_ARB_pixel_format functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt.



typedef BOOL(* csWGLCHOOSEPIXELFORMATARB )(HDC hdc, const GLint *piAttribIList, const GLfloat *pfAttribFList, GLuint nMaxFormats, GLint *piFormats, GLuint *nNumFormats)
typedef BOOL(* csWGLGETPIXELFORMATATTRIBFVARB )(HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint *piAttributes, GLfloat *pfValues)
typedef BOOL(* csWGLGETPIXELFORMATATTRIBIVARB )(HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint *piAttributes, GLint *piValues)
WGL_EXT_pixel_format functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_pixel_format.txt.



typedef BOOL(* csWGLCHOOSEPIXELFORMATEXT )(HDC hdc, const GLint *piAttribIList, const GLfloat *pfAttribFList, GLuint nMaxFormats, GLint *piFormats, GLuint *nNumFormats)
typedef BOOL(* csWGLGETPIXELFORMATATTRIBFVEXT )(HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint *piAttributes, GLfloat *pfValues)
typedef BOOL(* csWGLGETPIXELFORMATATTRIBIVEXT )(HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint *piAttributes, GLint *piValues)
WGL_ARB_buffer_region functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_buffer_region.txt.



typedef HANDLE(* csWGLCREATEBUFFERREGIONARB )(HDC hDC, GLint iLayerPlane, GLuint uType)
typedef GLvoid(* csWGLDELETEBUFFERREGIONARB )(HANDLE hRegion)
typedef BOOL(* csWGLRESTOREBUFFERREGIONARB )(HANDLE hRegion, GLint x, GLint y, GLint width, GLint height, GLint xSrc, GLint ySrc)
typedef BOOL(* csWGLSAVEBUFFERREGIONARB )(HANDLE hRegion, GLint x, GLint y, GLint width, GLint height)
WGL_ARB_pbuffer functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt.



typedef HANDLE(* csWGLCREATEPBUFFERARB )(HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint *piAttribList)
typedef BOOL(* csWGLDESTROYPBUFFERARB )(HANDLE hPbuffer)
typedef HDC(* csWGLGETPBUFFERDCARB )(HANDLE hPbuffer)
typedef BOOL(* csWGLQUERYPBUFFERARB )(HANDLE hPbuffer, GLint iAttribute, GLint *piValue)
typedef GLint(* csWGLRELEASEPBUFFERDCARB )(HANDLE hPbuffer, HDC hDC)
WGL_EXT_pbuffer functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_pbuffer.txt.



typedef HANDLE(* csWGLCREATEPBUFFEREXT )(HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint *piAttribList)
typedef BOOL(* csWGLDESTROYPBUFFEREXT )(HANDLE hPbuffer)
typedef HDC(* csWGLGETPBUFFERDCEXT )(HANDLE hPbuffer)
typedef BOOL(* csWGLQUERYPBUFFEREXT )(HANDLE hPbuffer, GLint iAttribute, GLint *piValue)
typedef GLint(* csWGLRELEASEPBUFFERDCEXT )(HANDLE hPbuffer, HDC hDC)
WGL_I3D_swap_frame_lock functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_lock.txt.



typedef BOOL(* csWGLDISABLEFRAMELOCKI3D )()
typedef BOOL(* csWGLENABLEFRAMELOCKI3D )()
typedef BOOL(* csWGLISENABLEDFRAMELOCKI3D )(BOOL *pFlag)
typedef BOOL(* csWGLQUERYFRAMELOCKMASTERI3D )(BOOL *pFlag)
WGL_I3D_genlock functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_genlock.txt.



typedef BOOL(* csWGLDISABLEGENLOCKI3D )(HDC hDC)
typedef BOOL(* csWGLENABLEGENLOCKI3D )(HDC hDC)
typedef BOOL(* csWGLGENLOCKSAMPLERATEI3D )(HDC hDC, GLuint uRate)
typedef BOOL(* csWGLGENLOCKSOURCEDELAYI3D )(HDC hDC, GLuint uDelay)
typedef BOOL(* csWGLGENLOCKSOURCEEDGEI3D )(HDC hDC, GLuint uEdge)
typedef BOOL(* csWGLGENLOCKSOURCEI3D )(HDC hDC, GLuint uSource)
typedef BOOL(* csWGLGETGENLOCKSAMPLERATEI3D )(HDC hDC, GLuint *uRate)
typedef BOOL(* csWGLGETGENLOCKSOURCEDELAYI3D )(HDC hDC, GLuint *uDelay)
typedef BOOL(* csWGLGETGENLOCKSOURCEEDGEI3D )(HDC hDC, GLuint *uEdge)
typedef BOOL(* csWGLGETGENLOCKSOURCEI3D )(HDC hDC, GLuint *uSource)
typedef BOOL(* csWGLISENABLEDGENLOCKI3D )(HDC hDC, BOOL *pFlag)
typedef BOOL(* csWGLQUERYGENLOCKMAXSOURCEDELAYI3D )(HDC hDC, GLuint *uMaxLineDelay, GLuint *uMaxPixelDelay)
WGL_ARB_make_current_read functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_make_current_read.txt.



typedef HDC(* csWGLGETCURRENTREADDCARB )()
typedef BOOL(* csWGLMAKECONTEXTCURRENTARB )(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
WGL_EXT_make_current_read functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_make_current_read.txt.



typedef HDC(* csWGLGETCURRENTREADDCEXT )()
typedef BOOL(* csWGLMAKECONTEXTCURRENTEXT )(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
WGL_I3D_digital_video_control functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_digital_video_control.txt.



typedef BOOL(* csWGLGETDIGITALVIDEOPARAMETERSI3D )(HDC hDC, GLint iAttribute, GLint *piValue)
typedef BOOL(* csWGLSETDIGITALVIDEOPARAMETERSI3D )(HDC hDC, GLint iAttribute, const GLint *piValue)
WGL_ARB_extensions_string functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/ARB/wgl_extensions_string.txt.



typedef char *(* csWGLGETEXTENSIONSSTRINGARB )(HDC hdc)
WGL_EXT_extensions_string functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_extensions_string.txt.



typedef char *(* csWGLGETEXTENSIONSSTRINGEXT )()
WGL_I3D_gamma functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/I3D/wgl_gamma.txt.



typedef BOOL(* csWGLGETGAMMATABLEI3D )(HDC hDC, GLint iEntries, GLushort *puRed, GLushort *puGreen, GLushort *puBlue)
typedef BOOL(* csWGLGETGAMMATABLEPARAMETERSI3D )(HDC hDC, GLint iAttribute, GLint *piValue)
typedef BOOL(* csWGLSETGAMMATABLEI3D )(HDC hDC, GLint iEntries, const GLushort *puRed, const GLushort *puGreen, const GLushort *puBlue)
typedef BOOL(* csWGLSETGAMMATABLEPARAMETERSI3D )(HDC hDC, GLint iAttribute, const GLint *piValue)
WGL_EXT_swap_control functions

For a description of what this ext does, see http://www.opengl.org/registry/specs/EXT/wgl_swap_control.txt.



typedef GLint(* csWGLGETSWAPINTERVALEXT )()
typedef BOOL(* csWGLSWAPINTERVALEXT )(GLint interval)

Detailed Description

WARNING - This file is automagically generated from scripts/glextgen/glextgen.py.

WGL extensions manager

Definition in file wglextmanager.h.


Generated for Crystal Space 2.1 by doxygen 1.6.1