Lines Matching defs:dca
516 struct dri_ctx_attribs *dca)
521 dca->major_ver = 1;
522 dca->minor_ver = 0;
523 dca->render_type = GLX_RGBA_TYPE;
524 dca->reset = __DRI_CTX_RESET_NO_NOTIFICATION;
525 dca->release = __DRI_CTX_RELEASE_BEHAVIOR_FLUSH;
526 dca->flags = 0;
527 dca->api = __DRI_API_OPENGL;
528 dca->no_error = 0;
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];
555 dca->render_type = attribs[i * 2 + 1];
560 dca->reset = __DRI_CTX_RESET_NO_NOTIFICATION;
563 dca->reset = __DRI_CTX_RESET_LOSE_CONTEXT;
572 dca->release = __DRI_CTX_RELEASE_BEHAVIOR_NONE;
575 dca->release = __DRI_CTX_RELEASE_BEHAVIOR_FLUSH;
583 dca->render_type = GLX_DONT_CARE;
601 dca->api = (dca->major_ver > 3 || (dca->major_ver == 3 && dca->minor_ver >= 2))
605 dca->api = __DRI_API_OPENGL;
608 if (dca->major_ver >= 3)
609 dca->api = __DRI_API_GLES3;
610 else if (dca->major_ver == 2 && dca->minor_ver == 0)
611 dca->api = __DRI_API_GLES2;
612 else if (dca->major_ver == 1 && dca->minor_ver < 2)
613 dca->api = __DRI_API_GLES;
623 if (dca->flags & ~(__DRI_CTX_FLAG_DEBUG |
635 if (dca->major_ver < 3 && (dca->flags & __DRI_CTX_FLAG_FORWARD_COMPATIBLE) != 0)
638 if (dca->major_ver >= 3 && dca->render_type == GLX_COLOR_INDEX_TYPE)
645 if (dca->no_error && dca->major_ver < 2)
654 if (dca->no_error && ((dca->flags & __DRI_CTX_FLAG_DEBUG) ||
655 (dca->flags & __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS)))