[OpenJDK 2D-Dev] sun.java2D.Pisces renderer Performance and Memory enhancements

Laurent Bourgès bourges.laurent at gmail.com
Wed May 29 12:05:24 UTC 2013


Seems very interesting ... I just looked at the documentation.

AGG code would be worth to look at but somebody should check if their
license is compatible with openjdk license terms.

Apparently AGG uses integers to convert float values (24.8 ie float are
multiplied by 256 and then converted to integers)

Laurent

2013/5/29 Andrea Aime <andrea.aime at geo-solutions.it>

> On Wed, May 29, 2013 at 11:01 AM, Laurent Bourgès <
> bourges.laurent at gmail.com> wrote:
>
>> Finally I propose to focus on optimizing these 2 algorithms (methods) as
>> it represents 55% of cpu time:
>> - optimize / modify algorithms: integer instead of float ops, reduce
>> number of condition statements (if) to improve branch prediction ...
>>
>
> I have been fancying a port to java of the agg liteweight rasterize (
> http://www.antigrain.com/download/index.html)
> and indeed that code, besides producing high quality antialiased outputs,
> works with rescaled integers.
> Might be work having a look
>
> Cheers
> Andrea
>
> --
> ==
> GeoServer training in Milan, 6th & 7th June 2013!  Visit
> http://geoserver.geo-solutions.it for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20130529/a1ad1ccc/attachment.html>


More information about the 2d-dev mailing list