Home
last modified time | relevance | path

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

/external/skia/src/text/gpu/
DDistanceFieldAdjustTable.cpp18 SkScalar* build_distance_adjust_table(SkScalar paintGamma, SkScalar deviceGamma) {
63 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
70 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/external/skia/src/core/
DSkMaskGamma.h111 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
112 const SkColorSpaceLuminance& paintConvert = SkColorSpaceLuminance::Fetch(paintGamma); in SkTMaskGamma()
117 paintConvert, paintGamma, in SkTMaskGamma()
DSkScalerContext.cpp118 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
121 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
127 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
129 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
131 gPaintGamma = paintGamma; in cached_mask_gamma()
151 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
155 paintGamma, in GetGammaLUTSize()
164 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
168 paintGamma, in GetGammaLUTData()
DSkScalerContext.h297 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
305 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,