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. |
||
---|---|---|
.. | ||
backend | ||
backend.rs | ||
bitmap.rs | ||
bounding_box.rs | ||
color_transform.rs | ||
commands.rs | ||
error.rs | ||
lib.rs | ||
matrix.rs | ||
shape_utils.rs | ||
tessellator.rs | ||
transform.rs | ||
utils.rs |