Canvas SVG: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
With some new MFDs making heavy use of SVG files, our way of using a custom scripted parser implemented in Nasal (svg.nas) is adding up considerably. i.e. performance is severely affected when processing such files.
With some new MFDs making heavy use of SVG files, our way of using a custom scripted parser implemented in Nasal (svg.nas) is adding up considerably. i.e. performance is severely affected when processing such files.


On some platforms, just the initialization of the [[FG1000]] is taking ~15 seconds - profiling shows most of the time is spent in ~1500 context switches between Nasal and C++ respectively.
On some platforms, just the initialization of the [[FG1000]] is taking ~15 seconds - profiling shows most of the time is spent in ~1500 context switches between Nasal and C++ respectively, due to how svg.nas uses the parsevg API to leverage callbacks implemented in Nasal.


== Objective ==
== Objective ==

Navigation menu