Home
last modified time | relevance | path

Searched refs:maxSum (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c385 GLint maxSum = -1; /* small enough */ in fxt1_choose() local
426 if (maxSum < sum) { in fxt1_choose()
427 maxSum = sum; in fxt1_choose()
665 GLint maxSum; in fxt1_quantize_ALPHA1() local
677 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
687 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
688 maxSum = sum; in fxt1_quantize_ALPHA1()
700 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
710 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
711 maxSum = sum; in fxt1_quantize_ALPHA1()
[all …]
/external/skia/gm/
Daaxfermodes.cpp206 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local
211 if (maxSum > 255) { in setupShapePaint()
217 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()
218 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()