Searched refs:dri2_ctx (Results 1 – 3 of 3) sorted by relevance
1130 dri2_fill_context_attribs(struct dri2_egl_context *dri2_ctx, in dri2_fill_context_attribs() argument1140 ctx_attribs[pos++] = dri2_ctx->base.ClientMajorVersion; in dri2_fill_context_attribs()1142 ctx_attribs[pos++] = dri2_ctx->base.ClientMinorVersion; in dri2_fill_context_attribs()1144 if (dri2_ctx->base.Flags != 0 || dri2_ctx->base.NoError) { in dri2_fill_context_attribs()1149 if ((dri2_ctx->base.Flags & EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR) != 0 in dri2_fill_context_attribs()1156 ctx_attribs[pos++] = dri2_ctx->base.Flags | in dri2_fill_context_attribs()1157 (dri2_ctx->base.NoError ? __DRI_CTX_FLAG_NO_ERROR : 0); in dri2_fill_context_attribs()1160 if (dri2_ctx->base.ResetNotificationStrategy != EGL_NO_RESET_NOTIFICATION_KHR) { in dri2_fill_context_attribs()1174 if (dri2_ctx->base.ContextPriority != EGL_CONTEXT_PRIORITY_MEDIUM_IMG) { in dri2_fill_context_attribs()1177 switch (dri2_ctx->base.ContextPriority) { in dri2_fill_context_attribs()[all …]
71 struct dri2_egl_context *dri2_ctx; in egl_dri3_get_dri_context() local74 dri2_ctx = dri2_egl_context(ctx); in egl_dri3_get_dri_context()75 return dri2_ctx->dri_context; in egl_dri3_get_dri_context()82 struct dri2_egl_context *dri2_ctx; in egl_dri3_get_dri_screen() local85 dri2_ctx = dri2_egl_context(ctx); in egl_dri3_get_dri_screen()86 return dri2_egl_display(dri2_ctx->base.Resource.Display)->dri_screen; in egl_dri3_get_dri_screen()
935 struct dri2_egl_context *dri2_ctx = dri2_egl_context(ctx); in dri2_wl_swap_buffers_with_damage() local936 dri2_dpy->image->blitImage(dri2_ctx->dri_context, in dri2_wl_swap_buffers_with_damage()