ruffle/render/src
Aaron Hill 5d62ef90f2 wgpu: Use intermediate buffer for Context3DCommand::CopyBitmapToTexture
In a previous PR, I introduced an optimization that used
`copy_texture_to_texture` to copy directly from a BitmapData GPU
texture to a Stage3D GPU texture.

Unfortunately, this optimization is incorrect. A BitmapData GPU
texture can be modified at any time by normal AVM2 code - in
particular, in might be modified before we submit the encoded
`copy_texture_to_texture` command. This shows up in Sniper Team,
which re-uses BitmapData objects for multiple distinct textures.
The previous 'optimization' resulted in the wrong BitmapData contents
getting uploaded to a texture (since it was changed before the copy
command was submitted).
2023-05-20 17:38:26 -05:00
..
backend web: Log used renderer 2023-05-02 23:59:57 +03:00
backend.rs wgpu: Use intermediate buffer for Context3DCommand::CopyBitmapToTexture 2023-05-20 17:38:26 -05:00
bitmap.rs render: Clean-up. 2023-05-12 22:42:44 +02:00
commands.rs render: Inline `CommandList` methods 2023-04-04 13:10:45 -07:00
error.rs avm2: Improve Stage3D support for textures, register types, and opcodes 2023-03-03 15:58:46 -06:00
filters.rs swf: Deduplicate GradientFilter again 2023-02-28 16:25:12 +01:00
lib.rs render: Replace `ColorTransform` with `swf::ColorTransform` 2023-03-29 23:27:20 -07:00
matrix.rs tests: Expand `Matrix` unit tests to cover `PointDelta`s 2023-04-29 22:29:37 +03:00
quality.rs desktop: Add --quality option 2023-02-06 16:08:04 +01:00
shape_utils.rs Fix overflow bug in `shape_utils::winding_number_line()` 2023-05-17 07:21:13 +03:00
tessellator.rs render: Use `swf::Point<Twips>` in `DrawCommand::CurveTo` 2023-05-14 22:48:41 +03:00
transform.rs render: Replace `ColorTransform` with `swf::ColorTransform` 2023-03-29 23:27:20 -07:00
utils.rs render: Switch from log to tracing 2023-02-05 18:02:19 +01:00