Searched refs:canonicalColor (Results 1 – 3 of 3) sorted by relevance
53 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in ComputeCanonicalColor() local64 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in ComputeCanonicalColor()65 SkColorGetG(canonicalColor), in ComputeCanonicalColor()66 SkColorGetB(canonicalColor)); in ComputeCanonicalColor()68 canonicalColor = SkMaskGamma::CanonicalColor(SkColorSetRGB(lum, lum, lum)); in ComputeCanonicalColor()70 return canonicalColor; in ComputeCanonicalColor()
1375 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in compute_canonical_color() local1390 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in compute_canonical_color()1391 SkColorGetG(canonicalColor), in compute_canonical_color()1392 SkColorGetB(canonicalColor)); in compute_canonical_color()1394 canonicalColor = SkMaskGamma::CanonicalColor(SkColorSetRGB(lum, lum, lum)); in compute_canonical_color()1396 return canonicalColor; in compute_canonical_color()1428 GrColor canonicalColor = compute_canonical_color(paint, hasLCD); in Make() local1442 key.fCanonicalColor = canonicalColor; in Make()
662 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local669 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()