Lines Matching defs:criteria
126 /* criteria */
422 * Return true if a config matches the criteria. This and
430 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria)
441 cmp = _eglGetConfigKey(criteria, attr);
474 "the value (0x%x) of attribute 0x%04x did not meet the criteria (0x%x)",
500 * Initialize a criteria config from the given attribute list.
561 * Decide the ordering of conf1 and conf2, under the given criteria.
575 const _EGLConfig *criteria, EGLBoolean compare_id)
604 if (criteria) {
607 if (criteria->RedSize > 0) {
611 if (criteria->GreenSize > 0) {
615 if (criteria->BlueSize > 0) {
621 if (criteria->LuminanceSize > 0) {
626 if (criteria->AlphaSize > 0) {
632 /* assume the default criteria, which gives no specific ordering */
779 _EGLConfig criteria;
781 if (!_eglParseConfigAttribList(&criteria, disp, attrib_list))
787 (void *) &criteria);