Home
last modified time | relevance | path

Searched refs:canonicalColor (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/text/
DGrTextContext.cpp53 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in ComputeCanonicalColor() local
64 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()
/external/skia/src/gpu/text/
DGrTextContext.cpp58 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in ComputeCanonicalColor() local
69 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()
/external/skia/src/core/
DSkGlyphRunPainter.cpp317 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local
324 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp546 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local
553 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()