Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrDistanceFieldAdjustTable.cpp59 SkScalar deviceGamma = SK_GAMMA_EXPONENT; local
61 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma,
68 SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get());
/external/skia/src/core/
DSkMaskGamma.h110 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
112 const SkColorSpaceLuminance& deviceConvert = SkColorSpaceLuminance::Fetch(deviceGamma); in SkTMaskGamma()
117 deviceConvert, deviceGamma); in SkTMaskGamma()
DSkScalerContext.h231 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
237 static void GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
DSkPaint.cpp1507 … const SkMaskGamma& cachedMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) { in cachedMaskGamma() argument
1509 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cachedMaskGamma()
1515 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cachedMaskGamma()
1517 gMaskGamma = new SkMaskGamma(contrast, paintGamma, deviceGamma); in cachedMaskGamma()
1520 gDeviceGamma = deviceGamma; in cachedMaskGamma()
1766 SkScalar deviceGamma, int* width, int* height) { in GetGammaLUTSize() argument
1770 deviceGamma); in GetGammaLUTSize()
1778 void SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
1783 deviceGamma); in GetGammaLUTData()