ruffle/render/wgpu
Aaron Hill 45515be0a3 render: Improve support for BitmapData.draw
This PR fixes a numbe of interconnected bugs:
* We weren't consistently uploading a dirty BitmapData to the render
  backend before drawing to/from it.
* BitmapData.draw should *not* add a fill color - it should draw over
  the current contents of the BitmapData
* After drawing to a non-transparent BitmapData, we need to manually
  set the opacity back to 255 for each pixel (the drawing process
  takes transparency into account, but the opacity information is
  thrown away at the end).
2022-10-17 12:53:38 -05:00
..
shaders wgpu: Merge bitmap bind groups 2 and 3 2022-09-11 09:07:53 +02:00
src render: Improve support for BitmapData.draw 2022-10-17 12:53:38 -05:00
Cargo.toml chore: Extract Cargo `edition` to `[workspace.package]` 2022-10-14 22:13:29 +03:00
uniforms.md wgpu: Merge bitmap bind groups 2 and 3 2022-09-11 09:07:53 +02:00