Oolite
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 109 of file OOOpenGLExtensionManager.h.

Method Documentation

◆ allocWithZone:

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

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 783 of file OOOpenGLExtensionManager.m.

783 :(NSZone*)inZone
784{
785 if (sSingleton == nil) {
786 sSingleton = [super allocWithZone:inZone];
787 return sSingleton;
788 }
789 return nil;
790}
static OONullTexture * sSingleton
return nil

◆ autorelease

- (id) autorelease
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 811 of file OOOpenGLExtensionManager.m.

812{
813 return self;
814}

◆ CheckRegExps

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

Provided by category OOOpenGLExtensionManager(OOPrivate).

Definition at line 685 of file OOOpenGLExtensionManager.m.

686{
687 if (regexps == nil)
688 return YES; // No restriction == match.
689 if ([regexps isKindOfClass:[NSString class]]) {
690 return [string oo_matchesRegularExpression:regexps];
691 }
692 if ([regexps isKindOfClass:[NSArray class]]) {
693 NSEnumerator* regexpEnum = nil;
694 NSString* regexp = nil;
695
696 for (regexpEnum = [regexps objectEnumerator]; (regexp = [regexpEnum nextObject]);) {
697 if (EXPECT_NOT(![regexp isKindOfClass:[NSString class]])) {
698 // Invalid type -- match fails.
699 return NO;
700 }
701
702 if (![string oo_matchesRegularExpression:regexp])
703 return NO;
704 }
705 return YES;
706 }
707
708 // Invalid type -- match fails.
709 return NO;
710}
#define EXPECT_NOT(x)

◆ CompareGPUSettingsByPriority

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

Provided by category OOOpenGLExtensionManager(OOPrivate).

Definition at line 712 of file OOOpenGLExtensionManager.m.

713{
714 NSString* keyA = a;
715 NSString* keyB = b;
716 NSDictionary* configurations = context;
717 NSDictionary* dictA = [configurations oo_dictionaryForKey:keyA];
718 NSDictionary* dictB = [configurations oo_dictionaryForKey:keyB];
719 double precedenceA = [dictA oo_doubleForKey:@"precedence" defaultValue:1];
720 double precedenceB = [dictB oo_doubleForKey:@"precedence" defaultValue:1];
721
722 if (precedenceA > precedenceB)
723 return NSOrderedAscending;
724 if (precedenceA < precedenceB)
725 return NSOrderedDescending;
726
727 return [keyA caseInsensitiveCompare:keyB];
728}

◆ copyWithZone:

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

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 792 of file OOOpenGLExtensionManager.m.

792 :(NSZone*)inZone
793{
794 return self;
795}

◆ dealloc

- (void) dealloc
implementation

Definition at line 308 of file OOOpenGLExtensionManager.m.

309{
310 if (sSingleton == self)
311 sSingleton = nil;
312
313#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
314 [lock release];
315#endif
319
320 [super dealloc];
321}
#define DESTROY(x)

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 365 of file OOOpenGLExtensionManager.m.

366{
367#if OO_SHADERS
370 } else {
372 }
373#else
375#endif
376}
@ SHADERS_FULL
Definition OOOpenGL.h:38
@ SHADERS_NOT_SUPPORTED
Definition OOOpenGL.h:35
@ DETAIL_LEVEL_MAXIMUM
Definition OOTypes.h:214
@ DETAIL_LEVEL_MINIMUM
Definition OOTypes.h:209

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 409 of file OOOpenGLExtensionManager.m.

410{
411#if OO_USE_FBO
412 return fboSupported;
413#else
414 return NO;
415#endif
416}

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 451 of file OOOpenGLExtensionManager.m.

451 :(unsigned*)outMajor minor:(unsigned*)outMinor release:(unsigned*)outRelease
452{
453 if (outMajor != NULL)
454 *outMajor = major;
455 if (outMinor != NULL)
456 *outMinor = minor;
457 if (outRelease != NULL)
458 *outRelease = release;
459}

References major, minor, and release.

◆ haveExtension:

- (BOOL) haveExtension: (NSString*) extension

Definition at line 331 of file OOOpenGLExtensionManager.m.

331 :(NSString*)extension
332{
333// NSSet is documented as thread-safe under OS X, but I'm not sure about GNUstep. -- Ahruman
334#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
335 [lock lock];
336#endif
337
338 BOOL result = [extensions containsObject:extension];
339
340#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
341 [lock unlock];
342#endif
343
344 return result;
345}

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

