#include <OOGraphicsResetManager.h>
Definition at line 45 of file OOGraphicsResetManager.h.
◆ allocWithZone:
+ (id) allocWithZone: |
|
(NSZone *) | inZone |
|
|
implementation |
◆ autorelease
◆ copyWithZone:
- (id) copyWithZone: |
|
(NSZone *) | inZone |
|
|
implementation |
◆ dealloc
◆ registerClient:
Definition at line 33 of file OOGraphicsResetManager.m.
54 :(id<OOGraphicsResetClient>)client
55{
57 {
59 [clients addObject:[NSValue valueWithPointer:client]];
60 }
61}
◆ release
◆ resetGraphicsState
- (void) resetGraphicsState |
|
|
|
Definition at line 33 of file OOGraphicsResetManager.m.
71{
72 NSEnumerator *clientEnum =
nil;
74
76
77 OOLog(
@"rendering.reset.start",
@"%@",
@"Resetting graphics state.");
79
82
83 for (clientEnum = [
clients objectEnumerator]; (client = [[clientEnum nextObject] pointerValue]); )
84 {
85 @try
86 {
87 [client resetGraphicsState];
88 }
89 @catch (NSException *exception)
90 {
91 OOLog(
kOOLogException,
@"***** EXCEPTION -- %@ : %@ -- ignored during graphics reset.", [exception name], [exception reason]);
92 }
93 }
94
96 OOLog(
@"rendering.reset.end",
@"%@",
@"End of graphics state reset.");
97}
NSString *const kOOLogException
#define OOLogOutdentIf(class)
#define OOLog(class, format,...)
#define OOLogIndentIf(class)
OOOpenGLExtensionManager * sharedManager()
◆ retain
◆ retainCount
- (NSUInteger) retainCount |
|
|
|
|
implementation |
◆ sharedManager
◆ unregisterClient:
Definition at line 33 of file OOGraphicsResetManager.m.
64 :(id<OOGraphicsResetClient>)client
65{
66 [clients removeObject:[NSValue valueWithPointer:client]];
67}
◆ clients
- (NSMutableSet*) clients |
|
private |
The documentation for this class was generated from the following files: