Home
last modified time | relevance | path

Searched refs:dri2_ctx (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c713 struct dri2_egl_context *dri2_ctx; in dri2_create_context() local
724 dri2_ctx = malloc(sizeof *dri2_ctx); in dri2_create_context()
725 if (!dri2_ctx) { in dri2_create_context()
730 if (!_eglInitContext(&dri2_ctx->base, disp, conf, attrib_list)) in dri2_create_context()
733 switch (dri2_ctx->base.ClientAPI) { in dri2_create_context()
735 switch (dri2_ctx->base.ClientMajorVersion) { in dri2_create_context()
749 if ((dri2_ctx->base.ClientMajorVersion >= 4 in dri2_create_context()
750 || (dri2_ctx->base.ClientMajorVersion == 3 in dri2_create_context()
751 && dri2_ctx->base.ClientMinorVersion >= 2)) in dri2_create_context()
752 && dri2_ctx->base.Profile == EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR) in dri2_create_context()
[all …]