Lines Matching refs:ctxinfo
64 CGLCtxInfo *ctxinfo = (CGLCtxInfo *)oglc->ctxInfo;
65 if (ctxinfo != NULL) {
67 [ctxinfo->context clearDrawable];
68 [ctxinfo->context release];
69 if (ctxinfo->scratchSurface != 0) {
70 [ctxinfo->scratchSurface release];
72 free(ctxinfo);
374 CGLCtxInfo *ctxinfo = (CGLCtxInfo *)malloc(sizeof(CGLCtxInfo));
375 if (ctxinfo == NULL) {
376 J2dRlsTraceLn(J2D_TRACE_ERROR, "CGLGC_InitOGLContext: could not allocate memory for ctxinfo");
381 memset(ctxinfo, 0, sizeof(CGLCtxInfo));
382 ctxinfo->context = context;
383 ctxinfo->scratchSurface = scratchSurface;
389 free(ctxinfo);
394 oglc->ctxInfo = ctxinfo;
403 free(ctxinfo);