Lines Matching refs:criteria
438 * Return true if a config matches the criteria. This and
446 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria)
457 cmp = _eglGetConfigKey(criteria, attr);
490 "the value (0x%x) of attribute 0x%04x did not meet the criteria (0x%x)",
520 * Initialize a criteria config from the given attribute list.
581 * Decide the ordering of conf1 and conf2, under the given criteria.
595 const _EGLConfig *criteria, EGLBoolean compare_id)
624 if (criteria) {
627 if (criteria->RedSize > 0) {
631 if (criteria->GreenSize > 0) {
635 if (criteria->BlueSize > 0) {
641 if (criteria->LuminanceSize > 0) {
646 if (criteria->AlphaSize > 0) {
652 /* assume the default criteria, which gives no specific ordering */
796 _EGLConfig criteria;
799 if (!_eglParseConfigAttribList(&criteria, disp, attrib_list))
805 (void *) &criteria);