Here is the caller graph for this function:

◆ init

- (id) init
implementation

Definition at line 187 of file OOOpenGLExtensionManager.m.

188{
189 self = [super init];
190 if (self != nil) {
191#if OOOPENGLEXTMGR_LOCK_SET_ACCESS
192 lock = [[NSLock alloc] init];
193 [lock setName:@"OOOpenGLExtensionManager extension set lock"];
194#endif
195
196 [self reset];
197 }
198
199 return self;
200}

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 730 of file OOOpenGLExtensionManager.m.

730 :(NSString*)versionStr extensionsString:(NSString*)extensionsStr
731{
732 NSDictionary* configurations = [ResourceManager dictionaryFromFilesNamed:@"gpu-settings.plist"
733 inFolder:@"Config"
734 andMerge:YES];
735
736 NSArray* keys = [[configurations allKeys] sortedArrayUsingFunction:CompareGPUSettingsByPriority context:configurations];
737
738 NSString* key = nil;
739 NSDictionary* config = nil;
740
741 foreach (key, keys) {
742 config = [configurations oo_dictionaryForKey:key];
743 if (EXPECT_NOT(config == nil))
744 continue;
745
746 NSDictionary* match = [config oo_dictionaryForKey:@"match"];
747 NSString* expr = nil;
748
749 expr = [match objectForKey:@"vendor"];
750 if (!CheckRegExps(vendor, expr))
751 continue;
752
753 expr = [match oo_stringForKey:@"renderer"];
754 if (!CheckRegExps(renderer, expr))
755 continue;
756
757 expr = [match oo_stringForKey:@"version"];
758 if (!CheckRegExps(versionStr, expr))
759 continue;
760
761 expr = [match oo_stringForKey:@"extensions"];
762 if (!CheckRegExps(extensionsStr, expr))
763 continue;
764
765 OOLog(@"rendering.opengl.gpuSpecific", @"Matched GPU configuration \"%@\".", key);
766 return config;
767 }
768
769 return [NSDictionary dictionary];
770}
#define OOLog(class, format,...)
Definition OOLogging.h:84
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 436 of file OOOpenGLExtensionManager.m.

437{
438 return major;
439}

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 378 of file OOOpenGLExtensionManager.m.

379{
380#if OO_SHADERS
383 } else {
385 }
386#else
388#endif
389}

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

Referenced by maximumDetailLevel, and shadersForceDisabled.

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

◆ minorVersionNumber

- (NSUInteger) minorVersionNumber

Definition at line 441 of file OOOpenGLExtensionManager.m.

442{
443 return minor;
444}

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 446 of file OOOpenGLExtensionManager.m.

447{
448 return release;
449}

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 471 of file OOOpenGLExtensionManager.m.

472{
473 return renderer;
474}

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 202 of file OOOpenGLExtensionManager.m.

