Canvas SVG: Difference between revisions

Jump to navigation Jump to search
Line 20: Line 20:
{{See also|Canvas_News#Skia_backend}}
{{See also|Canvas_News#Skia_backend}}


* add support for persistence, i.e. to serialize a Canvas.Group structure to disk ($FG_HOME) and use caching from then on
* run parsexml in a Nasal worker thread (problematic: while parsing/loading can happen asynchronously, the parser needs a handle to the canvas group to draw into, so need to synchronize access to that) <ref>https://forum.flightgear.org/viewtopic.php?f=4&t=34571&p=368880#p368707</ref>
* run parsexml in a Nasal worker thread (problematic: while parsing/loading can happen asynchronously, the parser needs a handle to the canvas group to draw into, so need to synchronize access to that) <ref>https://forum.flightgear.org/viewtopic.php?f=4&t=34571&p=368880#p368707</ref>
* Stuart suggested to port svg.nas to C++ (that would still not give us any threading benefits) - also, custom our parser is really trivial, i.e. only supports a subset of SVG
* Stuart suggested to port svg.nas to C++ (that would still not give us any threading benefits) - also, custom our parser is really trivial, i.e. only supports a subset of SVG

Navigation menu