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

Multi-threaded resource loading #13

Open
Hasan-Jawaheri opened this issue Sep 30, 2019 · 0 comments
Open

Multi-threaded resource loading #13

Hasan-Jawaheri opened this issue Sep 30, 2019 · 0 comments

Comments

@Hasan-Jawaheri
Copy link
Owner

Hasan-Jawaheri commented Sep 30, 2019

Need support for loading assets from worker thread(s).

Functional requirements:

  • Data should be loadable separately from Vulkan-specific resources.
  • An estimate on the loading time should be made based on the size/complexity of the data.
  • Loaded data should be made available in Vulkan resources during the game loop slowly and per frame. The number of resources that can be processed by Vulkan per loop iteration should depend on the estimated loading times.
  • There should be a user-specified priority to loading such that high-priority resources are loaded ASAP.
  • Dependencies should be properly handled.
  • Rules for custom (user-defined) dependencies may be required, in the form of callbacks on-load.
  • All loading must be done this way. Application should be able to wait on loading to happen while running a splash screen or playing a mini-game.
@Hasan-Jawaheri Hasan-Jawaheri added this to To do in Multi-threading Effort via automation Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant