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

Replacement: Read files only within time budget #15884

Merged
merged 2 commits into from
Aug 22, 2022

Conversation

unknownbrackets
Copy link
Collaborator

This could use more testing.

Basically, this should help #15787. It doesn't actually load the file data on a thread (could, would require a bit more refactoring.) Instead, it just respects the budget time when loading initial file data. So if we've already used up this frame's budget, it won't even try file exist checks or reading the header.

This should reduce the performance impact on Android scoped storage when there's lots of new textures in a frame.

-[Unknown]

When delayed texture load is enabled.  Intended to reduce IO delays on
Android.
@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Aug 22, 2022
@hrydgard
Copy link
Owner

nice!

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

Successfully merging this pull request may close these issues.

None yet

2 participants