Go to the source code of this file.
Defines | |
#define | MODULE_RENDERGL |
#define | checkImageWidth 64 |
#define | checkImageHeight 64 |
#define | PI_ 3.14159265358979323846 |
#define | BFT_BITMAP 0x4d42 |
Functions | |
long | RenderGL (long frame, BOOL ppGL) |
HWND | SetUpGlWindow (HANDLE hInstance, HWND hWndParent, long Xres, long Yres, BOOL bFullScreen, BOOL bUseFBO, BOOL bCopyToDepthBuffer, long AAlias) |
void | SetUpCorrectContext (BOOL bSetup) |
void | CloseGlWindow (void) |
void | CopyGLtoFSB (void) |
void | CopyGLtoZbuffer (void) |
void | accPerspective (GLdouble fovy, GLdouble aspect, GLdouble znear, GLdouble zfar, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus) |
BOOL | ChangeScreenResolution (int width, int height, int bitsPerPixel) |
BOOL | CheckGPUhardware (HWND hwnd) |
Variables | |
char | gszHomeDir [] |
GLuint | g_check_texture |
GLuint | g_map_texture |
GLuint | g_ref_texture |
GLuint | g_bump_texture |
GLuint | g_tran_texture |
GLuint | g_movie_texture |
GLuint | g_env_texture |
GLuint | g_env3D_texture |
GLuint | g_envB_texture |
GLuint | g_envN_texture |
GLuint | g_noise_texture |
GLuint | g_sky_texture |
GLubyte | checkImage [checkImageWidth][checkImageHeight][3] |
GLint | DlistID = 0 |
double | DepthScalingGL |
double | FrontDepthGL |
double | BackDepthGL |
struct PBuffer | m_PBuffer |
GLuint | g_framebufferTexture = -1 |
GLuint | g_frameBuffer2 = 0 |
GLuint | g_depthRenderBuffer2 = 0 |
int | RENDERBUFFER_WIDTH = 2048 |
int | RENDERBUFFER_HEIGHT = 2048 |
int | TEXTUREBUFFER_WIDTH = 2048 |
int | TEXTUREBUFFER_HEIGHT = 2048 |
#define MODULE_RENDERGL |
Definition at line 3 of file rendergl.C.
#define checkImageWidth 64 |
Definition at line 12 of file rendergl.C.
#define checkImageHeight 64 |
Definition at line 13 of file rendergl.C.
#define PI_ 3.14159265358979323846 |
#define BFT_BITMAP 0x4d42 |
Definition at line 840 of file rendergl.C.
BOOL ChangeScreenResolution | ( | int | width, | |
int | height, | |||
int | bitsPerPixel | |||
) |
char gszHomeDir[] |
GLuint g_check_texture |
Definition at line 17 of file rendergl.C.
GLuint g_map_texture |
Definition at line 18 of file rendergl.C.
GLuint g_ref_texture |
Definition at line 19 of file rendergl.C.
GLuint g_bump_texture |
Definition at line 20 of file rendergl.C.
GLuint g_tran_texture |
Definition at line 21 of file rendergl.C.
GLuint g_movie_texture |
Definition at line 22 of file rendergl.C.
GLuint g_env_texture |
Definition at line 23 of file rendergl.C.
GLuint g_env3D_texture |
Definition at line 24 of file rendergl.C.
Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().
GLuint g_envB_texture |
Definition at line 25 of file rendergl.C.
GLuint g_envN_texture |
Definition at line 26 of file rendergl.C.
Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().
GLuint g_noise_texture |
Definition at line 27 of file rendergl.C.
GLuint g_sky_texture |
GLubyte checkImage[checkImageWidth][checkImageHeight][3] |
Definition at line 30 of file rendergl.C.
GLint DlistID = 0 |
double DepthScalingGL |
Definition at line 32 of file rendergl.C.
Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().
double FrontDepthGL |
Definition at line 32 of file rendergl.C.
Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().
double BackDepthGL |
Definition at line 32 of file rendergl.C.
Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().
struct PBuffer m_PBuffer |
Referenced by CloseGlWindow(), RenderGL(), and SetUpCorrectContext().
GLuint g_framebufferTexture = -1 |
GLuint g_frameBuffer2 = 0 |
GLuint g_depthRenderBuffer2 = 0 |
int RENDERBUFFER_WIDTH = 2048 |
int RENDERBUFFER_HEIGHT = 2048 |
int TEXTUREBUFFER_WIDTH = 2048 |
Definition at line 73 of file rendergl.C.
Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), RenderCameraView(), and SetUpGlWindow().
int TEXTUREBUFFER_HEIGHT = 2048 |
Definition at line 74 of file rendergl.C.
Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), RenderCameraView(), and SetUpGlWindow().