Oolite 1.91.0.7647-241230-5e1c242
|
#include <OOOpenGLExtensionManager.h>
Class Methods | |
(OOOpenGLExtensionManager *) | + sharedManager |
(static BOOL) | + CheckRegExps [implementation] |
(id) | + allocWithZone: [implementation] |
Private Attributes | |
NSSet * | extensions |
NSString * | vendor |
NSString * | renderer |
unsigned | major |
unsigned | minor |
unsigned | release |
BOOL | usePointSmoothing |
BOOL | useLineSmoothing |
BOOL | useDustShader |
BOOL | shadersAvailable |
BOOL | shadersForceDisabled |
OOShaderSetting | defaultShaderSetting |
OOShaderSetting | maximumShaderSetting |
GLint | textureImageUnitCount |
Definition at line 115 of file OOOpenGLExtensionManager.h.
|
implementation |
Provided by category OOOpenGLExtensionManager(Singleton).
Definition at line 839 of file OOOpenGLExtensionManager.m.
|
implementation |
Provided by category OOOpenGLExtensionManager(Singleton).
Definition at line 872 of file OOOpenGLExtensionManager.m.
|
implementation |
Provided by category OOOpenGLExtensionManager(OOPrivate).
Definition at line 741 of file OOOpenGLExtensionManager.m.
|
implementation |
Provided by category OOOpenGLExtensionManager(OOPrivate).
Definition at line 771 of file OOOpenGLExtensionManager.m.
|
implementation |
Provided by category OOOpenGLExtensionManager(Singleton).
Definition at line 850 of file OOOpenGLExtensionManager.m.
|
implementation |
Definition at line 321 of file OOOpenGLExtensionManager.m.
References dealloc, DESTROY, extensions, nil, renderer, sSingleton, and vendor.
Referenced by dealloc.
- (OOGraphicsDetail) defaultDetailLevel |
Definition at line 381 of file OOOpenGLExtensionManager.m.
References defaultDetailLevel, defaultShaderSetting, DETAIL_LEVEL_MAXIMUM, DETAIL_LEVEL_MINIMUM, SHADERS_FULL, and SHADERS_NOT_SUPPORTED.
Referenced by defaultDetailLevel, Universe::initWithGameView:, and shadersForceDisabled.
- (BOOL) fboSupported |
Definition at line 435 of file OOOpenGLExtensionManager.m.
References fboSupported.
Referenced by fboSupported, and textureImageUnitCount.
- (void) getVersionMajor: | (unsigned *) | outMajor | |
minor: | (unsigned *) | outMinor | |
release: | (unsigned *) | outRelease |
Definition at line 483 of file OOOpenGLExtensionManager.m.
- (BOOL) haveExtension: | (NSString *) | extension |
Definition at line 344 of file OOOpenGLExtensionManager.m.
Referenced by OOTexture::checkExtensions, and DustEntity::init.
|
implementation |
Definition at line 197 of file OOOpenGLExtensionManager.m.
References init, nil, and reset.
Referenced by init.
|
implementation |
Provided by category OOOpenGLExtensionManager(OOPrivate).
Definition at line 788 of file OOOpenGLExtensionManager.m.
Referenced by reset.
- (NSUInteger) majorVersionNumber |
Definition at line 465 of file OOOpenGLExtensionManager.m.
References major, and majorVersionNumber.
Referenced by majorVersionNumber, and textureImageUnitCount.
- (OOGraphicsDetail) maximumDetailLevel |
Definition at line 398 of file OOOpenGLExtensionManager.m.
References DETAIL_LEVEL_MAXIMUM, DETAIL_LEVEL_MINIMUM, maximumDetailLevel, maximumShaderSetting, and SHADERS_FULL.
Referenced by ConsoleGetProperty(), maximumDetailLevel, shadersForceDisabled, and OODebugController::validateMenuItem:.
- (NSUInteger) minorVersionNumber |
Definition at line 471 of file OOOpenGLExtensionManager.m.
References minor, and minorVersionNumber.
Referenced by minorVersionNumber, and textureImageUnitCount.
- (NSUInteger) releaseVersionNumber |
Definition at line 477 of file OOOpenGLExtensionManager.m.
References release, and releaseVersionNumber.
Referenced by releaseVersionNumber, and textureImageUnitCount.
- (NSString *) rendererString |
Definition at line 503 of file OOOpenGLExtensionManager.m.
References renderer, and rendererString.
Referenced by rendererString, and textureImageUnitCount.
- (void) reset |
Definition at line 214 of file OOOpenGLExtensionManager.m.
References checkShadersSupported, count, defaultShaderSetting, DESTROY, extensions, IntegerFromString(), kMinMajorVersion, kMinMinorVersion, kOOLogOpenGLShaderSupport, lookUpPerGPUSettingsWithVersionString:extensionsString:, major, MAX, maximumShaderSetting, minor, OOLog, OOShaderSettingFromString(), ResourceManager::paths, release, renderer, reset, SHADERS_NOT_SUPPORTED, SHADERS_OFF, shadersAvailable, textureImageUnitCount, textureUnitCount, useDustShader, useLineSmoothing, usePointSmoothing, and vendor.
Referenced by init, reset, and OOGraphicsResetManager::resetGraphicsState.
|
implementation |
Provided by category OOOpenGLExtensionManager(Singleton).
Definition at line 856 of file OOOpenGLExtensionManager.m.
|
implementation |
Provided by category OOOpenGLExtensionManager(Singleton).
Definition at line 862 of file OOOpenGLExtensionManager.m.
- (BOOL) shadersForceDisabled |
References defaultDetailLevel, maximumDetailLevel, and shadersForceDisabled.
- (BOOL) shadersSupported |
Definition at line 361 of file OOOpenGLExtensionManager.m.
References shadersAvailable, and shadersSupported.
Referenced by OOShadersSupported(), and shadersSupported.
+ (OOOpenGLExtensionManager *) sharedManager |
Definition at line 336 of file OOOpenGLExtensionManager.m.
References nil, sharedManager, and sSingleton.
Referenced by OOTexture::checkExtensions, ConsoleGetProperty(), OOPolygonSprite::drawWithData:count:VBO:, DustEntity::init, Universe::initWithGameView:, OOShadersSupported(), OOGraphicsResetManager::resetGraphicsState, GameController::setUpBasicOpenGLStateWithSize:, sharedManager, OOMaterial(OOConvenienceCreators)::synthesizeMaterialDictionaryWithName:configuration:macros:, and OODebugController::validateMenuItem:.
- (BOOL) textureCombinersSupported |
Definition at line 445 of file OOOpenGLExtensionManager.m.
References textureCombinersSupported.
Referenced by textureCombinersSupported, and textureImageUnitCount.
- (GLint) textureImageUnitCount |
References fboSupported, majorVersionNumber, minorVersionNumber, releaseVersionNumber, rendererString, textureCombinersSupported, textureImageUnitCount, textureUnitCount, vboSupported, and vendorString.
- (GLint) textureUnitCount |
Definition at line 455 of file OOOpenGLExtensionManager.m.
References textureUnitCount.
Referenced by reset, textureImageUnitCount, and textureUnitCount.
- (BOOL) useDustShader |
References INLINE_PURE_FUNC, OOINLINE, and useDustShader.
- (BOOL) useLineSmoothing |
References useLineSmoothing.
- (BOOL) usePointSmoothing |
References usePointSmoothing.
- (BOOL) vboSupported |
Definition at line 425 of file OOOpenGLExtensionManager.m.
References vboSupported.
Referenced by OOPolygonSprite::drawWithData:count:VBO:, textureImageUnitCount, and vboSupported.
- (NSString *) vendorString |
Definition at line 497 of file OOOpenGLExtensionManager.m.
References vendor, and vendorString.
Referenced by textureImageUnitCount, and vendorString.
- (BOOL) versionIsAtLeastMajor: | (unsigned) | maj | |
minor: | (unsigned) | min |
Definition at line 491 of file OOOpenGLExtensionManager.m.
Referenced by OOTexture::checkExtensions.
|
private |
Definition at line 135 of file OOOpenGLExtensionManager.h.
Referenced by defaultDetailLevel, and reset.
|
private |
Definition at line 121 of file OOOpenGLExtensionManager.h.
|
private |
Definition at line 126 of file OOOpenGLExtensionManager.h.
Referenced by getVersionMajor:minor:release:, majorVersionNumber, reset, and versionIsAtLeastMajor:minor:.
|
private |
Definition at line 136 of file OOOpenGLExtensionManager.h.
Referenced by maximumDetailLevel, and reset.
|
private |
Definition at line 126 of file OOOpenGLExtensionManager.h.
Referenced by getVersionMajor:minor:release:, minorVersionNumber, reset, and versionIsAtLeastMajor:minor:.
|
private |
Provided by category OOOpenGLExtensionManager(Singleton).
Definition at line 126 of file OOOpenGLExtensionManager.h.
References OOOpenGLExtensionManager(Singleton)::release.
Referenced by getVersionMajor:minor:release:, OOOpenGLExtensionManager(Singleton)::release, releaseVersionNumber, and reset.
|
private |
Definition at line 124 of file OOOpenGLExtensionManager.h.
Referenced by dealloc, rendererString, and reset.
|
private |
Definition at line 133 of file OOOpenGLExtensionManager.h.
Referenced by reset, and shadersSupported.
|
private |
Definition at line 371 of file OOOpenGLExtensionManager.m.
Referenced by shadersForceDisabled.
|
private |
Definition at line 415 of file OOOpenGLExtensionManager.m.
Referenced by reset, OOMaterial(OOConvenienceCreators)::synthesizeMaterialDictionaryWithName:configuration:macros:, and textureImageUnitCount.
|
private |
Definition at line 521 of file OOOpenGLExtensionManager.m.
Referenced by reset, and useDustShader.
|
private |
Definition at line 515 of file OOOpenGLExtensionManager.m.
Referenced by reset, and useLineSmoothing.
|
private |
Definition at line 509 of file OOOpenGLExtensionManager.m.
Referenced by reset, and usePointSmoothing.
|
private |
Definition at line 123 of file OOOpenGLExtensionManager.h.
Referenced by dealloc, reset, and vendorString.