3bef8c4fd6
We only called `get_bitmap_pixels` when creating a `BitmapData` for an SWF-provided `Bitmap`. We now store the initial pixels in `Character::Bitmap`, and use them to initialize a `BitmapData` when needed. This lets us simplify the wgpu backend, which no longer needs to store a `Bitmap` object. In addition to saving space for `BitmapData` objects that lack an SWF `Bitmap`, this will make it easier to move data from `bitmap_registry` into `BitmapHandle` itself. |
||
---|---|---|
.. | ||
software | ||
src | ||
Cargo.toml |