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

Retain caches in iced_wgpu as long as Rc values are alive #2409

Merged
merged 2 commits into from
Apr 28, 2024

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Apr 27, 2024

This allows reusing a canvas::Cache at no cost even if it is not presented every frame.

This allows reusing a `canvas::Cache` at no cost even if it
is not presented every frame.
@hecrj hecrj added this to the 0.13 milestone Apr 27, 2024
@hecrj
Copy link
Member Author

hecrj commented Apr 27, 2024

I've created a new example that showcases how reusing caches in different frames may be useful. It is called the_matrix:

2024-04-27.15-13-55.mp4

@hecrj hecrj merged commit e617d7e into master Apr 28, 2024
24 checks passed
@hecrj hecrj deleted the rc-cache-eviction branch April 28, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant