QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vid_3dfxsvga.c File Reference

Macros

#define FXMESA_ALPHA_SIZE   11
 
#define FXMESA_DEPTH_SIZE   12
 
#define FXMESA_DOUBLEBUFFER   10
 
#define FXMESA_NONE   0
 
#define GL_DITHER   0x0BD0
 
#define GLAPI   extern
 
#define GLAPIENTRY
 
#define GR_DITHER_2x2   0x1
 
#define GR_DITHER_4x4   0x2
 
#define GR_REFRESH_75Hz   0x3
 
#define GR_RESOLUTION_320x200   0x0
 
#define GR_RESOLUTION_320x240   0x1
 
#define GR_RESOLUTION_400x256   0x2
 
#define GR_RESOLUTION_400x300   0xF
 
#define GR_RESOLUTION_512x256   0xb
 
#define GR_RESOLUTION_512x384   0x3
 
#define GR_RESOLUTION_640x200   0x4
 
#define GR_RESOLUTION_640x350   0x5
 
#define GR_RESOLUTION_640x400   0x6
 
#define GR_RESOLUTION_640x480   0x7
 
#define GR_RESOLUTION_800x600   0x8
 
#define GR_RESOLUTION_856x480   0xa
 
#define GR_RESOLUTION_960x720   0x9
 
#define NUM_RESOLUTIONS   (sizeof (resolutions) / (sizeof (int) * 3))
 
#define WARP_HEIGHT   200
 
#define WARP_WIDTH   320
 

Typedefs

typedef struct tfxMesaContext * fxMesaContext
 

Functions

void GL_EndRendering (void)
 
void * QFGL_GetProcAddress (void *handle, const char *name)
 
void * QFGL_LoadLibrary (void)
 
void VID_Init (byte *palette, byte *colormap)
 
void VID_Init_Cvars (void)
 
void VID_SetCaption (const char *text)
 
qboolean VID_SetGamma (double gamma)
 
void VID_Shutdown (void)
 

Variables

fxMesaContext(* qf_fxMesaCreateContext )(GLuint win, GrScreenResolution_t, GrScreenRefresh_t, const GLint attribList[])
 
void(* qf_fxMesaDestroyContext )(fxMesaContext ctx)
 
void(* qf_fxMesaMakeCurrent )(fxMesaContext ctx)
 
void(* qf_fxMesaSwapBuffers )(void)
 
int VID_options_items = 0
 

Macro Definition Documentation

#define FXMESA_ALPHA_SIZE   11
#define FXMESA_DEPTH_SIZE   12
#define FXMESA_DOUBLEBUFFER   10
#define FXMESA_NONE   0
#define GL_DITHER   0x0BD0
#define GLAPI   extern
#define GLAPIENTRY
#define GR_DITHER_2x2   0x1
#define GR_DITHER_4x4   0x2
#define GR_REFRESH_75Hz   0x3
#define GR_RESOLUTION_320x200   0x0
#define GR_RESOLUTION_320x240   0x1
#define GR_RESOLUTION_400x256   0x2
#define GR_RESOLUTION_400x300   0xF
#define GR_RESOLUTION_512x256   0xb
#define GR_RESOLUTION_512x384   0x3
#define GR_RESOLUTION_640x200   0x4
#define GR_RESOLUTION_640x350   0x5
#define GR_RESOLUTION_640x400   0x6
#define GR_RESOLUTION_640x480   0x7
#define GR_RESOLUTION_800x600   0x8
#define GR_RESOLUTION_856x480   0xa
#define GR_RESOLUTION_960x720   0x9
#define NUM_RESOLUTIONS   (sizeof (resolutions) / (sizeof (int) * 3))
#define WARP_HEIGHT   200
#define WARP_WIDTH   320

Typedef Documentation

typedef struct tfxMesaContext* fxMesaContext

Function Documentation

void GL_EndRendering ( void  )
void* QFGL_GetProcAddress ( void *  handle,
const char *  name 
)
void* QFGL_LoadLibrary ( void  )
void VID_Init ( byte palette,
byte colormap 
)
void VID_Init_Cvars ( void  )
void VID_SetCaption ( const char *  text)
qboolean VID_SetGamma ( double  gamma)
void VID_Shutdown ( void  )

Variable Documentation

fxMesaContext(* qf_fxMesaCreateContext)(GLuint win, GrScreenResolution_t, GrScreenRefresh_t, const GLint attribList[])
void(* qf_fxMesaDestroyContext)(fxMesaContext ctx)
void(* qf_fxMesaMakeCurrent)(fxMesaContext ctx)
void(* qf_fxMesaSwapBuffers)(void)
int VID_options_items = 0