Skip to content
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

Editor GPU: Reduce memory use in the atlas glyph storage buffers #227099

Open
Tyriar opened this issue Aug 29, 2024 · 0 comments
Open

Editor GPU: Reduce memory use in the atlas glyph storage buffers #227099

Tyriar opened this issue Aug 29, 2024 · 0 comments
Assignees
Labels
editor-gpu Editor GPU rendering related issues perf plan-item VS Code - planned item for upcoming
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Aug 29, 2024

The buffer that stores all the texture atlas information is fixed to FloatsPerEntry*5000. This should be more dynamically sized to reduce memory usage.

// TODO: Dynamically set buffer size
const values = new Float32Array(GlyphStorageBufferInfo.FloatsPerEntry * TextureAtlasPage.maximumGlyphCount);

@Tyriar Tyriar added this to the October 2024 milestone Aug 29, 2024
@Tyriar Tyriar added perf editor-gpu Editor GPU rendering related issues plan-item VS Code - planned item for upcoming labels Aug 29, 2024
@Tyriar Tyriar added perf and removed perf labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-gpu Editor GPU rendering related issues perf plan-item VS Code - planned item for upcoming
Projects
Status: No status
Development

No branches or pull requests

2 participants