ruffle/render
Aaron Hill 1b3070ab85 core: Make `BitmapHandle` hold a trait object instead of an id
`BitmapHandle` now holds `Arc<dyn BitmapHandleImpl>`.
This allows us to move all of the per-bitmap backend data into
`BitmapHandle`, instead of holding an id to a backend-specific
hashmap.

This fixes the memory leak issue with bitmaps. Once the AVM side of a
bitmap (`Bitmap`/`BitmapData`) gets garbage-collected, the
`BitmapHandle` will get dropped, freeing all of the GPU resources
assoicated with the bitmap.
2022-12-03 19:44:44 -06:00
..
canvas core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
naga-agal swf: make Clippy happy 2022-12-03 22:18:22 +01:00
src core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
webgl core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
wgpu core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
Cargo.toml upgrade lock and toml dependencies 2022-11-26 14:04:59 -05:00