Lines Matching defs:context
35 * screen initialization, context creation, context binding, DRM setup, etc.
453 __DRIcontext *context;
537 /* We can't create a context that satisfies the requirements of an
559 * EGL_CONTEXT_FLAGS_KHR, then a <debug context> will be created.
562 * No other EGL_CONTEXT_OPENGL_*_BIT is legal for an ES context.
564 * However, Mesa's EGL layer translates the context attribute
565 * EGL_CONTEXT_OPENGL_ROBUST_ACCESS into the context flag
578 * EGL_TRUE, a context supporting robust buffer access will be created.
601 * In Mesa, a debug context is the same as a regular context.
622 context = calloc(1, sizeof *context);
623 if (!context) {
628 context->loaderPrivate = data;
630 context->driScreenPriv = screen;
631 context->driDrawablePriv = NULL;
632 context->driReadablePriv = NULL;
634 if (!dri_create_context(mesa_api, modes, context, &ctx_config, error,
636 free(context);
641 return context;
664 * Destroy the per-context private information.
716 /* Bind the drawable to the context */
731 * Unbind context.
734 * \param gc context.