Lines Matching defs:attribs
515 dri_convert_glx_attribs(unsigned num_attribs, const uint32_t *attribs,
534 if (attribs == NULL)
538 switch (attribs[i * 2]) {
540 dca->major_ver = attribs[i * 2 + 1];
543 dca->minor_ver = attribs[i * 2 + 1];
546 dca->flags = attribs[i * 2 + 1];
549 dca->no_error = attribs[i * 2 + 1];
552 profile = attribs[i * 2 + 1];
555 dca->render_type = attribs[i * 2 + 1];
558 switch (attribs[i * 2 + 1]) {
570 switch (attribs[i * 2 + 1]) {
668 uint32_t attribs[2] = { GLX_RENDER_TYPE, renderType };
671 1, attribs, &error);