Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c357 GLint maxSum = -1; /* small enough */ in fxt1_choose() local
398 if (maxSum < sum) { in fxt1_choose()
399 maxSum = sum; in fxt1_choose()
637 GLint maxSum; in fxt1_quantize_ALPHA1() local
649 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
659 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
660 maxSum = sum; in fxt1_quantize_ALPHA1()
672 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()
682 if (maxSum < sum) { in fxt1_quantize_ALPHA1()
683 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()