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

Resource manager refactoring #40

Closed
mrDIMAS opened this issue Oct 19, 2020 · 0 comments
Closed

Resource manager refactoring #40

mrDIMAS opened this issue Oct 19, 2020 · 0 comments
Assignees

Comments

@mrDIMAS
Copy link
Member

mrDIMAS commented Oct 19, 2020

Resource manager still lacks proper async/.await support, this must be fixed.

#23 is part of this issue.

@mrDIMAS mrDIMAS added the task label Oct 19, 2020
@mrDIMAS mrDIMAS self-assigned this Oct 19, 2020
mrDIMAS added a commit that referenced this issue Oct 19, 2020
…Texture

- now Texture must be used without Arc<Mutex<>> wrapper, now it is embedded inside Texture
- Textures now can be used in async/.await environment
- design is still not final, and may change in the near future
- part of resource manager rework
- #40
mrDIMAS added a commit that referenced this issue Oct 19, 2020
…or other resources

- #40
- there are Resource, ResourceState structures which will be used to implement async/await for other types of resources (models, sounds)
mrDIMAS added a commit that referenced this issue Oct 20, 2020
mrDIMAS added a commit that referenced this issue Oct 22, 2020
- #40
- this significantly improved engine deserialization times, loading a save file is now at least 6 times faster (depends on cores count of your CPU)
mrDIMAS added a commit that referenced this issue Oct 23, 2020
- #40
- there was a panic because of incorrect usage of blocking
- reload_xxx were bugged, they just didn't wait until actual reload because I forgot to change state before initiating reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant