![]() |
Oolite 1.91.0.7658-250404-b1488af
|
Go to the source code of this file.
Classes | |
struct | OOGLVector |
Macros | |
#define | NULL_SHADER ((GLhandleARB)0) |
#define | OO_GL_STATE_VERIFICATION 1 |
#define | OOSetOpenGLState(STATE) |
#define | OOVerifyOpenGLState() |
#define | OO_CHECK_GL_HEAVY 0 |
#define | OOGL(statement) |
#define | CheckOpenGLErrorsHeavy(...) |
#define | OOGLBEGIN glBegin |
#define | OOGLEND glEnd |
Enumerations | |
enum | OOShaderSetting { SHADERS_NOT_SUPPORTED = 0 , SHADERS_OFF = 1 , SHADERS_SIMPLE = 2 , SHADERS_FULL = 3 } |
enum | OOOpenGLStateID { OPENGL_STATE_OPAQUE , OPENGL_STATE_TRANSLUCENT_PASS , OPENGL_STATE_ADDITIVE_BLENDING , OPENGL_STATE_OVERLAY , OPENGL_STATE_INTERNAL_USE_ONLY } |
enum | { kOOShaderSettingDefault = SHADERS_NOT_SUPPORTED } |
Functions | |
void | OOSetOpenGLState_ (OOOpenGLStateID state, const char *function, unsigned line) |
void | OOVerifyOpenGLState_ (const char *function, unsigned line) |
void | OOResetGLStateVerifier (void) |
BOOL | OOCheckOpenGLErrors (NSString *format,...) |
void | LogOpenGLState (void) |
void | GLScaledLineWidth (GLfloat width) |
void | GLScaledPointSize (GLfloat size) |
GLfloat | GLGetDisplayScaleFactor (void) |
void | GLSetDisplayScaleFactor (GLfloat factor) |
void | OOGLWireframeModeOn (void) |
void | OOGLWireframeModeOff (void) |
void | GLDrawBallBillboard (GLfloat radius, GLfloat step, GLfloat z_distance) |
void | GLDrawOval (GLfloat x, GLfloat y, GLfloat z, NSSize siz, GLfloat step) |
void | GLDrawFilledOval (GLfloat x, GLfloat y, GLfloat z, NSSize siz, GLfloat step) |
void | GLDrawPoints (OOGLVector *points, int n) |
void | GLDrawFilledPoints (OOGLVector *points, int n) |
void | GLDrawQuadStrip (OOGLVector *points, int n) |
OOShaderSetting | OOShaderSettingFromString (NSString *string) |
NSString * | OOStringFromShaderSetting (OOShaderSetting setting) |
NSString * | OODisplayStringFromShaderSetting (OOShaderSetting setting) |
NSString * | OOGLColorToString (GLfloat color[4]) |
NSString * | OOGLEnumToString (GLenum value) |
NSString * | OOGLFlagToString (bool value) |
#define CheckOpenGLErrorsHeavy | ( | ... | ) |
Definition at line 252 of file OOOpenGL.h.
#define NULL_SHADER ((GLhandleARB)0) |
Definition at line 44 of file OOOpenGL.h.
#define OO_CHECK_GL_HEAVY 0 |
Definition at line 230 of file OOOpenGL.h.
#define OO_GL_STATE_VERIFICATION 1 |
Definition at line 51 of file OOOpenGL.h.
#define OOGL | ( | statement | ) |
Definition at line 251 of file OOOpenGL.h.
Referenced by OOConcreteTexture::apply, ApplyColor(), OOTexture::applyNone, OOTextureSprite::blitToX:Y:Z:alpha:, OOTexture::checkExtensions, OOConcreteTexture::dealloc, OOMesh(Private)::deleteDisplayLists, Universe(OOPrivate)::deleteOpenGLObjects, OOBasicMaterial::doApply, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay(Private)::drawASCTarget:, HeadUpDisplay(Private)::drawClock:, HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawCompassPlanetBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassSunBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCustomLight:, OOSunEntity::drawDirectVisionSunGlare, HeadUpDisplay(Private)::drawFPSInfoCounter:, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen::drawGUI:drawCursor:, HeadUpDisplay::drawHighlight, DustEntity::drawImmediate:translucent:, OOBreakPatternEntity::drawImmediate:translucent:, OOLaserShotEntity::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, Universe::drawMessage, PlanetEntity(OOPrivate)::drawModelWithVertexArraysAndSubdivision:, Octree::drawOctree, Octree(Private)::drawOctreeCollisionFromLocation:loc:scale:, OOSunEntity(Private)::drawOpaqueParts, HeadUpDisplay::drawPrimedEquipment:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, HeadUpDisplay(Private)::drawScannerZoomIndicator:, HeadUpDisplay(Private)::drawScoopStatus:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, OOSunEntity::drawStarGlare, HeadUpDisplay(Private)::drawStatusLight:, HeadUpDisplay(Private)::drawStickSensitivityIndicator:, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, Universe(OOPrivate)::drawTargetTextureIntoDefaultFramebuffer, OOSunEntity(Private)::drawTranslucentParts, OOTrumble::drawTrumble:, PlanetEntity::drawUnconditionally, Universe::drawUniverse, Universe::drawWatermarkString:, HeadUpDisplay(Private)::drawWeaponsOfflineText:, OOPolygonSprite::drawWithData:count:VBO:, OOConcreteTexture(Private)::forceRebind, GetCurrentOpenGLState(), GetState_DEPTH_WRITEMASK(), GetState_TEXTURE_ENV_MODE(), HeadUpDisplay::GLDrawNonlinearCascadeWeapon, GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), GLDumpMaterialState(), GLUniformMatrix3(), StickProfileScreen(StickProfileInternal)::graphProfile:at:size:, Universe(OOPrivate)::initTargetFramebufferWithViewSize:, Universe::lightForEntity:, OODebugBeginWireframe(), OODebugDrawPoint(), OODebugEndWireframe(), HeadUpDisplay::OODrawHilightedPlanetInfo, HeadUpDisplay::OODrawHilightedString, HeadUpDisplay::OODrawPlanetInfo, OOGLWireframeModeOff(), OOGLWireframeModeOn(), HeadUpDisplay::OOStartDrawingStrings, HeadUpDisplay::OOStopDrawingStrings, Universe(OOPrivate)::prepareToRenderIntoDefaultFramebuffer, OOCrosshairs::render, OOSkyQuadSet::render, HeadUpDisplay::renderHUD, OOMesh::renderOpaqueParts, OOSkyDrawable::renderOpaqueParts, OOGraphicsResetManager::resetGraphicsState, Universe(OOPrivate)::resizeTargetFramebufferWithViewSize:, HeadUpDisplay::SetCompassBlipColor, GuiDisplayGen::setGLColorFromSetting:defaultValue:alpha:, Universe::setLighting, SetState_CULL_FACE_MODE(), OOSunEntity::setSunColor:, OOTextureLoader::setUp, GameController::setUpBasicOpenGLStateWithSize:, SwitchOpenGLStateInternal(), OOOpenGLMatrixManager::syncModelView, OOOpenGLMatrixManager::syncProjection, OOConcreteTexture(Private)::uploadTexture, OOConcreteTexture(Private)::uploadTextureDataWithMipMap:format:, and Universe::useGUILightSource:.
#define OOGLBEGIN glBegin |
Definition at line 253 of file OOOpenGL.h.
Referenced by OOTextureSprite::blitToX:Y:Z:alpha:, OOMesh(Private)::debugDrawNormals, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawCompassBeaconBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassStationBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassTargetBlipAt:Size:Alpha:, GuiDisplayGen(Internal)::drawCrossHairsWithSize:x:y:z:, HeadUpDisplay(Private)::drawCustomLight:, HeadUpDisplay(Private)::drawDirectionCue:, OOSunEntity::drawDirectVisionSunGlare, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen::drawGUI:drawCursor:, HeadUpDisplay::drawHighlight, OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawMissileDisplay:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, Octree::drawOctree, Octree(Private)::drawOctreeCollisionFromLocation:loc:scale:, OOSunEntity(Private)::drawOpaqueParts, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, HeadUpDisplay(Private)::drawScannerZoomIndicator:, HeadUpDisplay(Private)::drawScoopStatus:, HeadUpDisplay::DrawSpecialOval, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, OOSunEntity::drawStarGlare, HeadUpDisplay(Private)::drawStatusLight:, GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, OOTrumble::drawTrumble:, WormholeEntity::DrawWormholeCorona, GLDrawFilledOval(), GLDrawFilledPoints(), GLDrawOval(), GLDrawPoints(), GLDrawQuadStrip(), StickProfileScreen(StickProfileInternal)::graphProfile:at:size:, HeadUpDisplay::hudDrawBarAt, HeadUpDisplay::hudDrawIndicatorAt, HeadUpDisplay::hudDrawMarkerAt, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::hudDrawSurroundAt, HeadUpDisplay::hudDrawWaypoint, OODebugDrawBasis(), OODebugDrawColoredBoundingBoxBetween(), OODebugDrawColoredLine(), OODebugDrawPoint(), HeadUpDisplay::OODrawPlanetInfo, and HeadUpDisplay::OOStartDrawingStrings.
#define OOGLEND glEnd |
Definition at line 254 of file OOOpenGL.h.
Referenced by OOTextureSprite::blitToX:Y:Z:alpha:, OOMesh(Private)::debugDrawNormals, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawAegis:, HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawCompassBeaconBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassStationBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassTargetBlipAt:Size:Alpha:, GuiDisplayGen(Internal)::drawCrossHairsWithSize:x:y:z:, HeadUpDisplay(Private)::drawCustomLight:, HeadUpDisplay(Private)::drawDirectionCue:, OOSunEntity::drawDirectVisionSunGlare, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen::drawGUI:drawCursor:, HeadUpDisplay::drawHighlight, OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawMissileDisplay:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, Octree::drawOctree, Octree(Private)::drawOctreeCollisionFromLocation:loc:scale:, OOSunEntity(Private)::drawOpaqueParts, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, HeadUpDisplay(Private)::drawScannerZoomIndicator:, HeadUpDisplay(Private)::drawScoopStatus:, HeadUpDisplay::DrawSpecialOval, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, OOSunEntity::drawStarGlare, HeadUpDisplay(Private)::drawStatusLight:, GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, OOTrumble::drawTrumble:, WormholeEntity::DrawWormholeCorona, GLDrawFilledOval(), GLDrawFilledPoints(), GLDrawOval(), GLDrawPoints(), GLDrawQuadStrip(), StickProfileScreen(StickProfileInternal)::graphProfile:at:size:, HeadUpDisplay::hudDrawBarAt, HeadUpDisplay::hudDrawIndicatorAt, HeadUpDisplay::hudDrawMarkerAt, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::hudDrawSurroundAt, HeadUpDisplay::hudDrawWaypoint, OODebugDrawBasis(), OODebugDrawColoredBoundingBoxBetween(), OODebugDrawColoredLine(), OODebugDrawPoint(), HeadUpDisplay::OODrawPlanetInfo, and HeadUpDisplay::OOStopDrawingStrings.
#define OOSetOpenGLState | ( | STATE | ) |
Definition at line 135 of file OOOpenGL.h.
Referenced by OOTextureSprite::blitToX:Y:Z:alpha:, OOSunEntity::drawDirectVisionSunGlare, DustEntity::drawImmediate:translucent:, OOBreakPatternEntity::drawImmediate:translucent:, OOLaserShotEntity::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, Universe::drawMessage, OOSunEntity(Private)::drawOpaqueParts, HeadUpDisplay::drawScannerGrid, OOSunEntity::drawStarGlare, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, OOSunEntity(Private)::drawTranslucentParts, PlanetEntity::drawUnconditionally, Universe::drawUniverse, OOPolygonSprite::drawWithData:count:VBO:, MyOpenGLView::initSplashScreen, HeadUpDisplay::OODrawHilightedPlanetInfo, HeadUpDisplay::OODrawHilightedString, HeadUpDisplay::OODrawPlanetInfo, HeadUpDisplay::OOStartDrawingStrings, OOCrosshairs::render, OOMesh::renderOpaqueParts, and OOSkyDrawable::renderOpaqueParts.
#define OOVerifyOpenGLState | ( | ) |
Definition at line 136 of file OOOpenGL.h.
Referenced by OOTextureSprite::blitToX:Y:Z:alpha:, HeadUpDisplay(Private)::drawHUDItem:, DustEntity::drawImmediate:translucent:, OOBreakPatternEntity::drawImmediate:translucent:, OOLaserShotEntity::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, Universe::drawMessage, OOSunEntity(Private)::drawOpaqueParts, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, PlanetEntity::drawUnconditionally, Universe::drawUniverse, OOPolygonSprite::drawWithData:count:VBO:, MyOpenGLView::initSplashScreen, HeadUpDisplay::OODrawHilightedPlanetInfo, HeadUpDisplay::OODrawHilightedString, HeadUpDisplay::OODrawPlanetInfo, HeadUpDisplay::OOStopDrawingStrings, OOCrosshairs::render, HeadUpDisplay::renderHUD, OOMesh::renderOpaqueParts, and OOSkyDrawable::renderOpaqueParts.
anonymous enum |
enum OOOpenGLStateID |
Enumerator | |
---|---|
OPENGL_STATE_OPAQUE | |
OPENGL_STATE_TRANSLUCENT_PASS | |
OPENGL_STATE_ADDITIVE_BLENDING | |
OPENGL_STATE_OVERLAY | |
OPENGL_STATE_INTERNAL_USE_ONLY |
Definition at line 121 of file OOOpenGL.h.
enum OOShaderSetting |
Enumerator | |
---|---|
SHADERS_NOT_SUPPORTED | |
SHADERS_OFF | |
SHADERS_SIMPLE | |
SHADERS_FULL |
Definition at line 34 of file OOOpenGL.h.
void GLDrawBallBillboard | ( | GLfloat | radius, |
GLfloat | step, | ||
GLfloat | z_distance ) |
Definition at line 111 of file OOOpenGL.m.
References EXPECT_NOT, M_PI, and OO_ENTER_OPENGL.
Referenced by OOQuiriumCascadeEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, and OOSunEntity(Private)::drawOpaqueParts.
void GLDrawFilledOval | ( | GLfloat | x, |
GLfloat | y, | ||
GLfloat | z, | ||
NSSize | siz, | ||
GLfloat | step ) |
Definition at line 165 of file OOOpenGL.m.
References GLDrawOvalPoints(), OO_ENTER_OPENGL, OOGLBEGIN, OOGLEND, x, and y.
Referenced by HeadUpDisplay(Private)::drawCompassPlanetBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassSunBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawScanner:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, HeadUpDisplay(Private)::drawStickSensitivityIndicator:, and StickProfileScreen(StickProfileInternal)::graphProfile:at:size:.
void GLDrawFilledPoints | ( | OOGLVector * | points, |
int | n ) |
Definition at line 188 of file OOOpenGL.m.
References OO_ENTER_OPENGL, OOGLBEGIN, OOGLEND, OOGLVector::x, OOGLVector::y, and OOGLVector::z.
void GLDrawOval | ( | GLfloat | x, |
GLfloat | y, | ||
GLfloat | z, | ||
NSSize | siz, | ||
GLfloat | step ) |
Definition at line 155 of file OOOpenGL.m.
References GLDrawOvalPoints(), OO_ENTER_OPENGL, OOGLBEGIN, OOGLEND, x, and y.
Referenced by HeadUpDisplay(Private)::drawCompass:, HeadUpDisplay(Private)::drawCompassPlanetBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassSunBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawCompassTargetBlipAt:Size:Alpha:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, and HeadUpDisplay(Private)::drawStickSensitivityIndicator:.
void GLDrawPoints | ( | OOGLVector * | points, |
int | n ) |
Definition at line 174 of file OOOpenGL.m.
References OO_ENTER_OPENGL, OOGLBEGIN, OOGLEND, OOGLVector::x, OOGLVector::y, and OOGLVector::z.
Referenced by HeadUpDisplay::GLDrawNonlinearCascadeWeapon.
void GLDrawQuadStrip | ( | OOGLVector * | points, |
int | n ) |
Definition at line 203 of file OOOpenGL.m.
References OO_ENTER_OPENGL, OOGLBEGIN, OOGLEND, OOGLVector::x, OOGLVector::y, and OOGLVector::z.
Referenced by HeadUpDisplay::GLDrawNonlinearCascadeWeapon.
GLfloat GLGetDisplayScaleFactor | ( | void | ) |
void GLScaledLineWidth | ( | GLfloat | width | ) |
Definition at line 218 of file OOOpenGL.m.
References OO_ENTER_OPENGL, and sDisplayScaleFactor.
Referenced by HeadUpDisplay(Private)::drawCompass:, GuiDisplayGen::drawGUI:drawCursor:, DustEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, HeadUpDisplay::drawScannerGrid, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, HeadUpDisplay(Private)::drawStickSensitivityIndicator:, Universe::drawUniverse, StickProfileScreen(StickProfileInternal)::graphProfile:at:size:, OODebugBeginWireframe(), OOGLWireframeModeOn(), and HeadUpDisplay::renderHUD.
void GLScaledPointSize | ( | GLfloat | size | ) |
Definition at line 225 of file OOOpenGL.m.
References OO_ENTER_OPENGL, and sDisplayScaleFactor.
Referenced by DustEntity::drawImmediate:translucent:, and OODebugDrawPoint().
void GLSetDisplayScaleFactor | ( | GLfloat | factor | ) |
Definition at line 238 of file OOOpenGL.m.
References sDisplayScaleFactor.
void LogOpenGLState | ( | void | ) |
Definition at line 256 of file OOOpenGL.m.
References GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), GLDumpMaterialState(), GLDumpStateFlags(), kOOLogOpenGLStateDump, OO_ENTER_OPENGL, OOCheckOpenGLErrors(), OOLog, OOLogIndent(), OOLogOutdent(), and OOLogWillDisplayMessagesInClass().
Referenced by OOCheckOpenGLErrors().
BOOL OOCheckOpenGLErrors | ( | NSString * | format, |
... ) |
Definition at line 39 of file OOOpenGL.m.
References kOOLogOpenGLError, LogOpenGLState(), nil, OO_ENTER_OPENGL, OOLog, OOLogIndent(), OOLogOutdent(), and OOLogWillDisplayMessagesInClass().
Referenced by HeadUpDisplay(Private)::drawHUDItem:, DustEntity::drawImmediate:translucent:, OOBreakPatternEntity::drawImmediate:translucent:, OOLaserShotEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OORingEffectEntity::drawImmediate:translucent:, SkyEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, Octree::drawOctree, Octree::drawOctreeCollisions, OOSunEntity(Private)::drawOpaqueParts, PlanetEntity::drawUnconditionally, Universe::drawUniverse, OOPolygonSprite::drawWithData:count:VBO:, LogOpenGLState(), OOCrosshairs::render, HeadUpDisplay::renderHUD, OOMesh::renderOpaqueParts, and OOSkyDrawable::renderOpaqueParts.
NSString * OODisplayStringFromShaderSetting | ( | OOShaderSetting | setting | ) |
Definition at line 467 of file OOConstToString.m.
References DESC, SHADERS_FULL, SHADERS_NOT_SUPPORTED, SHADERS_OFF, and SHADERS_SIMPLE.
NSString * OOGLColorToString | ( | GLfloat | color[4] | ) |
Definition at line 291 of file OOOpenGL.m.
References COLOR_CASE.
Referenced by GLDumpFogState(), GLDumpLightState(), and GLDumpMaterialState().
NSString * OOGLEnumToString | ( | GLenum | value | ) |
Definition at line 492 of file OOOpenGL.m.
References CASE.
Referenced by GLDumpCullingState(), GLDumpFogState(), GLDumpMaterialState(), and VerifyOpenGLStateInternal().
NSString * OOGLFlagToString | ( | bool | value | ) |
Definition at line 563 of file OOOpenGL.m.
Referenced by GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), and GLDumpMaterialState().
void OOGLWireframeModeOff | ( | void | ) |
Definition at line 103 of file OOOpenGL.m.
References OO_ENTER_OPENGL, and OOGL.
Referenced by OOEntityWithDrawable::drawImmediate:translucent:, and PlanetEntity::drawUnconditionally.
void OOGLWireframeModeOn | ( | void | ) |
Definition at line 87 of file OOOpenGL.m.
References GLScaledLineWidth(), OO_ENTER_OPENGL, and OOGL.
Referenced by OOEntityWithDrawable::drawImmediate:translucent:, and PlanetEntity::drawUnconditionally.
void OOResetGLStateVerifier | ( | void | ) |
Definition at line 462 of file OOOpenGLStateManager.m.
References OPENGL_STATE_INTERNAL_USE_ONLY, and sCurrentStateID.
void OOSetOpenGLState_ | ( | OOOpenGLStateID | state, |
const char * | function, | ||
unsigned | line ) |
Definition at line 253 of file OOOpenGLStateManager.m.
References kStandardStates, OOGLNoteCurrentFunction(), OPENGL_STATE_INTERNAL_USE_ONLY, sCurrentStateID, SetFunctionTracking(), SwitchOpenGLStateInternal(), and VerifyOpenGLStateInternal().
OOShaderSetting OOShaderSettingFromString | ( | NSString * | string | ) |
Definition at line 495 of file OOConstToString.m.
References kOOShaderSettingDefault, REVERSE_CASE, SHADERS_FULL, SHADERS_NOT_SUPPORTED, SHADERS_OFF, and SHADERS_SIMPLE.
Referenced by OOOpenGLExtensionManager::reset.
NSString * OOStringFromShaderSetting | ( | OOShaderSetting | setting | ) |
Definition at line 481 of file OOConstToString.m.
References CASE, SHADERS_FULL, SHADERS_NOT_SUPPORTED, SHADERS_OFF, and SHADERS_SIMPLE.
void OOVerifyOpenGLState_ | ( | const char * | function, |
unsigned | line ) |
Definition at line 272 of file OOOpenGLStateManager.m.
References OOGLNoteCurrentFunction(), SetFunctionTracking(), and VerifyOpenGLStateInternal().