Searched refs:canonicalColor (Results 1 – 4 of 4) 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()
58 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in ComputeCanonicalColor() local69 U8CPU lum = SkComputeLuminance(SkColorGetR(canonicalColor), in ComputeCanonicalColor()70 SkColorGetG(canonicalColor), in ComputeCanonicalColor()71 SkColorGetB(canonicalColor)); in ComputeCanonicalColor()73 canonicalColor = SkMaskGamma::CanonicalColor(SkColorSetRGB(lum, lum, lum)); in ComputeCanonicalColor()75 return canonicalColor; in ComputeCanonicalColor()
317 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local324 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()
546 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local553 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()