-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
topic:performancePerformance enhancements, regressions, etcPerformance enhancements, regressions, etctopic:renderingRendering architecture and implementationRendering architecture and implementationtopic:uiUser interfaceUser interface
Description
Currently, music_sequencer example is a little bit laggy. Are all Rects getting re-rendered every frame?
Similarly, in todo example, if you type something in the texteditor and move the cursor, all the text all be rendered, which is unnecessary. If you look closely at the Hello in the web client (https://ambient-demo.netlify.app/), you will find the same issue.
The source shows that two new Text areas are constantly created:
https://github.com/AmbientRun/Ambient/blob/main/shared_crates/ui/src/editor/text_editor.rs#L173-L195
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
topic:performancePerformance enhancements, regressions, etcPerformance enhancements, regressions, etctopic:renderingRendering architecture and implementationRendering architecture and implementationtopic:uiUser interfaceUser interface