ruffle/render
Aaron Hill 671ebdfa8f wgpu: Execute Context3D commands immediately
Now that most of the complicated Context3D methods have been
implemented, we can simplify the overall design. Instead of queueing
up commands and having `present` execute them in a loop, we
can execute each command immediately. The key insight is that
a `RenderPass` is only needed for `DrawTriangles`, so we don't
have to store it in `Context3D` and deal with complicated lifetime
issues.

The old behavior gave us implicit double-buffering behavior,
since nothing would get rendered until a 'present' call.
Now that a 'drawTriangles' call will immediately submit
a draw command, we need to implement actual double buffering.
This is done in the next commit.
2023-04-02 19:24:23 -07:00
..
canvas wgpu: Execute Context3D commands immediately 2023-04-02 19:24:23 -07:00
naga-agal chore(deps): lock file maintenance rust dependencies 2023-03-28 09:31:15 +03:00
src wgpu: Execute Context3D commands immediately 2023-04-02 19:24:23 -07:00
webgl wgpu: Execute Context3D commands immediately 2023-04-02 19:24:23 -07:00
wgpu wgpu: Execute Context3D commands immediately 2023-04-02 19:24:23 -07:00
Cargo.toml chore(deps): lock file maintenance rust dependencies 2023-03-28 09:31:15 +03:00