-
Bug
-
Resolution: Fixed
-
P4
-
9, 10
-
b36
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8269503 | 8u311 | Dmitry Markov | P4 | Resolved | Fixed | b01 |
Improve the Marlin renderer to better handle the clip region in:
- Stroker: g2d.draw(shape)
- Filler: g2d.fill(shape)
Marlin 0.8.2 (github) has an efficient path segment filter to ignore useless segments outside the clip that improves Renderer performance (less edges to process) as it only skips edges in the TOP/BOTTOM sides not on LEFT/RIGHT sides.
In future the Dasher will be improved to handle the clip too (another bug) in order to avoid emitting dashes outside the clip but dash attributes (phase) must be preserved
- Stroker: g2d.draw(shape)
- Filler: g2d.fill(shape)
Marlin 0.8.2 (github) has an efficient path segment filter to ignore useless segments outside the clip that improves Renderer performance (less edges to process) as it only skips edges in the TOP/BOTTOM sides not on LEFT/RIGHT sides.
In future the Dasher will be improved to handle the clip too (another bug) in order to avoid emitting dashes outside the clip but dash attributes (phase) must be preserved
- backported by
-
JDK-8269503 Marlin rasterizer spends time computing geometry for stroked segments that do not intersect the clip
- Resolved
- blocks
-
JDK-8184429 Marlin rasterizer spends time computing geometry for stroked segments that do not intersect the clip
- Resolved