Searched refs:deviceGamma (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/core/ |
D | SkMaskGamma.h | 110 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()
|
D | SkScalerContext.h | 231 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, 237 static void GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
|
D | SkPaint.cpp | 1519 … const SkMaskGamma& cachedMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) { in cachedMaskGamma() argument 1521 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cachedMaskGamma() 1527 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cachedMaskGamma() 1529 gMaskGamma = SkNEW_ARGS(SkMaskGamma, (contrast, paintGamma, deviceGamma)); in cachedMaskGamma() 1532 gDeviceGamma = deviceGamma; in cachedMaskGamma() 1785 SkScalar deviceGamma, int* width, int* height) { in GetGammaLUTSize() argument 1789 deviceGamma); in GetGammaLUTSize() 1797 void SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument 1802 deviceGamma); in GetGammaLUTData()
|
/external/skia/src/gpu/ |
D | GrAtlasTextContext.cpp | 162 SkScalar deviceGamma = gamma; in buildDistanceAdjustTable() local 164 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma, in buildDistanceAdjustTable() 171 SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get()); in buildDistanceAdjustTable()
|