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

Image lifecycle and management #725

Open
namse opened this issue Dec 21, 2023 · 0 comments
Open

Image lifecycle and management #725

namse opened this issue Dec 21, 2023 · 0 comments
Labels
namui This issue is for namui engine

Comments

@namse
Copy link
Contributor

namse commented Dec 21, 2023

Current namui system always pushs images in memory and never frees them.

If image is not more useful, it should be dropped.

For example, Video's frame should be dropped when it already displayed.
Or the image asset of scene should be dropped when the scene had been changed.

Most of case, RLU cache would fixes this problem.
But there would be a need that user want to handle the timing of image drop.

I need policy to manage image.

@namse namse added the namui This issue is for namui engine label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
namui This issue is for namui engine
Projects
None yet
Development

No branches or pull requests

1 participant