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

Laurent Bourgès bourges.laurent at gmail.com
Thu May 30 07:38:53 UTC 2013


Phil,

As I am currently working hard on improving pisces rendering engine
(performance and quality if possible), I am looking for interesting
algorithms, optimization tricks ... i.e. I need to study different
approaches (subpixel rendering, rasterizer, scanline renderer, coordinate
conversions).

I do not want openjdk to use AGG or cairo libs, but I wanted to know if AGG
was open source to be able (allowed) to look at their code to get new
ideas, tricks ...

I am still looking for volunteers to help me improving pisces code as only
Jim and Andrea participate to this topic and have some interest in
improving pisces.

Could someone explain me who maintains Java2D rendering engine and what is
the roadmap for new implementations (glg2d, jules using cairo ...) ?

Laurent

2013/5/29 Phil Race <philip.race at oracle.com>

> From http://www.oracle.com/**technetwork/community/oca-**486395.html<http://www.oracle.com/technetwork/community/oca-486395.html>
>
> "The OCA gives Oracle and the contributor joint copyright interests in the
> code ..."
>
> So you can't use AGG since you don't have the rights to contribute it under
> OCA terms.
>
> Also I don't think we want to swap out pisces and start to re-invent
> things.
> Better to improve what we already have
>
> -phil.
>
> On 5/29/2013 5:19 AM, Andrea Aime wrote:
>
>> On Wed, May 29, 2013 at 2:05 PM, Laurent Bourgčs <
>> bourges.laurent at gmail.com <mailto:bourges.laurent at gmail.**com<bourges.laurent at gmail.com>>>
>> wrote:
>>
>>     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.
>>
>>
>> I'm not a lawyer, so take this with a grain of salt, but the most up to
>> date code base does not seem compatible, however
>> the lightweight rasterizer I pointed you at is under the LGPL, so it
>> _should_ be compatible.
>> I have memories that the rasterization techinique is coming from
>> libfreetype, so that's another one that might be worth
>> looking at (and I guess OpenJDK already depends on it to handle fonts
>> under Linux? not sure)
>>
>> Cheers
>> Andrea
>> --
>> ==
>> GeoServer training in Milan, 6th & 7th June 2013!  Visit
>> http://geoserver.geo-**solutions.it <http://geoserver.geo-solutions.it> <
>> http://geoserver.geo-**solutions.it/ <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 <http://twitter.com/geosolutions_it>
>>
>> ------------------------------**-------------------------
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20130530/075b3ad4/attachment.html>


More information about the 2d-dev mailing list