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

Jobify frame script execution #80

Open
Duttenheim opened this issue Aug 17, 2022 · 0 comments
Open

Jobify frame script execution #80

Duttenheim opened this issue Aug 17, 2022 · 0 comments
Labels
category: concurrency Data/condition races category: graphics Graphics performance Performance improvements

Comments

@Duttenheim
Copy link
Contributor

Duttenheim commented Aug 17, 2022

To actually benefit from using command buffers, frame scripts should be able to run in parallel. However there is a catch, which is when fetching graphics pipelines from a shared database from each thread, meaning the database needs to be locked for writes.

Perhaps there is a way to do database writes as single job over all scripts first, and then record the actually command buffers on one job per script.

@Duttenheim Duttenheim added category: graphics Graphics performance Performance improvements category: concurrency Data/condition races labels Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: concurrency Data/condition races category: graphics Graphics performance Performance improvements
Projects
None yet
Development

No branches or pull requests

1 participant