indigo icon indicating copy to clipboard operation
indigo copied to clipboard

"VirtualDom" / Virtual Scene Graph

Open davesmith00000 opened this issue 4 years ago • 0 comments

This needs some thought.

During the scene processing, we convert the SceneUpdateFragment into a ListBuffer[DisplayEntity]. You can't avoid the allocation costs of making the SUF, but is it possible to only process the parts of the SUF that have changed, and reuse parts that haven't?

There are lots of problems here, one example is that naively caching a sprite will cause it's animation to stop playing.

davesmith00000 avatar Feb 08 '21 21:02 davesmith00000