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

Make image Cache eviction strategy less aggressive in iced_wgpu #2403

Merged
merged 1 commit into from
Apr 24, 2024

Commits on Apr 24, 2024

  1. Make image Cache eviction strategy less aggressive in iced_wgpu

    Instead of trimming unconditionally at the end of
    a frame, we now trim the cache only when there is a
    cache miss.
    
    This way, images that are not visible but still a
    part of the layout will stay cached. Eviction will
    only happen when the images are not a part of the
    UI for two consectuive frames.
    hecrj committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    493c36a View commit details
    Browse the repository at this point in the history