Lines Matching refs:mOpenGLContext
58 if (mOpenGLContext) {
62 ::CGLSetCurrentContext(mOpenGLContext);
77 ::CGLDestroyContext((CGLContextObj)mOpenGLContext);
87 mOpenGLContext = nullptr;
122 if (::CGLCreateContext(format, nullptr, &mOpenGLContext) != kCGLNoError) {
130 CARenderer* caRenderer = [[CARenderer rendererWithCGLContext:mOpenGLContext options:nil] retain];
196 ::CGLSetCurrentContext(mOpenGLContext);
204 ::CGLTexImageIOSurface2D(mOpenGLContext, GL_TEXTURE_RECTANGLE_ARB, GL_RGBA,
333 ::CGLSetCurrentContext(mOpenGLContext);
335 ::CGLTexImageIOSurface2D(mOpenGLContext, GL_TEXTURE_RECTANGLE_ARB, GL_RGBA,
411 ::CGLSetCurrentContext(mOpenGLContext);