Home
last modified time | relevance | path

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

/external/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())) {
/external/skqp/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())) {
/external/skqp/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.cpp84 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
87 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
93 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
95 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
97 gPaintGamma = paintGamma; in cached_mask_gamma()
114 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
118 paintGamma, in GetGammaLUTSize()
127 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
131 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,
/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.cpp113 static const SkMaskGamma& cached_mask_gamma(SkScalar contrast, SkScalar paintGamma, in cached_mask_gamma() argument
116 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cached_mask_gamma()
122 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cached_mask_gamma()
124 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cached_mask_gamma()
126 gPaintGamma = paintGamma; in cached_mask_gamma()
146 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
150 paintGamma, in GetGammaLUTSize()
159 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
163 paintGamma, in GetGammaLUTData()
DSkScalerContext.h287 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
295 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,