Bug #2374
closedSVG - Improve inital rendering times
0%
Description
Batik rendering only: when an actor is first dragged to the canvas, or when a
workflow is first opened, there is a long delay before the new-style SVG icons
appear. Subsequent renderings of the same actor are much faster, since the icons
are cached on a per-actor basis. Need to:
1) look at initial rendering and see how it can be made faster
2) do caching on a per-image basis, so each image is read and parsed only once,
then put in a global cache
Related issues
Updated by Matthew Brooke over 18 years ago
Ignore that last comment - typed in the wrong window :-P
Look at the class:
kepler/src/exp/ptolemy/vergil/icon/XMLIcon.java
- this is where the icons are assigned. Could maybe hook a cacheing mechanism in here
Updated by Chad Berkley over 15 years ago
The SVG icons render immediately for me on my MacBook Pro. I think this may have been fixed when the change was made to load the actors dynamically into the library instead of statically. I'll close this bug for now. If anyone still has issues with SVG rendering, please re-open it.