Lines Matching refs:context_obj
148 ac->context_obj = NULL;
165 sharedac ? sharedac->context_obj : NULL,
166 &ac->context_obj);
201 apple_glx_diagnostic("%s: ac %p ac->context_obj %p\n",
202 __func__, (void *) ac, (void *) ac->context_obj);
217 apple_glx_diagnostic("%s: ac %p ac->context_obj %p\n",
218 __func__, (void *) ac, (void *) ac->context_obj);
220 if (apple_cgl.get_current_context() == ac->context_obj) {
221 apple_glx_diagnostic("%s: context ac->context_obj %p "
223 (void *) ac->context_obj);
246 if (apple_cgl.clear_drawable(ac->context_obj)) {
267 if (apple_cgl.destroy_context(ac->context_obj)) {
268 fprintf(stderr, "error: destroying context_obj in %s\n", __func__);
295 apple_glx_diagnostic("%s: oldac->context_obj %p ac->context_obj %p\n",
297 (void *) (oldac ? oldac->context_obj : NULL),
298 (void *) (ac ? ac->context_obj : NULL));
335 /* Clear the current drawable for this context_obj. */
337 if (apple_cgl.set_current_context(ac->context_obj))
340 if (apple_cgl.clear_drawable(ac->context_obj))
428 cglerr = apple_cgl.set_current_context(ac->context_obj);
438 assert(NULL != ac->context_obj);
510 err = apple_cgl.copy_context(src->context_obj, dest->context_obj,
542 xp_update_gl_context(ac->context_obj);
573 xp_update_gl_context(ac->context_obj);
582 apple_cgl.clear_drawable(ac->context_obj);