203{
204 const GLubyte *versionString = NULL, *curr = NULL;
205
209
210 NSString* extensionsStr = [NSString stringWithUTF8String:(char*)glGetString(GL_EXTENSIONS)];
211 extensions = [[NSSet alloc] initWithArray:ArrayOfExtensions(extensionsStr)];
212
213 vendor = [[NSString alloc] initWithUTF8String:(const char*)glGetString(GL_VENDOR)];
214 renderer = [[NSString alloc] initWithUTF8String:(const char*)glGetString(GL_RENDERER)];
215
216 versionString = glGetString(GL_VERSION);
217 if (versionString != NULL) {
218 /* String is supposed to be "major.minorFOO" or
219 "major.minor.releaseFOO" where FOO is an empty string or
220 a string beginning with space.
221 */
222 curr = versionString;
223 major = IntegerFromString(&curr);
224 if (*curr == '.') {
225 curr++;
226 minor = IntegerFromString(&curr);
227 }
228 if (*curr == '.') {
229 curr++;
230 release = IntegerFromString(&curr);
231 }
232 }
233
234 /* For aesthetic reasons, cause the ResourceManager to initialize its
235 search paths here. If we don't, the search path dump ends up in
236 the middle of the OpenGL stuff.
237 */
239
240 OOLog(@"rendering.opengl.version", @"OpenGL renderer version: %u.%u.%u (\"%s\"). Vendor: \"%@\". Renderer: \"%@\".", major, minor, release, versionString, vendor, renderer);
241 OOLog(@"rendering.opengl.extensions", @"OpenGL extensions (%zu):\n%@", [extensions count], [[extensions allObjects] componentsJoinedByString:@", "]);
242
243#if OOLITE_MAC_OS_X
244 /* macOS only offers a 2.1 legacy context alongside fixed-function GL, but
245 it provides what Oolite needs from 3.3 as extensions.
246 */
247 if ([self versionIsAtLeastMajor:2 minor:1] && [self haveExtension:@"GL_ARB_framebuffer_object"] && [self haveExtension:@"GL_APPLE_vertex_array_object"] && [self haveExtension:@"GL_ARB_texture_float"] && [self haveExtension:@"GL_ARB_color_buffer_float"] && [self haveExtension:@"GL_ARB_draw_buffers"]) {
248 // OK
249 } else
250#endif
251 if (![self versionIsAtLeastMajor:kMinMajorVersion minor:kMinMinorVersion]) {
252 OOLog(@"rendering.opengl.version.insufficient", @"***** Oolite requires OpenGL version %u.%u or later.", kMinMajorVersion, kMinMinorVersion);
253 [NSException raise:@"OoliteOpenGLTooOldException"
254 format:@"Oolite requires at least OpenGL %u.%u. You have %u.%u (\"%s\").", kMinMajorVersion, kMinMinorVersion, major, minor, versionString];
255 }
256
257 NSString* versionStr = [[[NSString alloc] initWithUTF8String:(const char*)versionString] autorelease];
258 NSDictionary* gpuConfig = [self lookUpPerGPUSettingsWithVersionString:versionStr extensionsString:extensionsStr];
259
260#if OO_SHADERS
261 [self checkShadersSupported];
262
263 if (shadersAvailable) {
264 defaultShaderSetting = OOShaderSettingFromString([gpuConfig oo_stringForKey:@"default_shader_level"
265 defaultValue:@"SHADERS_FULL"]);
266 maximumShaderSetting = OOShaderSettingFromString([gpuConfig oo_stringForKey:@"maximum_shader_level"
267 defaultValue:@"SHADERS_FULL"]);
269 shadersAvailable = NO;
271 OOLog(kOOLogOpenGLShaderSupport, @"Shaders will not be used (disallowed for GPU type \"%@\").", [gpuConfig oo_stringForKey:@"name" defaultValue:renderer]);
272 }
275 }
276
277 if (shadersAvailable) {
278 OOLog(kOOLogOpenGLShaderSupport, @"%@", @"Shaders are supported.");
279 }
280 } else {
283 }
284
285 GLint texImageUnitOverride = [gpuConfig oo_intForKey:@"texture_image_units" defaultValue:textureImageUnitCount];
286 if (texImageUnitOverride < textureImageUnitCount)
287 textureImageUnitCount = MAX(texImageUnitOverride, 0);
288#endif
289
290#if OO_USE_VBO
291 [self checkVBOSupported];
292#endif
293#if OO_USE_FBO
294 [self checkFBOSupported];
295#endif
296#if OO_MULTITEXTURE
297 [self checkTextureCombinersSupported];
298 GLint texUnitOverride = [gpuConfig oo_intForKey:@"texture_units" defaultValue:textureUnitCount];
299 if (texUnitOverride < textureUnitCount)
300 textureUnitCount = MAX(texUnitOverride, 0);
301#endif
302
303 usePointSmoothing = [gpuConfig oo_boolForKey:@"smooth_points" defaultValue:YES];
304 useLineSmoothing = [gpuConfig oo_boolForKey:@"smooth_lines" defaultValue:YES];
305 useDustShader = [gpuConfig oo_boolForKey:@"use_dust_shader" defaultValue:YES];
306}
OOShaderSetting OOShaderSettingFromString(NSString *string)
#define MAX(A, B)
Definition OOMaths.h:94
static NSString *const kOOLogOpenGLShaderSupport
static unsigned IntegerFromString(const GLubyte **ioString)
@ SHADERS_OFF
Definition OOOpenGL.h:36
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 797 of file OOOpenGLExtensionManager.m.

798{
799 return self;
800}

◆ retainCount

- (NSUInteger) retainCount
implementation

Provided by category OOOpenGLExtensionManager(Singleton).

Definition at line 802 of file OOOpenGLExtensionManager.m.

803{
804 return UINT_MAX;
805}

◆ shadersForceDisabled

References defaultDetailLevel, maximumDetailLevel, and shadersForceDisabled.

Here is the call graph for this function:

◆ shadersSupported

