[OpenJDK 2D-Dev] RFR: 8078331: Upgrade JDK to use LittleCMS 2.7

2015-04-21 Thread Phil Race
https://bugs.openjdk.java.net/browse/JDK-8078331 http://cr.openjdk.java.net/~prr/8078331/ These changes are all directly from upstream LCMS. It takes us from 2.6 plus a couple of patches to the 2.7 release with the upstream version of those patches. Modulo 'white space' we will be 100% in sync wi

Re: [OpenJDK 2D-Dev] [OpenJDK Rasterizer] Path2d needRoom very slow for huge paths

2015-04-21 Thread Jim Graham
Hi Laurent, Rather than post-process the segments, is it easier to just change the way we generate the segments to account for the cap/join? For instance, when we get to capping a segment we have the first moveto in one half of the path which could be moved "back" by 1/2 lw and the other pat

Re: [OpenJDK 2D-Dev] [OpenJDK Rasterizer] Path2d needRoom very slow for huge paths

2015-04-21 Thread Laurent Bourgès
Ok, I will update soon the patch to fix both the overflow in needRoom methods and remove trimToSize () methods to be jdk8 compliant. PS: these new methods could be added later for jdk9 only Laurent Le 21 avr. 2015 19:56, "Jim Graham" a écrit : > > Then it might make sense to make a new bug and

Re: [OpenJDK 2D-Dev] [OpenJDK Rasterizer] Path2d needRoom very slow for huge paths

2015-04-21 Thread Jim Graham
Then it might make sense to make a new bug and target the existing patch at it by just removing the new method signature... ...jim On 4/20/15 11:56 PM, Laurent Bourgès wrote: Jim & phil, The initial objective of my patch concerns the grow algorithm to use 1/8th of the array si

Re: [OpenJDK 2D-Dev] [9] Review request for 8069361 SunGraphics2D.getDefaultTransform() does not include scale factor

2015-04-21 Thread Sergey Bylokhov
Hi, Alexander. The fix looks good. On 20.04.15 14:48, Alexander Scherbatiy wrote: Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8069361/webrev.01/ - CGraphicsConfig.getDefaultTransform() is updated to use AffineTransform.getScaleInstance() - SG2D.getDefaultTrans