Home | History | Annotate | Download | only in bench

Lines Matching defs:colors

44             SkPMColor colors[4];
48 colors[i] = SkPreMultiplyColor(lcg_rand(&seed));
51 // But it's a lot faster not to, and this code won't really mind the non-PM colors.
53 colors[0] = seed + 0;
54 colors[1] = seed + 1;
55 colors[2] = seed + 2;
56 colors[3] = seed + 3;
61 SkPMFloat::From4PMColors(colors, &fa, &fb, &fc, &fd);
63 fa = SkPMFloat::FromPMColor(colors[0]);
64 fb = SkPMFloat::FromPMColor(colors[1]);
65 fc = SkPMFloat::FromPMColor(colors[2]);
66 fd = SkPMFloat::FromPMColor(colors[3]);