Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMaskGamma.h110 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
111 const SkColorSpaceLuminance& paintConvert = SkColorSpaceLuminance::Fetch(paintGamma); in SkTMaskGamma()
116 paintConvert, paintGamma, in SkTMaskGamma()
DSkScalerContext.h189 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
195 static void GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
DSkPaint.cpp1750 static const SkMaskGamma& cachedMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGa… in cachedMaskGamma() argument
1752 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cachedMaskGamma()
1758 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cachedMaskGamma()
1760 gMaskGamma = SkNEW_ARGS(SkMaskGamma, (contrast, paintGamma, deviceGamma)); in cachedMaskGamma()
1762 gPaintGamma = paintGamma; in cachedMaskGamma()
1983 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
1987 paintGamma, in GetGammaLUTSize()
1996 void SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
2000 paintGamma, in GetGammaLUTData()
/external/chromium_org/third_party/skia/src/core/
DSkMaskGamma.h110 SkTMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma) : fIsLinear(false) { in SkTMaskGamma() argument
111 const SkColorSpaceLuminance& paintConvert = SkColorSpaceLuminance::Fetch(paintGamma); in SkTMaskGamma()
116 paintConvert, paintGamma, in SkTMaskGamma()
DSkScalerContext.h187 static size_t GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
193 static void GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma,
DSkPaint.cpp1715 static const SkMaskGamma& cachedMaskGamma(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGa… in cachedMaskGamma() argument
1717 if (0 == contrast && SK_Scalar1 == paintGamma && SK_Scalar1 == deviceGamma) { in cachedMaskGamma()
1723 if (gContrast != contrast || gPaintGamma != paintGamma || gDeviceGamma != deviceGamma) { in cachedMaskGamma()
1725 gMaskGamma = SkNEW_ARGS(SkMaskGamma, (contrast, paintGamma, deviceGamma)); in cachedMaskGamma()
1727 gPaintGamma = paintGamma; in cachedMaskGamma()
1927 size_t SkScalerContext::GetGammaLUTSize(SkScalar contrast, SkScalar paintGamma, in GetGammaLUTSize() argument
1931 paintGamma, in GetGammaLUTSize()
1940 void SkScalerContext::GetGammaLUTData(SkScalar contrast, SkScalar paintGamma, SkScalar deviceGamma, in GetGammaLUTData() argument
1944 paintGamma, in GetGammaLUTData()
/external/skia/src/gpu/
DGrDistanceFieldTextContext.cpp408 SkScalar paintGamma = deviceProperties.fGamma; in setup_gamma_texture() local
411 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma, in setup_gamma_texture()
415 SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get()); in setup_gamma_texture()
/external/chromium_org/third_party/skia/src/gpu/
DGrDistanceFieldTextContext.cpp507 SkScalar paintGamma = deviceProperties.getGamma(); in setup_gamma_texture() local
510 size = SkScalerContext::GetGammaLUTSize(contrast, paintGamma, deviceGamma, in setup_gamma_texture()
514 SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get()); in setup_gamma_texture()