Lines Matching refs:NSOpenGLContext

61  *   other third party GUI), overwrite our NSOpenGLContext. So we always ask if
242 static NSOpenGLContext *vboxCtxGetCurrent(void)
245 return [NSOpenGLContext currentContext];
264 NSOpenGLContext *pCtx = [NSOpenGLContext currentContext];
279 [NSOpenGLContext clearCurrentContext];
294 NSOpenGLContext *pCtx;
300 static void vboxCtxEnter(NSOpenGLContext *pNewCtx, PVBOX_CR_RENDER_CTX_INFO pCtxInfo)
302 NSOpenGLContext *pOldCtx = vboxCtxGetCurrent();
334 NSOpenGLContext *pOldCtx = pCtxInfo->pCtx;
358 NSOpenGLContext *pTstOldCtx = [NSOpenGLContext currentContext];
367 [NSOpenGLContext clearCurrentContext];
380 @interface OverlayOpenGLContext: NSOpenGLContext
766 NSOpenGLContext *m_pGLCtx;
767 NSOpenGLContext *m_pSharedGLCtx;
810 - (void)setGLCtx:(NSOpenGLContext*)pCtx;
811 - (NSOpenGLContext *)glCtx;
1080 -(id)initWithFormat:(NSOpenGLPixelFormat *)format shareContext:(NSOpenGLContext *)share
1439 - (void)setGLCtx:(NSOpenGLContext *)pCtx
1467 - (NSOpenGLContext *)glCtx
1673 pCurCtx = [NSOpenGLContext currentContext];
1980 NSOpenGLContext *pPrevCtx = [NSOpenGLContext currentContext];
1984 implicitly, seemingly NSOpenGLContext::makeCurrentContext doesn't. */
2012 Assert([NSOpenGLContext currentContext] == m_pGLCtx);
2069 NSOpenGLContext *pSharedGLCtx = [[NSOpenGLContext alloc] initWithFormat:pPixelFormat shareContext:m_pGLCtx];
3098 NSOpenGLContext *pCtx;
3146 implicitly, seemingly NSOpenGLContext::makeCurrentContext doesn't. */
3147 if ([NSOpenGLContext currentContext] != nil)
3154 [NSOpenGLContext clearCurrentContext];