Lines Matching refs:context
60 OGLContext *oglc = (OGLContext*)cglinfo->context;
67 [ctxinfo->context clearDrawable];
68 [ctxinfo->context release];
144 * This is a globally shared context used when creating textures. When any
145 * new contexts are created, they specify this context as the "share list"
146 * context, which means any texture objects created when this shared context
147 * is current will be available to any other context in any other thread.
298 NSOpenGLContext *context =
302 if (context == nil) {
308 GLint contextVirtualScreen = [context currentVirtualScreen];
310 [context setView: scratchSurface];
312 [context
318 [context makeCurrentContext];
372 [context setValues: ¶ms forParameter: NSOpenGLCPSwapInterval];
382 ctxinfo->context = context;
410 cglinfo->context = oglc;
426 if ((cglinfo == NULL) || (cglinfo->context == NULL)) {
429 return cglinfo->context->caps;