Lines Matching defs:attribs
1001 const struct st_context_attribs *attribs,
1013 if (!(stapi->profile_mask & (1 << attribs->profile)))
1016 switch (attribs->profile) {
1034 _mesa_initialize(attribs->options.mesa_extension_override);
1051 if (attribs->flags & ST_CONTEXT_FLAG_ROBUST_ACCESS)
1054 if (attribs->flags & ST_CONTEXT_FLAG_NO_ERROR)
1057 if (attribs->flags & ST_CONTEXT_FLAG_LOW_PRIORITY)
1059 else if (attribs->flags & ST_CONTEXT_FLAG_HIGH_PRIORITY)
1062 if (attribs->flags & ST_CONTEXT_FLAG_RESET_NOTIFICATION_ENABLED)
1071 st_visual_to_context_mode(&attribs->visual, &mode);
1072 if (attribs->visual.color_format == PIPE_FORMAT_NONE)
1075 &attribs->options, no_error,
1083 if (attribs->flags & ST_CONTEXT_FLAG_DEBUG) {
1096 if (attribs->flags & ST_CONTEXT_FLAG_FORWARD_COMPATIBLE)
1098 if (attribs->flags & ST_CONTEXT_FLAG_ROBUST_ACCESS) {
1102 if (attribs->flags & ST_CONTEXT_FLAG_RESET_NOTIFICATION_ENABLED) {
1107 if (attribs->flags & ST_CONTEXT_FLAG_RELEASE_NONE)
1111 if (attribs->major > 1 || attribs->minor > 0) {
1114 if (st->ctx->Version < attribs->major * 10U + attribs->minor) {