Home
last modified time | relevance | path

Searched refs:gGammaTables (Results 1 – 2 of 2) sorted by relevance

/external/skia/legacy/src/ports/
DSkFontHost_FreeType.cpp110 static const uint8_t* gGammaTables[2]; variable
679 if (gGammaTables[0] || gGammaTables[1]) { in FilterRec()
726 SkFontHost::GetGammaTables(gGammaTables); in SkScalerContext_FreeType()
1250 static uint8_t gGammaTables[4][256]; in getGammaTable() local
1253 build_gamma_table(gGammaTables[0], 0x00, 0xFF); in getGammaTable()
1254 build_gamma_table(gGammaTables[1], 0x66, 0x99); in getGammaTable()
1255 build_gamma_table(gGammaTables[2], 0x99, 0x66); in getGammaTable()
1256 build_gamma_table(gGammaTables[3], 0xFF, 0x00); in getGammaTable()
1261 return gGammaTables[luminance >> 6]; in getGammaTable()
1378 if ((gGammaTables[0] || gGammaTables[1]) && (isBlack || isWhite)) { in generateImage()
[all …]
DSkFontHost_mac_coretext.cpp1081 static uint8_t gGammaTables[4][256]; in getGammaTable() local
1089 build_power_table(gGammaTables[i], 1/g); in getGammaTable()
1092 build_power_table(gGammaTables[0], 1); in getGammaTable()
1093 build_power_table(gGammaTables[1], 1); in getGammaTable()
1094 build_power_table(gGammaTables[2], 1); in getGammaTable()
1095 build_power_table(gGammaTables[3], 1); in getGammaTable()
1100 return gGammaTables[luminance >> 6]; in getGammaTable()