Lines Matching defs:gc
52 struct glx_context *gc = NULL;
109 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs,
114 if (gc == NULL) {
116 gc = applegl_create_context(psc, cfg, share, 0);
118 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs,
141 gc ? gc->isDirect : direct,
147 if (gc)
148 gc->vtable->destroy(gc);
149 gc = NULL;
153 } else if (!gc) {
163 gc->xid = xid;
164 gc->share_xid = share_xid;
167 return (GLXContext) gc;