[OpenJDK 2D-Dev] RFR [12] Clipping problems with complex affine transforms: negative scaling factors or small scaling factors

Laurent Bourgès bourges.laurent at gmail.com
Tue Sep 4 20:45:42 UTC 2018


Please review this bug fix for the Marlin renderer (introduced in 10):
JBS: https://bugs.openjdk.java.net/browse/JDK-8210335
webrev: http://cr.openjdk.java.net/~lbourges/marlin/marlin-8210335.0/

Changes:
- clipping rectangle is adjusted to take into account the inverse transform
(scale/shear)
- MarlinRenderingEngine: prepare once the clip with small margin + renderer
offset
- TransformingPathConsumer2D:
    - missing min < max in adjustClipScale() if scale < 0
   - compute mean inverse scale factor to be used in CurveClipSplitter to
perform proper length checks to avoid too many subdivision

PS: What is the process to ask for backport to JDK11 updates ?

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


More information about the 2d-dev mailing list