Lines Matching refs:val1
585 EGLint val1, val2; in _eglCompareConfigs() local
594 val1 = conf1->ConfigCaveat - conf2->ConfigCaveat; in _eglCompareConfigs()
595 if (val1) in _eglCompareConfigs()
596 return val1; in _eglCompareConfigs()
600 val1 = conf1->ColorBufferType - conf2->ColorBufferType; in _eglCompareConfigs()
601 if (val1) in _eglCompareConfigs()
602 return val1; in _eglCompareConfigs()
605 val1 = val2 = 0; in _eglCompareConfigs()
608 val1 += conf1->RedSize; in _eglCompareConfigs()
612 val1 += conf1->GreenSize; in _eglCompareConfigs()
616 val1 += conf1->BlueSize; in _eglCompareConfigs()
622 val1 += conf1->LuminanceSize; in _eglCompareConfigs()
627 val1 += conf1->AlphaSize; in _eglCompareConfigs()
633 val1 = val2 = 0; in _eglCompareConfigs()
637 if (val1 != val2) in _eglCompareConfigs()
638 return (val2 - val1); in _eglCompareConfigs()
641 val1 = _eglGetConfigKey(conf1, compare_attribs[i]); in _eglCompareConfigs()
643 if (val1 != val2) in _eglCompareConfigs()
644 return (val1 - val2); in _eglCompareConfigs()