Home
last modified time | relevance | path

Searched refs:SkMaskGamma (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/core/
DSkScalerContext.cpp84 , fPreBlend(fMaskFilter ? SkMaskGamma::PreBlend() : SkScalerContext::GetMaskPreBlend(fRec)) in SkScalerContext()
106 static SkMaskGamma* gLinearMaskGamma = nullptr;
107 static SkMaskGamma* gMaskGamma = nullptr;
116 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma()
121 gLinearMaskGamma = new SkMaskGamma; in cached_mask_gamma()
127 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
138 SkMaskGamma::PreBlend SkScalerContext::GetMaskPreBlend(const SkScalerContextRec& rec) { in GetMaskPreBlend()
141 const SkMaskGamma& maskGamma = cached_mask_gamma(rec.getContrast(), in GetMaskPreBlend()
152 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTSize()
165 const SkMaskGamma& maskGamma = cached_mask_gamma(contrast, in GetGammaLUTData()
[all …]
DSkScalerContext.h238 typedef SkTMaskGamma<3, 3, 3> SkMaskGamma; typedef
348 static SkMaskGamma::PreBlend GetMaskPreBlend(const SkScalerContextRec& rec);
431 const SkMaskGamma::PreBlend fPreBlend;
DBUILD.bazel194 "SkMaskGamma.cpp",
195 "SkMaskGamma.h",
/third_party/skia/tools/
Dblob_cache_sim.cpp38 SkColor c = SkMaskGamma::CanonicalColor(paint.getColor()); in main()
/third_party/skia/gn/
Dcore.gni266 "$_src/core/SkMaskGamma.cpp",
267 "$_src/core/SkMaskGamma.h",
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1392 canonicalColor = SkMaskGamma::CanonicalColor(SkColorSetRGB(lum, lum, lum)); in compute_canonical_color()