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()
1367 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in compute_canonical_color() local1382 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in compute_canonical_color()1383 SkColorGetG(canonicalColor), in compute_canonical_color()1384 SkColorGetB(canonicalColor)); in compute_canonical_color()1386 canonicalColor = SkMaskGamma::CanonicalColor(SkColorSetRGB(lum, lum, lum)); in compute_canonical_color()1388 return canonicalColor; in compute_canonical_color()1420 GrColor canonicalColor = compute_canonical_color(paint, hasLCD); in Make() local1434 key.fCanonicalColor = canonicalColor; in Make()
662 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local669 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()