[OpenJDK 2D-Dev] Openjdk java2d rasterizer JEP for pisces (marlin) enhancements ?

Laurent Bourgès bourges.laurent at gmail.com
Tue Feb 24 22:54:11 UTC 2015


here is my first attempt to produce a webrev for the marlin renderer
(derived from 0.5.5 Unsafe) against graphics-rasterizer/jdk9/


Of course, it is a big patch that you can compare with pisces (compare
pisces & marlin folders).

I made a clean jdk9 build and tested using following JVM settings:
java -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine ...

If marlin is working, it will show the following logs giving also all
possible settings:

INFO: Marlin software rasterizer           = ENABLED

*INFO: Version                              =
sun.java2d.renderer                  =
INFO: sun.java2d.renderer.useThreadLocal   = false
INFO: sun.java2d.renderer.useRef           = soft
INFO: sun.java2d.renderer.pixelsize        = 2048
INFO: sun.java2d.renderer.subPixel_log2_X  = 3
INFO: sun.java2d.renderer.subPixel_log2_Y  = 3
INFO: sun.java2d.renderer.tileSize_log2    = 5
INFO: sun.java2d.renderer.useFastMath      = true
INFO: sun.java2d.renderer.useSimplifier    = false
INFO: sun.java2d.renderer.doStats          = false
INFO: sun.java2d.renderer.doMonitors       = false
INFO: sun.java2d.renderer.doChecks         = false
INFO: sun.java2d.renderer.useJul           = false
INFO: sun.java2d.renderer.logCreateContext = false
INFO: sun.java2d.renderer.logUnsafeMalloc  = false
INFO: AAShapePipe: overriding JDK implementation: marlin-renderer TILE
patch enabled.

PS: many settings & debugging code (stats, monitoring ...) could be
discussed and removed during the integration process ...

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20150224/4b46c95a/attachment.html>

More information about the 2d-dev mailing list