ruffle/render
Aaron Hill 1edcbe438d core: Avoid several BitmapData GPU -> CPU sync
We don't need to perform a sync when getting the width/height,
getting or setting the 'disposed' status, or uploading to
a Context3D texture.

The Context3D change (using `copy_texture_to_texture` instead
of relying on the CPU pixels) has the added advantage of avoiding
a validation error when our source image row length isn't aligned
to `COPY_BYTES_PER_ROW_ALIGNMENT`

This dramatically speeds up the Fancy Pants World 4 loading time
(on a branch with my XML prs merged). Without this change, my
machine spends around 10 seconds on a blank white screen after
clicking 'Play'. With this change, the time spent on that screen
is reduced to around 1-2 seconds.
2023-03-17 04:56:03 -05:00
..
canvas avm2: Implement Stage3D depth test, blend factors, and fix bugs (#9845) 2023-03-12 23:43:58 +00:00
naga-agal render: Correctly handle BYTES_4 vertex data 2023-03-16 13:20:11 -05:00
src core: Avoid several BitmapData GPU -> CPU sync 2023-03-17 04:56:03 -05:00
webgl avm2: Implement Stage3D depth test, blend factors, and fix bugs (#9845) 2023-03-12 23:43:58 +00:00
wgpu core: Avoid several BitmapData GPU -> CPU sync 2023-03-17 04:56:03 -05:00
Cargo.toml fix(deps): update rust dependencies 2023-03-05 20:43:46 -06:00