Home
last modified time | relevance | path

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

/third_party/flutter/skia/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()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1367 SkColor canonicalColor = SkPaintPriv::ComputeLuminanceColor(paint); in compute_canonical_color() local
1382 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() local
1434 key.fCanonicalColor = canonicalColor; in Make()
/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.cpp662 GrColor canonicalColor = hasLCD ? SK_ColorTRANSPARENT : in drawGlyphRunList() local
669 key.fCanonicalColor = canonicalColor; in drawGlyphRunList()