Lines Matching defs:attribs
73 struct st_context_attribs attribs;
76 memset(&attribs, 0, sizeof(attribs));
79 attribs.profile = ST_PROFILE_OPENGL_ES1;
82 attribs.profile = ST_PROFILE_OPENGL_ES2;
85 attribs.profile = ST_PROFILE_DEFAULT;
86 attribs.major = major_version;
87 attribs.minor = minor_version;
90 attribs.flags |= ST_CONTEXT_FLAG_DEBUG;
93 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE;
117 dri_fill_st_options(&attribs.options, &ctx->optionCache);
118 dri_fill_st_visual(&attribs.visual, screen, visual);
119 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err,