ruffle/render/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
..
backend core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
backend.rs core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
bitmap.rs core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
bounding_box.rs Fix conflicts 2022-11-23 20:45:37 -07:00
color_transform.rs core: `ColorTransform` cleanup 2022-09-23 11:10:12 +03:00
commands.rs core: Make `BitmapHandle` hold a trait object instead of an id 2022-12-03 19:44:44 -06:00
error.rs render: Treat `update_texture` with invalid `BitmapHandle` as an error 2022-09-16 22:03:15 -06:00
lib.rs render: Introduced render commands, moved to a command list model instead of direct rendering 2022-09-11 09:07:53 +02:00
matrix.rs render: Moved Matrix from core to render 2022-08-14 18:38:14 -07:00
shape_utils.rs swf: Extract `Rectangle` to a separate file 2022-09-25 10:37:56 +03:00
tessellator.rs render: Don't use BitmapHandle in tessellator 2022-11-21 21:04:40 -07:00
transform.rs render: Remove `gc-arena` dependency 2022-09-02 09:49:18 -07:00
utils.rs render: Random cleanups 2022-09-22 03:00:02 +03:00