Lines Matching defs:conf1
581 * Decide the ordering of conf1 and conf2, under the given criteria.
586 * It returns a negative integer if conf1 is considered to come
588 * before conf1; zero if the ordering cannot be decided.
594 _eglCompareConfigs(const _EGLConfig *conf1, const _EGLConfig *conf2,
608 if (conf1 == conf2)
614 val1 = conf1->ConfigCaveat - conf2->ConfigCaveat;
620 val1 = conf1->ColorBufferType - conf2->ColorBufferType;
626 if (conf1->ColorBufferType == EGL_RGB_BUFFER) {
628 val1 += conf1->RedSize;
632 val1 += conf1->GreenSize;
636 val1 += conf1->BlueSize;
642 val1 += conf1->LuminanceSize;
647 val1 += conf1->AlphaSize;
661 val1 = _eglGetConfigKey(conf1, compare_attribs[i]);
669 return (compare_id) ? (conf1->ConfigID - conf2->ConfigID) : 0;
674 void _eglSwapConfigs(const _EGLConfig **conf1, const _EGLConfig **conf2)
676 const _EGLConfig *tmp = *conf1;
677 *conf1 = *conf2;
781 _eglFallbackCompare(const _EGLConfig *conf1, const _EGLConfig *conf2,
784 return _eglCompareConfigs(conf1, conf2,