doom3-gpl
Doom 3 GPL source release
|
#include "../../idlib/precompiled.h"
#include "../../renderer/tr_local.h"
#include "local.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "libXNVCtrl/NVCtrlLib.h"
Go to the source code of this file.
Macros | |
#define | ATTR_RED_IDX 2 |
#define | ATTR_GREEN_IDX 4 |
#define | ATTR_BLUE_IDX 6 |
#define | ATTR_DEPTH_IDX 9 |
#define | ATTR_STENCIL_IDX 11 |
#define | ATTR_ALPHA_IDX 13 |
Functions | |
void | GLimp_WakeBackEnd (void *a) |
void | GLimp_FrontEndSleep () |
void * | GLimp_BackEndSleep () |
bool | GLimp_SpawnRenderThread (void(*a)()) |
void | GLimp_ActivateContext () |
void | GLimp_DeactivateContext () |
void | GLimp_SaveGamma () |
void | GLimp_RestoreGamma () |
void | GLimp_SetGamma (unsigned short red[256], unsigned short green[256], unsigned short blue[256]) |
void | GLimp_Shutdown () |
void | GLimp_SwapBuffers () |
void | GLX_TestDGA () |
int | idXErrorHandler (Display *l_dpy, XErrorEvent *ev) |
bool | GLimp_OpenDisplay (void) |
int | GLX_Init (glimpParms_t a) |
bool | GLimp_Init (glimpParms_t a) |
bool | GLimp_SetScreenParms (glimpParms_t parms) |
int | Sys_GetVideoRam (void) |
Variables | |
idCVar | sys_videoRam ("sys_videoRam","0", CVAR_SYSTEM|CVAR_ARCHIVE|CVAR_INTEGER,"Texture memory on the video card (in megabytes) - 0: autodetect", 0, 512) |
Display * | dpy = NULL |
Window | win = 0 |
bool | dga_found = false |
#define ATTR_ALPHA_IDX 13 |
#define ATTR_BLUE_IDX 6 |
#define ATTR_DEPTH_IDX 9 |
#define ATTR_GREEN_IDX 4 |
#define ATTR_RED_IDX 2 |
#define ATTR_STENCIL_IDX 11 |
bool GLimp_Init | ( | glimpParms_t | a | ) |
void GLimp_SetGamma | ( | unsigned short | red[256], |
unsigned short | green[256], | ||
unsigned short | blue[256] | ||
) |
bool GLimp_SetScreenParms | ( | glimpParms_t | parms | ) |
int GLX_Init | ( | glimpParms_t | a | ) |
idCVar sys_videoRam("sys_videoRam","0", CVAR_SYSTEM|CVAR_ARCHIVE|CVAR_INTEGER,"Texture memory on the video card (in megabytes) - 0: autodetect", 0, 512) |