> This is my first fix proposal on this bug: > - added new method strokeTo(... Region clip ...) in the abstract > RenderingEngine class > - fix all RenderingEngine implementations in java.desktop module > - MarlinRenderingEngine now use the clip region to roughly & quickly clip the > given shape in strokeTo(clip) > - LoopPipe.getStrokeSpans() uses the new strokeTo(clip) method to get good > performance with huge dashed shapes. > > I will write a new test class in follow-up commits to validate the bug fix.
Laurent Bourgès has updated the pull request incrementally with one additional commit since the last revision: fixed white spaces ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2013/files - new: https://git.openjdk.java.net/jdk/pull/2013/files/5785f866..4df9ab38 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2013&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2013&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/2013.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2013/head:pull/2013 PR: https://git.openjdk.java.net/jdk/pull/2013