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

Parallel resource loading #336

Open
adriengivry opened this issue Nov 28, 2024 · 3 comments
Open

Parallel resource loading #336

adriengivry opened this issue Nov 28, 2024 · 3 comments
Labels
Feature New feature to the engine Graphics Graphical feature Optimization Optimization related stuff

Comments

@adriengivry
Copy link
Owner

Problem this feature should fix
Some scenes take a long time to load

Expected solution
Loading resources in parallel, on multiple threads, could vastly speed up scene loading. Some resources need to interact with the OpenGL context, which is mono-threaded, therefor, loading should be split in 2 methods: CPU-side (can be parallelized), GPU-side (needs synchronization with main thread). When attempting to load a scene, we should resolve all the resource that will be needed, and batch load them.

@adriengivry adriengivry added Feature New feature to the engine Optimization Optimization related stuff Graphics Graphical feature labels Nov 28, 2024
@SerenityCodes
Copy link

If no one is already working on this, I'll take this issue

@adriengivry
Copy link
Owner Author

@SerenityCodes no one is working on it at the moment, so feel free!!

@SerenityCodes
Copy link

Great! I'll get working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature to the engine Graphics Graphical feature Optimization Optimization related stuff
Projects
None yet
Development

No branches or pull requests

2 participants