Canvas SVG

From FlightGear wiki
Revision as of 10:06, 31 May 2020 by Hooray (Talk | contribs) (

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This article is a stub. You can help the wiki by expanding it.


With 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.

[[Svg-via-canvas-image.png|Native SVG handling via [[Canvas Image] and the OSG SVG plugin (via librsvg=]]