Hello.
Please review the fix for jdk 9.
Type of the temporary buffer in DrawImage.renderImageXform() is incorrect. Note that we blit this buffer to the destination, using next maskblit/blit:

line 463: maskblit = MaskBlit.getFromCache(SurfaceType.IntArgbPre,
                                             sg.imageComp,
                                             dstType);
line 489: blit = Blit.getFromCache(SurfaceType.IntArgbPre,
                                     sg.imageComp,
                                     dstType);

Type of source surface is IntArgbPre in both cases, but the type of tmpBuffer is IntArgb.

Bug: https://bugs.openjdk.java.net/browse/JDK-8062164
Webrev can be found at: http://cr.openjdk.java.net/~serb/8062164/webrev.01

--
Best regards, Sergey.

Reply via email to