--- old/src/java.desktop/share/native/libawt/java2d/loops/LoopMacros.h 2016-04-20 14:20:33.342727059 +0530 +++ new/src/java.desktop/share/native/libawt/java2d/loops/LoopMacros.h 2016-04-20 14:20:33.134727059 +0530 @@ -907,6 +907,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## SRC ## LoadVars(SrcRead) \ Declare ## DST ## StoreVars(DstWrite) \ \ @@ -932,6 +933,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## DST ## StoreVars(DstWrite) \ Declare ## LUT_STRATEGY ## Lut(SRC, DST, pixLut) \ \ @@ -963,6 +965,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## SRC ## LoadVars(SrcRead) \ Declare ## DST ## StoreVars(DstWrite) \ \ @@ -992,6 +995,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## DST ## StoreVars(DstWrite) \ Declare ## LUT_STRATEGY ## Lut(SRC, DST, pixLut) \ \ @@ -1022,6 +1026,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## SRC ## LoadVars(SrcRead) \ Declare ## DST ## StoreVars(DstWrite) \ \ @@ -1049,6 +1054,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## DST ## StoreVars(DstWrite) \ Declare ## LUT_STRATEGY ## XparLut(SRC, DST, pixLut) \ \ @@ -1081,6 +1087,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## DST ## StoreVars(DstWrite) \ Declare ## LUT_STRATEGY ## XparLut(SRC, DST, pixLut) \ \ @@ -1115,6 +1122,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## SRC ## LoadVars(SrcRead) \ Declare ## DST ## StoreVars(DstWrite) \ \ @@ -1145,6 +1153,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## SRC ## LoadVars(SrcRead) \ Declare ## DST ## StoreVars(DstWrite) \ Declare ## DST ## PixelData(bgdata) \ @@ -1175,6 +1184,7 @@ NativePrimitive *pPrim, \ CompositeInfo *pCompInfo) \ { \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## DST ## StoreVars(DstWrite) \ Declare ## LUT_STRATEGY ## BgLut(SRC, DST, pixLut) \ \ @@ -1208,6 +1218,7 @@ { \ jint xorpixel = pCompInfo->details.xorPixel; \ juint alphamask = pCompInfo->alphaMask; \ + jboolean representsPrimary = (pDstInfo)->representsPrimary; \ Declare ## DSTANYTYPE ## PixelData(xor) \ Declare ## DSTANYTYPE ## PixelData(mask) \ Declare ## SRC ## LoadVars(SrcRead) \ @@ -1752,6 +1763,8 @@ { \ jint glyphCounter; \ jint scan = pRasInfo->scanStride; \ + jboolean representsPrimary = (pRasInfo)->representsPrimary; \ +\ DST ## DataType *pPix; \ Declare ## DST ## PixelData(solidpix) \ DeclareAlphaVarFor ## STRATEGY(srcA) \ @@ -1898,6 +1911,7 @@ { \ jint glyphCounter, bpp; \ jint scan = pRasInfo->scanStride; \ + jboolean representsPrimary = (pRasInfo)->representsPrimary; \ DST ## DataType *pPix; \ Declare ## DST ## PixelData(solidpix) \ DeclareAlphaVarFor ## STRATEGY(srcA) \