Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp14 SkScalar* build_distance_adjust_table(SkScalar paintGamma, SkScalar deviceGamma) {
59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/third_party/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp14 SkScalar* build_distance_adjust_table(SkScalar paintGamma, SkScalar deviceGamma) {
59 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
66 if (!SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get())) {
/third_party/flutter/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.cpp116 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
119 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
125 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
127 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
129 gPaintGamma = paintGamma; in cached_mask_gamma()
149 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
153 paintGamma, in GetGammaLUTSize()
162 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
166 paintGamma, in GetGammaLUTData()
DSkScalerContext.h281 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
289 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
/third_party/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.cpp116 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
119 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
125 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
127 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
129 gPaintGamma = paintGamma; in cached_mask_gamma()
149 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
153 paintGamma, in GetGammaLUTSize()
162 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
166 paintGamma, in GetGammaLUTData()
DSkScalerContext.h302 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
310 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,