doom3-gpl
Doom 3 GPL source release
|
#import "../../idlib/precompiled.h"
#import "../../renderer/tr_local.h"
#import "macosx_glimp.h"
#import "macosx_local.h"
#import "macosx_sys.h"
#import "macosx_display.h"
#import <AppKit/AppKit.h>
#import <Foundation/Foundation.h>
#import <mach-o/dyld.h>
#import <mach/mach.h>
#import <mach/mach_error.h>
Go to the source code of this file.
Classes | |
category | NSOpenGLContext(CGLContextAccess) |
Macros | |
#define | ADD_ATTR(x) |
#define | MAX_RENDERER_INFO_COUNT 128 |
#define | MAX_DISPLAYS 128 |
#define | FADE_DURATION 0.5 |
#define | MAX_DISPLAYS 128 |
Variables | |
glwstate_t | glw_state |
#define ADD_ATTR | ( | x | ) |
Definition at line 146 of file macosx_glimp.mm.
#define FADE_DURATION 0.5 |
Definition at line 1666 of file macosx_glimp.mm.
#define MAX_DISPLAYS 128 |
Definition at line 1814 of file macosx_glimp.mm.
#define MAX_DISPLAYS 128 |
Definition at line 1814 of file macosx_glimp.mm.
#define MAX_RENDERER_INFO_COUNT 128 |
Definition at line 1258 of file macosx_glimp.mm.
Definition at line 75 of file macosx_glimp.mm.
void glAlphaFragmentOp1ATI | ( | GLenum | op, |
GLuint | dst, | ||
GLuint | dstMod, | ||
GLuint | arg1, | ||
GLuint | arg1Rep, | ||
GLuint | arg1Mod | ||
) |
Definition at line 1169 of file macosx_glimp.mm.
void glAlphaFragmentOp2ATI | ( | GLenum | op, |
GLuint | dst, | ||
GLuint | dstMod, | ||
GLuint | arg1, | ||
GLuint | arg1Rep, | ||
GLuint | arg1Mod, | ||
GLuint | arg2, | ||
GLuint | arg2Rep, | ||
GLuint | arg2Mod | ||
) |
Definition at line 1173 of file macosx_glimp.mm.
void glAlphaFragmentOp3ATI | ( | GLenum | op, |
GLuint | dst, | ||
GLuint | dstMod, | ||
GLuint | arg1, | ||
GLuint | arg1Rep, | ||
GLuint | arg1Mod, | ||
GLuint | arg2, | ||
GLuint | arg2Rep, | ||
GLuint | arg2Mod, | ||
GLuint | arg3, | ||
GLuint | arg3Rep, | ||
GLuint | arg3Mod | ||
) |
Definition at line 1177 of file macosx_glimp.mm.
Definition at line 704 of file macosx_glimp.mm.
Definition at line 696 of file macosx_glimp.mm.
void glColorFragmentOp1ATI | ( | GLenum | op, |
GLuint | dst, | ||
GLuint | dstMask, | ||
GLuint | dstMod, | ||
GLuint | arg1, | ||
GLuint | arg1Rep, | ||
GLuint | arg1Mod | ||
) |
Definition at line 986 of file macosx_glimp.mm.
void glColorFragmentOp2ATI | ( | GLenum | op, |
GLuint | dst, | ||
GLuint | dstMask, | ||
GLuint | dstMod, | ||
GLuint | arg1, | ||
GLuint | arg1Rep, | ||
GLuint | arg1Mod, | ||
GLuint | arg2, | ||
GLuint | arg2Rep, | ||
GLuint | arg2Mod | ||
) |
Definition at line 1024 of file macosx_glimp.mm.
void glColorFragmentOp3ATI | ( | GLenum | op, |
GLuint | dst, | ||
GLuint | dstMask, | ||
GLuint | dstMod, | ||
GLuint | arg1, | ||
GLuint | arg1Rep, | ||
GLuint | arg1Mod, | ||
GLuint | arg2, | ||
GLuint | arg2Rep, | ||
GLuint | arg2Mod, | ||
GLuint | arg3, | ||
GLuint | arg3Rep, | ||
GLuint | arg3Mod | ||
) |
Definition at line 1087 of file macosx_glimp.mm.
Definition at line 700 of file macosx_glimp.mm.
Definition at line 719 of file macosx_glimp.mm.
Definition at line 691 of file macosx_glimp.mm.
Definition at line 1469 of file macosx_glimp.mm.
Definition at line 1457 of file macosx_glimp.mm.
Definition at line 1465 of file macosx_glimp.mm.
Definition at line 1473 of file macosx_glimp.mm.
GLExtension_t GLimp_ExtensionPointer | ( | const char * | name | ) |
Definition at line 1182 of file macosx_glimp.mm.
Definition at line 1453 of file macosx_glimp.mm.
bool GLimp_Init | ( | glimpParms_t | parms | ) |
Definition at line 467 of file macosx_glimp.mm.
void GLimp_LogComment | ( | char * | comment | ) |
Definition at line 641 of file macosx_glimp.mm.
Definition at line 1449 of file macosx_glimp.mm.
void GLimp_SetGamma | ( | unsigned short | red[256], |
unsigned short | green[256], | ||
unsigned short | blue[256] | ||
) |
Definition at line 648 of file macosx_glimp.mm.
bool GLimp_SetMode | ( | glimpParms_t | parms | ) |
Definition at line 114 of file macosx_glimp.mm.
bool GLimp_SetScreenParms | ( | glimpParms_t | parms | ) |
Definition at line 1855 of file macosx_glimp.mm.
Definition at line 573 of file macosx_glimp.mm.
Definition at line 1445 of file macosx_glimp.mm.
Definition at line 520 of file macosx_glimp.mm.
Definition at line 1461 of file macosx_glimp.mm.
Definition at line 1455 of file macosx_glimp.mm.
Definition at line 823 of file macosx_glimp.mm.
Definition at line 847 of file macosx_glimp.mm.
Definition at line 770 of file macosx_glimp.mm.
char* makeArgModStr | ( | GLuint | mod | ) |
Definition at line 956 of file macosx_glimp.mm.
char* makeArgStr | ( | GLuint | arg | ) |
Definition at line 792 of file macosx_glimp.mm.
char* makeDstModStr | ( | GLuint | mod | ) |
Definition at line 914 of file macosx_glimp.mm.
char* makeMaskStr | ( | GLuint | mask | ) |
Definition at line 871 of file macosx_glimp.mm.
CGDisplayErr Sys_CaptureActiveDisplays | ( | void | ) |
Definition at line 1382 of file macosx_glimp.mm.
CGDirectDisplayID Sys_DisplayToUse | ( | void | ) |
Definition at line 1816 of file macosx_glimp.mm.
void Sys_FadeScreen | ( | CGDirectDisplayID | display | ) |
Definition at line 1694 of file macosx_glimp.mm.
void Sys_FadeScreens | ( | ) |
Definition at line 1667 of file macosx_glimp.mm.
void Sys_GetGammaTable | ( | glwgamma_t * | table | ) |
Definition at line 1580 of file macosx_glimp.mm.
NSDictionary* Sys_GetMatchingDisplayMode | ( | glimpParms_t | parms | ) |
Definition at line 1475 of file macosx_glimp.mm.
Definition at line 1864 of file macosx_glimp.mm.
bool Sys_Hide | ( | ) |
Definition at line 1338 of file macosx_glimp.mm.
void Sys_PauseGL | ( | ) |
Definition at line 424 of file macosx_glimp.mm.
void Sys_ResumeGL | ( | ) |
Definition at line 436 of file macosx_glimp.mm.
void Sys_SetGammaTable | ( | glwgamma_t * | table | ) |
Definition at line 1604 of file macosx_glimp.mm.
void Sys_SetScreenFade | ( | glwgamma_t * | table, |
float | fraction | ||
) |
Definition at line 1628 of file macosx_glimp.mm.
void Sys_StoreGammaTables | ( | ) |
Definition at line 1606 of file macosx_glimp.mm.
void Sys_UnfadeScreen | ( | CGDirectDisplayID | display, |
glwgamma_t * | table | ||
) |
Definition at line 1763 of file macosx_glimp.mm.
void Sys_UnfadeScreens | ( | ) |
Definition at line 1732 of file macosx_glimp.mm.
bool Sys_Unhide | ( | ) |
Definition at line 1395 of file macosx_glimp.mm.
Definition at line 230 of file macosx_glimp.mm.
Definition at line 1248 of file macosx_glimp.mm.
glwstate_t glw_state |
Definition at line 56 of file macosx_glimp.mm.