ruffle/video/software/src
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
..
decoder video: Moved individual decoders to software video backend 2022-09-04 17:46:58 -07:00
backend.rs core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
decoder.rs video: Moved individual decoders to software video backend 2022-09-04 17:46:58 -07:00
lib.rs video: Moved SoftwareVideoBackend to software decoder crate 2022-09-04 17:46:58 -07:00