Lines Matching refs:fGLContext
39 NSOpenGLContext* fGLContext;
48 , fGLContext(nil) {
63 [fGLContext release];
64 fGLContext = nil;
70 if (!fGLContext) {
107 fGLContext = [[NSOpenGLContext alloc] initWithFormat:fPixelFormat shareContext:nil];
108 if (nil == fGLContext) {
115 [fGLContext setView:fMainView];
119 [fGLContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];
122 [fGLContext makeCurrentContext];
147 if (fGLContext && fSampleCount != fDisplayParams.fMSAASampleCount) {
153 [fGLContext flushBuffer];
157 [fGLContext update];