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

Laurent Bourgès bourges.laurent at gmail.com
Tue Feb 24 20:45:59 UTC 2015


Hi again,

>
>   Ok, I have to submit a webrev.
>
>  There is two marlin variants:
> - marlin 0.4.5
> - marlin 0.5.5 using Unsafe for array allocation and random access to
> store edge data as struct [float + int]
>
>  Note: marlin 0.5.5 is 10% faster in my benchmarks.
>
>  What variant do you prefer ?
>
>
> If its going into OpenJDK I think its allowed to use sun.misc so  0.5.5
> sounds better
>

Ok, let's the Unsafe variant.

I have created the openjdk branch on my github to track changes:
https://github.com/bourgesl/marlin-renderer/tree/openjdk


> We now have that forest here :
> http://hg.openjdk.java.net/graphics-rasterizer/jdk9/
>
> Due to someone being out sick we are still waiting for updates to servers
> so that you
> (or I, or anyone else) can *push* there, but you can already *pull* from
> there and then work
> in your local copy and generate a webrev there - that has marlin co-exist
> with pisces.
>

I pulled it and used get_source.sh to retrieve the complete jdk9 code.

I am going to prepare the initial webrev based on marlin 0.5.5 with the
following changes:
- refactor package org.marlin to sun.java2d.marlin
- refactor class PiscesRenderingEngine to MarlinRenderingEngine

Can I keep the new awt.geom.FastPath2D (or wait for another Path2D patch)
and AAShapePipe patches ?

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20150224/f69dadc1/attachment.html>


More information about the 2d-dev mailing list