- (BOOL) shadersSupported

Definition at line 347 of file OOOpenGLExtensionManager.m.

348{
349#if OO_SHADERS
350 return shadersAvailable;
351#else
352 return NO;
353#endif
354}

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 323 of file OOOpenGLExtensionManager.m.

324{
325 // NOTE: assumes single-threaded first access. See header.
326 if (sSingleton == nil)
327 sSingleton = [[self alloc] init];
328 return sSingleton;
329}

References nil, sharedManager, and sSingleton.

Referenced by OOTexture::checkExtensions, OOPolygonSprite::drawWithData:count:VBO:, DustEntity::init, Universe::initWithGameView:, OOShadersSupported(), OOGraphicsResetManager::resetGraphicsState, MyOpenGLView::setUpBasicOpenGLStateWithSize, sharedManager, and OOMaterial(OOConvenienceCreators)::synthesizeMaterialDictionaryWithName:configuration:macros:.

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

◆ textureCombinersSupported

- (BOOL) textureCombinersSupported

Definition at line 418 of file OOOpenGLExtensionManager.m.

419{
420#if OO_MULTITEXTURE
422#else
423 return NO;
424#endif
425}

References textureCombinersSupported.

Referenced by textureCombinersSupported, and textureImageUnitCount.

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

◆ 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 427 of file OOOpenGLExtensionManager.m.

428{
429#if OO_MULTITEXTURE
430 return textureUnitCount;
431#else
432 return 0;
433#endif
434}

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

◆ useLineSmoothing

- (BOOL) useLineSmoothing

References useLineSmoothing.

◆ usePointSmoothing

References usePointSmoothing.

◆ vboSupported

- (BOOL) vboSupported

Definition at line 400 of file OOOpenGLExtensionManager.m.

401{
402#if OO_USE_VBO
403 return vboSupported;
404#else
405 return NO;
406#endif
407}

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 466 of file OOOpenGLExtensionManager.m.

467{
468 return vendor;
469}

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 461 of file OOOpenGLExtensionManager.m.

461 :(unsigned)maj minor:(unsigned)min
462{
463 return major > maj || (major == maj && minor >= min);
464}

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 128 of file OOOpenGLExtensionManager.h.

Referenced by defaultDetailLevel, and reset.

◆ extensions

- (NSSet*) extensions
private

Definition at line 114 of file OOOpenGLExtensionManager.h.

Referenced by dealloc, and reset.

◆ major

- (unsigned) major
private

◆ maximumShaderSetting

- (OOShaderSetting) maximumShaderSetting
private

Definition at line 129 of file OOOpenGLExtensionManager.h.

Referenced by maximumDetailLevel, and reset.

◆ minor

- (unsigned) minor
private

◆ release

◆ renderer

- (NSString*) renderer
private

Definition at line 117 of file OOOpenGLExtensionManager.h.

Referenced by dealloc, rendererString, and reset.

◆ shadersAvailable

- (BOOL) shadersAvailable
private

Definition at line 126 of file OOOpenGLExtensionManager.h.

Referenced by reset, and shadersSupported.

◆ shadersForceDisabled

- (BOOL) shadersForceDisabled
private

Definition at line 356 of file OOOpenGLExtensionManager.m.

357{
358#if OO_SHADERS
360#else
361 return YES;
362#endif
363}

Referenced by shadersForceDisabled.

◆ textureImageUnitCount

- (GLint) textureImageUnitCount
private

Definition at line 391 of file OOOpenGLExtensionManager.m.

392{
393#if OO_SHADERS
395#else
396 return 0;
397#endif
398}

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

◆ useDustShader

- (BOOL) useDustShader
private

Definition at line 486 of file OOOpenGLExtensionManager.m.

487{
488 return useDustShader;
489}

Referenced by reset, and useDustShader.

◆ useLineSmoothing

- (BOOL) useLineSmoothing
private

Definition at line 481 of file OOOpenGLExtensionManager.m.

482{
483 return useLineSmoothing;
484}

Referenced by reset, and useLineSmoothing.

◆ usePointSmoothing

- (BOOL) usePointSmoothing
private

Definition at line 476 of file OOOpenGLExtensionManager.m.

477{
478 return usePointSmoothing;
479}

Referenced by reset, and usePointSmoothing.

◆ vendor

- (NSString*) vendor
private

Definition at line 116 of file OOOpenGLExtensionManager.h.

Referenced by dealloc, reset, and vendorString.


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