-
Notifications
You must be signed in to change notification settings - Fork 72
Make the renderer more stateful #389
Copy link
Copy link
Closed
Labels
enhancementAn improvement for livesplit-core.An improvement for livesplit-core.performanceAffects the performance of the code.Affects the performance of the code.priority: highThis is a high priority issue.This is a high priority issue.renderingThe issue or pull request is affecting the rendering.The issue or pull request is affecting the rendering.
Metadata
Metadata
Assignees
Labels
enhancementAn improvement for livesplit-core.An improvement for livesplit-core.performanceAffects the performance of the code.Affects the performance of the code.priority: highThis is a high priority issue.This is a high priority issue.renderingThe issue or pull request is affecting the rendering.The issue or pull request is affecting the rendering.
The renderer currently has no real persistent notion of components and positioned elements inside them. This means that we have to lay out all the glyphs and other elements every frame which is quite expensive. Additionally this also forces the underlying backend to have to rerender everything every frame. We should implement a React like diffing model that stores and updates an underlying stateful tree.