-
Notifications
You must be signed in to change notification settings - Fork 301
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
Add "UnloadTilesPlugin" to save GPU memory #874
Conversation
Would you consider adding some sort of configurable timer to unload the tiles after some time ? Often, a tile that has been hidden because the user quickly moved the camera can be re-displayed a few milliseconds/seconds after being hidden. It's useful that this tile can be displayed right away. |
It's a good idea - I'll make another issue for it and focus on getting the basics working in this PR. You could imagine other metrics, as well, such as only removing items from the GPU once a certain memory threshold is passed. Something like a smaller lru cache just for GPU memory. |
Fix #873
Fix #875
TODO
Upcoming PR