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

Reduce the amount of iteration when buliding command buffers #135

Open
BenjaFriend opened this issue Dec 16, 2019 · 0 comments
Open

Reduce the amount of iteration when buliding command buffers #135

BenjaFriend opened this issue Dec 16, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request PRI 3 Priority 3; Known problem

Comments

@BenjaFriend
Copy link
Member

Right now we rebuild the command buffers every frame. This is relatively cheap since we re-use the buffers and makes managing them much simpler.

However, we do have the cost of iterating through all objects every frame then. This doesn't really need to happen, and we should really have a state system that manages if a mesh is dirty/needs to be updated.

At a minimum we need to update the UBO's of dirty entities every frame.

@BenjaFriend BenjaFriend added enhancement New feature or request PRI 3 Priority 3; Known problem labels Dec 16, 2019
@BenjaFriend BenjaFriend added this to the Perf pass and Cleanup milestone Dec 16, 2019
@BenjaFriend BenjaFriend self-assigned this Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PRI 3 Priority 3; Known problem
Projects
None yet
Development

No branches or pull requests

1 participant