The current implementation of BufferedPanel copies a BufferedImage by
clipping it and creating a subImage.
The blit of the subimage takes much longer (10x) on Linux. If you trace it:
-Dsun.java2d.trace=log,timestamp
you will see it uses sun.java2d.loops.BIit$GeneralMaskBlit::Blit
rather than
sun.awt.X11PMBlitLoops::Blit.
Description
The current implementation of BufferedPanel copies a BufferedImage by
clipping it and creating a subImage.
The blit of the subimage takes much longer (10x) on Linux. If you trace it:
-Dsun.java2d.trace=log,timestamp
you will see it uses sun.java2d.loops.BIit$GeneralMaskBlit::Blit
rather than
sun.awt.X11PMBlitLoops::Blit.