-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
proposalRequest for a new featureRequest for a new feature
Description
The DrawText operator currently uses the Bonsai.Vision.Drawing namespace to synthesize an IplImage object which is then uploaded to the GPU for rasterization.
This introduces unpredictable delay on the first frame of render, and on every frame where parameters to the DrawText operator are changed. This jitter can be logged accurately but it would be preferable to minimize it as much as possible.
There are a few possible paths to explore:
- Pre-cache the first frame as early as possible, immediately on subscription, so that all cost can be paid before the render loop begins;
- Add operators allowing cache and storage of text images separately, so that we can effectively create a "load state" where all resources are fully constructed separately from rendering;
- Use an alternative approach to render dynamic text (e.g. font texture atlas, dear ImGUI, etc)
Metadata
Metadata
Assignees
Labels
proposalRequest for a new featureRequest for a new feature