Oolite 1.91.0.7647-241230-5e1c242
Loading...
Searching...
No Matches
OOOpenGLExtensionManager Class Reference

#include <OOOpenGLExtensionManager.h>

+ Inheritance diagram for OOOpenGLExtensionManager:
+ Collaboration diagram for OOOpenGLExtensionManager:

Instance Methods

(void) - reset
 
(BOOL) - haveExtension:
 
(BOOL) - shadersSupported
 
(BOOL) - shadersForceDisabled
 
(OOGraphicsDetail- defaultDetailLevel
 
(OOGraphicsDetail- maximumDetailLevel
 
(GLint) - textureImageUnitCount
 
(BOOL) - vboSupported
 
(BOOL) - fboSupported
 
(BOOL) - textureCombinersSupported
 
(GLint) - textureUnitCount
 
(NSUInteger) - majorVersionNumber
 
(NSUInteger) - minorVersionNumber
 
(NSUInteger) - releaseVersionNumber
 
(void) - getVersionMajor:minor:release:
 
(BOOL) - versionIsAtLeastMajor:minor:
 
(NSString *) - vendorString
 
(NSString *) - rendererString
 
(BOOL) - usePointSmoothing
 
(BOOL) - useLineSmoothing
 
(BOOL) - useDustShader
 
(id) - init [implementation]
 
(void) - dealloc [implementation]
 
(void) - checkShadersSupported [implementation]
 
(NSDictionary *) - lookUpPerGPUSettingsWithVersionString:extensionsString: [implementation]
 
(NSComparisonResult) - CompareGPUSettingsByPriority [implementation]
 
(id) - copyWithZone: [implementation]
 
(id) - retain [implementation]
 
(NSUInteger) - retainCount [implementation]
 
(id) - autorelease [implementation]
 

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
 

Detailed Description

Definition at line 115 of file OOOpenGLExtensionManager.h.

Method Documentation

◆ allocWithZone:

+ (id) allocWithZone: (NSZone *) inZone
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 839 of file OOOpenGLExtensionManager.m.

839 :(NSZone *)inZone
840{
841 if (sSingleton == nil)
842 {
843 sSingleton = [super allocWithZone:inZone];
844 return sSingleton;
845 }
846 return nil;
847}
static OODebugMonitor * sSingleton
return nil

◆ autorelease

- (id) autorelease
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 872 of file OOOpenGLExtensionManager.m.

873{
874 return self;
875}

◆ CheckRegExps

+ (static BOOL) CheckRegExps (NSString *) string
(id) regexps 
implementation

Provided by category OOOpenGLExtensionManager(OOPrivate).

Definition at line 741 of file OOOpenGLExtensionManager.m.

742{
743 if (regexps == nil) return YES; // No restriction == match.
744 if ([regexps isKindOfClass:[NSString class]])
745 {
746 return [string oo_matchesRegularExpression:regexps];
747 }
748 if ([regexps isKindOfClass:[NSArray class]])
749 {
750 NSEnumerator *regexpEnum = nil;
751 NSString *regexp = nil;
752
753 for (regexpEnum = [regexps objectEnumerator]; (regexp = [regexpEnum nextObject]); )
754 {
755 if (EXPECT_NOT(![regexp isKindOfClass:[NSString class]]))
756 {
757 // Invalid type -- match fails.
758 return NO;
759 }
760
761 if (![string oo_matchesRegularExpression:regexp]) return NO;
762 }
763 return YES;
764 }
765
766 // Invalid type -- match fails.
767 return NO;
768}
#define EXPECT_NOT(x)

◆ CompareGPUSettingsByPriority

- (NSComparisonResult) CompareGPUSettingsByPriority (id) a
(id) b
(void *) context 
implementation

Provided by category OOOpenGLExtensionManager(OOPrivate).

Definition at line 771 of file OOOpenGLExtensionManager.m.

772{
773 NSString *keyA = a;
774 NSString *keyB = b;
775 NSDictionary *configurations = context;
776 NSDictionary *dictA = [configurations oo_dictionaryForKey:keyA];
777 NSDictionary *dictB = [configurations oo_dictionaryForKey:keyB];
778 double precedenceA = [dictA oo_doubleForKey:@"precedence" defaultValue:1];
779 double precedenceB = [dictB oo_doubleForKey:@"precedence" defaultValue:1];
780
781 if (precedenceA > precedenceB) return NSOrderedAscending;
782 if (precedenceA < precedenceB) return NSOrderedDescending;
783
784 return [keyA caseInsensitiveCompare:keyB];
785}

◆ copyWithZone:

- (id) copyWithZone: (NSZone *) inZone
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 850 of file OOOpenGLExtensionManager.m.

850 :(NSZone *)inZone
851{
852 return self;
853}

◆ dealloc

- (void) dealloc
implementation

Definition at line 321 of file OOOpenGLExtensionManager.m.

322{
323 if (sSingleton == self) sSingleton = nil;
324
325#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
326 [lock release];
327#endif
331
332 [super dealloc];
333}
#define DESTROY(x)
Definition OOCocoa.h:77

References dealloc, DESTROY, extensions, nil, renderer, sSingleton, and vendor.

Referenced by dealloc.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ defaultDetailLevel

- (OOGraphicsDetail) defaultDetailLevel

Definition at line 381 of file OOOpenGLExtensionManager.m.

382{
383#if OO_SHADERS
385 {
387 }
388 else
389 {
391 }
392#else
394#endif
395}
@ SHADERS_FULL
Definition OOOpenGL.h:40
@ SHADERS_NOT_SUPPORTED
Definition OOOpenGL.h:37
@ DETAIL_LEVEL_MAXIMUM
Definition OOTypes.h:251
@ DETAIL_LEVEL_MINIMUM
Definition OOTypes.h:244

References defaultDetailLevel, defaultShaderSetting, DETAIL_LEVEL_MAXIMUM, DETAIL_LEVEL_MINIMUM, SHADERS_FULL, and SHADERS_NOT_SUPPORTED.

Referenced by defaultDetailLevel, Universe::initWithGameView:, and shadersForceDisabled.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fboSupported

- (BOOL) fboSupported

Definition at line 435 of file OOOpenGLExtensionManager.m.

436{
437#if OO_USE_FBO
438 return fboSupported;
439#else
440 return NO;
441#endif
442}

References fboSupported.

Referenced by fboSupported, and textureImageUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getVersionMajor:minor:release:

- (void) getVersionMajor: (unsigned *) outMajor
minor: (unsigned *) outMinor
release: (unsigned *) outRelease 

Definition at line 483 of file OOOpenGLExtensionManager.m.

483 :(unsigned *)outMajor minor:(unsigned *)outMinor release:(unsigned *)outRelease
484{
485 if (outMajor != NULL) *outMajor = major;
486 if (outMinor != NULL) *outMinor = minor;
487 if (outRelease != NULL) *outRelease = release;
488}

References major, minor, and release.

◆ haveExtension:

- (BOOL) haveExtension: (NSString *) extension

Definition at line 344 of file OOOpenGLExtensionManager.m.

344 :(NSString *)extension
345{
346// NSSet is documented as thread-safe under OS X, but I'm not sure about GNUstep. -- Ahruman
347#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
348 [lock lock];
349#endif
350
351 BOOL result = [extensions containsObject:extension];
352
353#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
354 [lock unlock];
355#endif
356
357 return result;
358}

Referenced by OOTexture::checkExtensions, and DustEntity::init.

+ Here is the caller graph for this function:

◆ init

- (id) init
implementation

Definition at line 197 of file OOOpenGLExtensionManager.m.

198{
199 self = [super init];
200 if (self != nil)
201 {
202#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
203 lock = [[NSLock alloc] init];
204 [lock setName:@"OOOpenGLExtensionManager extension set lock"];
205#endif
206
207 [self reset];
208 }
209
210 return self;
211}

References init, nil, and reset.

Referenced by init.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lookUpPerGPUSettingsWithVersionString:extensionsString:

- (NSDictionary *) lookUpPerGPUSettingsWithVersionString: (NSString *) version
extensionsString: (NSString *) extensionsStr 
implementation

Provided by category OOOpenGLExtensionManager(OOPrivate).

Definition at line 788 of file OOOpenGLExtensionManager.m.

788 :(NSString *)versionStr extensionsString:(NSString *)extensionsStr
789{
790 NSDictionary *configurations = [ResourceManager dictionaryFromFilesNamed:@"gpu-settings.plist"
791 inFolder:@"Config"
792 andMerge:YES];
793
794 NSArray *keys = [[configurations allKeys] sortedArrayUsingFunction:CompareGPUSettingsByPriority context:configurations];
795
796 NSEnumerator *keyEnum = nil;
797 NSString *key = nil;
798 NSDictionary *config = nil;
799
800 for (keyEnum = [keys objectEnumerator]; (key = [keyEnum nextObject]); )
801 {
802 config = [configurations oo_dictionaryForKey:key];
803 if (EXPECT_NOT(config == nil)) continue;
804
805 NSDictionary *match = [config oo_dictionaryForKey:@"match"];
806 NSString *expr = nil;
807
808 expr = [match objectForKey:@"vendor"];
809 if (!CheckRegExps(vendor, expr)) continue;
810
811 expr = [match oo_stringForKey:@"renderer"];
812 if (!CheckRegExps(renderer, expr)) continue;
813
814 expr = [match oo_stringForKey:@"version"];
815 if (!CheckRegExps(versionStr, expr)) continue;
816
817 expr = [match oo_stringForKey:@"extensions"];
818 if (!CheckRegExps(extensionsStr, expr)) continue;
819
820 OOLog(@"rendering.opengl.gpuSpecific", @"Matched GPU configuration \"%@\".", key);
821 return config;
822 }
823
824 return [NSDictionary dictionary];
825}
#define OOLog(class, format,...)
Definition OOLogging.h:88
static BOOL CheckRegExps(NSString *string, id regexps)
NSDictionary * dictionaryFromFilesNamed:inFolder:andMerge:(NSString *fileName,[inFolder] NSString *folderName,[andMerge] BOOL mergeFiles)

Referenced by reset.

+ Here is the caller graph for this function:

◆ majorVersionNumber

- (NSUInteger) majorVersionNumber

Definition at line 465 of file OOOpenGLExtensionManager.m.

466{
467 return major;
468}

References major, and majorVersionNumber.

Referenced by majorVersionNumber, and textureImageUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ maximumDetailLevel

- (OOGraphicsDetail) maximumDetailLevel

Definition at line 398 of file OOOpenGLExtensionManager.m.

399{
400#if OO_SHADERS
402 {
404 }
405 else
406 {
408 }
409#else
411#endif
412}

References DETAIL_LEVEL_MAXIMUM, DETAIL_LEVEL_MINIMUM, maximumDetailLevel, maximumShaderSetting, and SHADERS_FULL.

Referenced by ConsoleGetProperty(), maximumDetailLevel, shadersForceDisabled, and OODebugController::validateMenuItem:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ minorVersionNumber

- (NSUInteger) minorVersionNumber

Definition at line 471 of file OOOpenGLExtensionManager.m.

472{
473 return minor;
474}

References minor, and minorVersionNumber.

Referenced by minorVersionNumber, and textureImageUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ releaseVersionNumber

- (NSUInteger) releaseVersionNumber

Definition at line 477 of file OOOpenGLExtensionManager.m.

478{
479 return release;
480}

References release, and releaseVersionNumber.

Referenced by releaseVersionNumber, and textureImageUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rendererString

- (NSString *) rendererString

Definition at line 503 of file OOOpenGLExtensionManager.m.

504{
505 return renderer;
506}

References renderer, and rendererString.

Referenced by rendererString, and textureImageUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset

- (void) reset

Definition at line 214 of file OOOpenGLExtensionManager.m.

215{
216 const GLubyte *versionString = NULL, *curr = NULL;
217
221
222 NSString *extensionsStr = [NSString stringWithUTF8String:(char *)glGetString(GL_EXTENSIONS)];
223 extensions = [[NSSet alloc] initWithArray:ArrayOfExtensions(extensionsStr)];
224
225 vendor = [[NSString alloc] initWithUTF8String:(const char *)glGetString(GL_VENDOR)];
226 renderer = [[NSString alloc] initWithUTF8String:(const char *)glGetString(GL_RENDERER)];
227
228 versionString = glGetString(GL_VERSION);
229 if (versionString != NULL)
230 {
231 /* String is supposed to be "major.minorFOO" or
232 "major.minor.releaseFOO" where FOO is an empty string or
233 a string beginning with space.
234 */
235 curr = versionString;
236 major = IntegerFromString(&curr);
237 if (*curr == '.')
238 {
239 curr++;
240 minor = IntegerFromString(&curr);
241 }
242 if (*curr == '.')
243 {
244 curr++;
245 release = IntegerFromString(&curr);
246 }
247 }
248
249 /* For aesthetic reasons, cause the ResourceManager to initialize its
250 search paths here. If we don't, the search path dump ends up in
251 the middle of the OpenGL stuff.
252 */
254
255 OOLog(@"rendering.opengl.version", @"OpenGL renderer version: %u.%u.%u (\"%s\"). Vendor: \"%@\". Renderer: \"%@\".", major, minor, release, versionString, vendor, renderer);
256 OOLog(@"rendering.opengl.extensions", @"OpenGL extensions (%lu):\n%@", [extensions count], [[extensions allObjects] componentsJoinedByString:@", "]);
257
258 if (![self versionIsAtLeastMajor:kMinMajorVersion minor:kMinMinorVersion])
259 {
260 OOLog(@"rendering.opengl.version.insufficient", @"***** Oolite requires OpenGL version %u.%u or later.", kMinMajorVersion, kMinMinorVersion);
261 [NSException raise:@"OoliteOpenGLTooOldException"
262 format:@"Oolite requires at least OpenGL %u.%u. You have %u.%u (\"%s\").", kMinMajorVersion, kMinMinorVersion, major, minor, versionString];
263 }
264
265 NSString *versionStr = [[[NSString alloc] initWithUTF8String:(const char *)versionString] autorelease];
266 NSDictionary *gpuConfig = [self lookUpPerGPUSettingsWithVersionString:versionStr extensionsString:extensionsStr];
267
268#if OO_SHADERS
269 [self checkShadersSupported];
270
272 {
273 defaultShaderSetting = OOShaderSettingFromString([gpuConfig oo_stringForKey:@"default_shader_level"
274 defaultValue:@"SHADERS_FULL"]);
275 maximumShaderSetting = OOShaderSettingFromString([gpuConfig oo_stringForKey:@"maximum_shader_level"
276 defaultValue:@"SHADERS_FULL"]);
278 {
279 shadersAvailable = NO;
281 OOLog(kOOLogOpenGLShaderSupport, @"Shaders will not be used (disallowed for GPU type \"%@\").", [gpuConfig oo_stringForKey:@"name" defaultValue:renderer]);
282 }
284 {
286 }
287
289 {
290 OOLog(kOOLogOpenGLShaderSupport, @"%@", @"Shaders are supported.");
291 }
292 }
293 else
294 {
297 }
298
299 GLint texImageUnitOverride = [gpuConfig oo_intForKey:@"texture_image_units" defaultValue:textureImageUnitCount];
300 if (texImageUnitOverride < textureImageUnitCount) textureImageUnitCount = MAX(texImageUnitOverride, 0);
301#endif
302
303#if OO_USE_VBO
304 [self checkVBOSupported];
305#endif
306#if OO_USE_FBO
307 [self checkFBOSupported];
308#endif
309#if OO_MULTITEXTURE
310 [self checkTextureCombinersSupported];
311 GLint texUnitOverride = [gpuConfig oo_intForKey:@"texture_units" defaultValue:textureUnitCount];
312 if (texUnitOverride < textureUnitCount) textureUnitCount = MAX(texUnitOverride, 0);
313#endif
314
315 usePointSmoothing = [gpuConfig oo_boolForKey:@"smooth_points" defaultValue:YES];
316 useLineSmoothing = [gpuConfig oo_boolForKey:@"smooth_lines" defaultValue:YES];
317 useDustShader = [gpuConfig oo_boolForKey:@"use_dust_shader" defaultValue:YES];
318}
OOShaderSetting OOShaderSettingFromString(NSString *string)
#define MAX(A, B)
Definition OOMaths.h:114
static NSString *const kOOLogOpenGLShaderSupport
static unsigned IntegerFromString(const GLubyte **ioString)
@ SHADERS_OFF
Definition OOOpenGL.h:38
unsigned count

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ retain

- (id) retain
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 856 of file OOOpenGLExtensionManager.m.

857{
858 return self;
859}

◆ retainCount

- (NSUInteger) retainCount
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 862 of file OOOpenGLExtensionManager.m.

863{
864 return UINT_MAX;
865}

◆ shadersForceDisabled

- (BOOL) shadersForceDisabled

References defaultDetailLevel, maximumDetailLevel, and shadersForceDisabled.

+ Here is the call graph for this function:

◆ shadersSupported

- (BOOL) shadersSupported

Definition at line 361 of file OOOpenGLExtensionManager.m.

362{
363#if OO_SHADERS
364 return shadersAvailable;
365#else
366 return NO;
367#endif
368}

References shadersAvailable, and shadersSupported.

Referenced by OOShadersSupported(), and shadersSupported.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sharedManager

+ (OOOpenGLExtensionManager *) sharedManager

Definition at line 336 of file OOOpenGLExtensionManager.m.

337{
338 // NOTE: assumes single-threaded first access. See header.
339 if (sSingleton == nil) sSingleton = [[self alloc] init];
340 return sSingleton;
341}

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:.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ textureCombinersSupported

- (BOOL) textureCombinersSupported

Definition at line 445 of file OOOpenGLExtensionManager.m.

446{
447#if OO_MULTITEXTURE
449#else
450 return NO;
451#endif
452}

References textureCombinersSupported.

Referenced by textureCombinersSupported, and textureImageUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ textureImageUnitCount

- (GLint) textureImageUnitCount

References fboSupported, majorVersionNumber, minorVersionNumber, releaseVersionNumber, rendererString, textureCombinersSupported, textureImageUnitCount, textureUnitCount, vboSupported, and vendorString.

+ Here is the call graph for this function:

◆ textureUnitCount

- (GLint) textureUnitCount

Definition at line 455 of file OOOpenGLExtensionManager.m.

456{
457#if OO_MULTITEXTURE
458 return textureUnitCount;
459#else
460 return 0;
461#endif
462}

References textureUnitCount.

Referenced by reset, textureImageUnitCount, and textureUnitCount.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ useDustShader

- (BOOL) useDustShader

◆ useLineSmoothing

- (BOOL) useLineSmoothing

References useLineSmoothing.

◆ usePointSmoothing

- (BOOL) usePointSmoothing

References usePointSmoothing.

◆ vboSupported

- (BOOL) vboSupported

Definition at line 425 of file OOOpenGLExtensionManager.m.

426{
427#if OO_USE_VBO
428 return vboSupported;
429#else
430 return NO;
431#endif
432}

References vboSupported.

Referenced by OOPolygonSprite::drawWithData:count:VBO:, textureImageUnitCount, and vboSupported.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vendorString

- (NSString *) vendorString

Definition at line 497 of file OOOpenGLExtensionManager.m.

498{
499 return vendor;
500}

References vendor, and vendorString.

Referenced by textureImageUnitCount, and vendorString.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ versionIsAtLeastMajor:minor:

- (BOOL) versionIsAtLeastMajor: (unsigned) maj
minor: (unsigned) min 

Definition at line 491 of file OOOpenGLExtensionManager.m.

491 :(unsigned)maj minor:(unsigned)min
492{
493 return major > maj || (major == maj && minor >= min);
494}

References major, and minor.

Referenced by OOTexture::checkExtensions.

+ Here is the caller graph for this function:

Member Data Documentation

◆ defaultShaderSetting

- (OOShaderSetting) defaultShaderSetting
private

Definition at line 135 of file OOOpenGLExtensionManager.h.

Referenced by defaultDetailLevel, and reset.

◆ extensions

- (NSSet*) extensions
private

Definition at line 121 of file OOOpenGLExtensionManager.h.

Referenced by dealloc, and reset.

◆ major

- (unsigned) major
private

◆ maximumShaderSetting

- (OOShaderSetting) maximumShaderSetting
private

Definition at line 136 of file OOOpenGLExtensionManager.h.

Referenced by maximumDetailLevel, and reset.

◆ minor

- (unsigned) minor
private

◆ release

◆ renderer

- (NSString*) renderer
private

Definition at line 124 of file OOOpenGLExtensionManager.h.

Referenced by dealloc, rendererString, and reset.

◆ shadersAvailable

- (BOOL) shadersAvailable
private

Definition at line 133 of file OOOpenGLExtensionManager.h.

Referenced by reset, and shadersSupported.

◆ shadersForceDisabled

- (BOOL) shadersForceDisabled
private

Definition at line 371 of file OOOpenGLExtensionManager.m.

372{
373#if OO_SHADERS
375#else
376 return YES;
377#endif
378}

Referenced by shadersForceDisabled.

◆ textureImageUnitCount

- (GLint) textureImageUnitCount
private

Definition at line 415 of file OOOpenGLExtensionManager.m.

416{
417#if OO_SHADERS
419#else
420 return 0;
421#endif
422}

Referenced by reset, OOMaterial(OOConvenienceCreators)::synthesizeMaterialDictionaryWithName:configuration:macros:, and textureImageUnitCount.

◆ useDustShader

- (BOOL) useDustShader
private

Definition at line 521 of file OOOpenGLExtensionManager.m.

522{
523 return useDustShader;
524}

Referenced by reset, and useDustShader.

◆ useLineSmoothing

- (BOOL) useLineSmoothing
private

Definition at line 515 of file OOOpenGLExtensionManager.m.

516{
517 return useLineSmoothing;
518}

Referenced by reset, and useLineSmoothing.

◆ usePointSmoothing

- (BOOL) usePointSmoothing
private

Definition at line 509 of file OOOpenGLExtensionManager.m.

510{
511 return usePointSmoothing;
512}

Referenced by reset, and usePointSmoothing.

◆ vendor

- (NSString*) vendor
private

Definition at line 123 of file OOOpenGLExtensionManager.h.

Referenced by dealloc, reset, and vendorString.


The documentation for this class was generated from the following files: