Lines Matching defs:context
245 struct haiku_egl_context* context;
246 context = (struct haiku_egl_context*) calloc(1, sizeof (*context));
247 if (!context) {
252 if (!_eglInitContext(&context->ctx, disp, conf, attrib_list))
256 return &context->ctx;
259 free(context);
268 struct haiku_egl_context* context = haiku_egl_context(ctx);
271 // XXX: teardown the context ?
272 free(context);