10491a1be9
This makes `Bitmap` delegate to `BitmapData` for all of the bitmap-related information (handle, width, and height). As a result, we now unconditionally store a `BitmapData` in `Bitmap`. As a result, swapping the underling `BitmapData` instance will automatically change the properties (and rendered image) of a `Bitmap`. This required some refactoring in the render backends in order to get access to a `BitmapHandle` through `BitmapData`. |
||
---|---|---|
.. | ||
canvas | ||
naga-agal | ||
src | ||
webgl | ||
wgpu | ||
Cargo.toml |