1b3070ab85
`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. |
||
---|---|---|
.. | ||
shaders | ||
src | ||
Cargo.toml |