src/java.desktop/share/native/libfontmanager/DrawGlyphList.c
branchihse-warnings-cflags-branch
changeset 56230 489867818774
parent 47216 71c04702a3d5
equal deleted inserted replaced
56229:0015bf3a82e0 56230:489867818774
   859 
   859 
   860 /* Since our default is 140, here we can populate that from pre-calculated
   860 /* Since our default is 140, here we can populate that from pre-calculated
   861  * data, it needs only 512 bytes - plus a few more of overhead - and saves
   861  * data, it needs only 512 bytes - plus a few more of overhead - and saves
   862  * about that many intrinsic function calls plus other FP calculations.
   862  * about that many intrinsic function calls plus other FP calculations.
   863  */
   863  */
   864 void initLCDGammaTables() {
   864 void initLCDGammaTables(void) {
   865    memset(lcdGammaLUT, 0,  LCDLUTCOUNT * sizeof(UInt8*));
   865    memset(lcdGammaLUT, 0,  LCDLUTCOUNT * sizeof(UInt8*));
   866    memset(lcdInvGammaLUT, 0, LCDLUTCOUNT * sizeof(UInt8*));
   866    memset(lcdInvGammaLUT, 0, LCDLUTCOUNT * sizeof(UInt8*));
   867 /*    printDefaultTables(140); */
   867 /*    printDefaultTables(140); */
   868    lcdGammaLUT[40] = defaultGammaLUT;
   868    lcdGammaLUT[40] = defaultGammaLUT;
   869    lcdInvGammaLUT[40] = defaultInvGammaLUT;
   869    lcdInvGammaLUT[40] = defaultInvGammaLUT;