Home
last modified time | relevance | path

Searched refs:deviceGamma (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
113 const SkColorSpaceLuminance& deviceConvert = SkColorSpaceLuminance::Fetch(deviceGamma); in SkTMaskGamma()
118 deviceConvert, deviceGamma); in SkTMaskGamma()
DSkScalerContext.cpp85 SkScalar deviceGamma) { 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()
98 gDeviceGamma = deviceGamma; in cached_mask_gamma()
115 SkScalar deviceGamma, int* width, int* height) { in GetGammaLUTSize() argument
119 deviceGamma); in GetGammaLUTSize()
127 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
132 deviceGamma); 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
113 const SkColorSpaceLuminance& deviceConvert = SkColorSpaceLuminance::Fetch(deviceGamma); in SkTMaskGamma()
118 deviceConvert, deviceGamma); in SkTMaskGamma()
DSkScalerContext.cpp114 SkScalar deviceGamma) { 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()
127 gDeviceGamma = deviceGamma; in cached_mask_gamma()
147 SkScalar deviceGamma, int* width, int* height) { in GetGammaLUTSize() argument
151 deviceGamma); in GetGammaLUTSize()
159 bool SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
164 deviceGamma); in GetGammaLUTData()
DSkScalerContext.h287 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
295 static bool GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,