Skip to content

Replace the overlays system with a simple immediate-mode system #1167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #144
Keavon opened this issue Apr 26, 2023 · 0 comments · Fixed by #1516
Closed
Tracked by #144

Replace the overlays system with a simple immediate-mode system #1167

Keavon opened this issue Apr 26, 2023 · 0 comments · Fixed by #1516
Assignees
Milestone

Comments

@Keavon
Copy link
Member

Keavon commented Apr 26, 2023

Currently we're using the legacy document system to create a separate document just for drawing overlays. The idea at the time was that we should be able to reuse its drawing API for any sort of overlays we want to draw, but that ended up being a bad idea. Now, as we deprecate the legacy document system, we need to replace the overlays system which was already rather decrepit.

The better solution is an immediate mode approach where each tool is in charge of drawing shapes to the screen every frame. As the document is moved around or things change, the overlays are redrawn to keep pace.

@github-project-automation github-project-automation bot moved this to Short-Term in Task Board Apr 26, 2023
@Keavon Keavon removed the Available label May 31, 2023
@Keavon Keavon moved this to Available in Task Board May 31, 2023
@Keavon Keavon moved this from Always Up for Grabs to Short-Term in Task Board May 31, 2023
@Keavon Keavon removed the P-High label May 31, 2023
@0HyperCube 0HyperCube mentioned this issue Dec 16, 2023
7 tasks
@Keavon Keavon moved this from Short-Term to In-Progress Tasks in Task Board Dec 16, 2023
@github-project-automation github-project-automation bot moved this from In-Progress Tasks to Tasks Completed This Sprint in Task Board Dec 18, 2023
@Keavon Keavon added this to the Sprint 32 milestone Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants