> This is my fix proposal to this bug: > - added new method strokeTo(... Region clip ...) in the abstract > RenderingEngine class > - fixed all RenderingEngine implementations in java.desktop module > - MarlinRenderingEngine now uses 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 wrote a new test class to validate the bug fix.
Laurent Bourgès has updated the pull request incrementally with two additional commits since the last revision: - fixed copyright year - removed invalid jtreg test ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2013/files - new: https://git.openjdk.java.net/jdk/pull/2013/files/0592f191..f5dea906 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2013&range=06 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2013&range=05-06 Stats: 7 lines in 7 files changed: 0 ins; 1 del; 6 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