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

Unused index buffers #2760

Open
alasram opened this issue Aug 24, 2024 · 2 comments
Open

Unused index buffers #2760

alasram opened this issue Aug 24, 2024 · 2 comments
Assignees
Labels
bug Something isn't working ⚡ performance

Comments

@alasram
Copy link
Collaborator

alasram commented Aug 24, 2024

Describe the bug
I noticed that many index buffers are created when tiles are loaded but they are never used in an actual draw which means creating and uploading these buffers is a waste.
The reason for the creation of these buffers needs to be investigated and once the cause is understood we need to avoid creating these buffers.

@alasram alasram added bug Something isn't working ⚡ performance labels Aug 24, 2024
@alasram alasram self-assigned this Aug 24, 2024
@sjg-wdw
Copy link
Collaborator

sjg-wdw commented Sep 17, 2024

Can you take a look at this one @alexcristici
First question would be how we tell these buffers are being created and then not used.

@alasram
Copy link
Collaborator Author

alasram commented Sep 17, 2024

This commit prints to the log index buffers that aren't used in any draw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ⚡ performance
Projects
None yet
Development

No branches or pull requests

3 participants