Searched refs:colorDiff (Results 1 – 6 of 6) sorted by relevance
231 unsigned int colorDiff, leastColorDiff = UINT_MAX; in _glfwChooseVideoMode() local242 colorDiff = 0; in _glfwChooseVideoMode()245 colorDiff += abs(current->redBits - desired->redBits); in _glfwChooseVideoMode()247 colorDiff += abs(current->greenBits - desired->greenBits); in _glfwChooseVideoMode()249 colorDiff += abs(current->blueBits - desired->blueBits); in _glfwChooseVideoMode()261 if ((colorDiff < leastColorDiff) || in _glfwChooseVideoMode()262 (colorDiff == leastColorDiff && sizeDiff < leastSizeDiff) || in _glfwChooseVideoMode()263 (colorDiff == leastColorDiff && sizeDiff == leastSizeDiff && rateDiff < leastRateDiff)) in _glfwChooseVideoMode()268 leastColorDiff = colorDiff; in _glfwChooseVideoMode()
163 unsigned int colorDiff, leastColorDiff = UINT_MAX; in _glfwChooseFBConfig() local217 colorDiff = 0; in _glfwChooseFBConfig()221 colorDiff += (desired->redBits - current->redBits) * in _glfwChooseFBConfig()227 colorDiff += (desired->greenBits - current->greenBits) * in _glfwChooseFBConfig()233 colorDiff += (desired->blueBits - current->blueBits) * in _glfwChooseFBConfig()302 if ((colorDiff < leastColorDiff) || in _glfwChooseFBConfig()303 (colorDiff == leastColorDiff && extraDiff < leastExtraDiff)) in _glfwChooseFBConfig()312 leastColorDiff = colorDiff; in _glfwChooseFBConfig()
826 const UVec4 colorDiff = ulpDiff(color, subCase.varying); in runCase() local827 const bool colorOk = boolAll(lessThanEqual(colorDiff, tcu::UVec4(maxColorUlpDiff))); in runCase()844 << " color ulp diff = " << colorDiff in runCase()
321 const tcu::IVec4 colorDiff = tcu::abs(col.toIVec() - refCol.toIVec()); in drawTestPattern() local323 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern()324 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern()325 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()
1475 vint4 colorDiff = colorRef - colorTest; in compress_block() local1476 colorSumDiff += colorDiff * colorDiff; in compress_block()
329 const tcu::IVec4 colorDiff = tcu::abs(col.toIVec() - refCol.toIVec()); in drawTestPattern() local331 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern()332 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern()333 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()