Aaron Hill
|
423d7e4cc4
|
render: Treat `update_texture` with invalid `BitmapHandle` as an error
This should be impossible to trigger from ActionScript, so
we shouldn't ignore it.
|
2022-09-16 22:03:15 -06:00 |
Nathan Adams
|
d867a370fc
|
wgpu: Cache direct bitmap draw bind groups (smoothing vs not)
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
a38cadfd39
|
wgpu: Cache shape pipelines per texture format & msaa
|
2022-09-11 09:07:53 +02:00 |
Aaron Hill
|
b62c17577b
|
wgpu: Switch to arena
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
c63aa2cfc8
|
wgpu: Moved Draw creation outside of backend
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
e7e0905647
|
wgpu: Moved Mesh, Draw and DrawType to their own file, and code that constructs a DrawType there too
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
f36bcac742
|
wgpu: Move actual frame rendering to Surface, deduplicates some code
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
b2ecd39648
|
wgpu: Enable MSAA for offscreen textures
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
69aba474e1
|
wgpu: Split off srgb and msaa code from backend to a Surface enum
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
03f7719c49
|
wgpu: Move quad into its own structure under Descriptors
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
a8e8b01a6c
|
wgpu: Use a static buffer for srgb transform uniforms, reworked it from Frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
91f3230a45
|
wgpu: Split off Frame into CommandRenderer and Frame - command renderer translates commands into draw calls on frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
22ba32b785
|
wgpu: Remove target from Frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
8616c898cc
|
wgpu: Remove globals from Frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
14ecc98780
|
wgpu: Pass quad vbo/ibo as slices
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
08471c6fb7
|
wgpu: Don't keep setting globals bind group, it only needs to be set once
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
41239039eb
|
wgpu: Moved all bind group layouts into their own struct
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
f33e6904cd
|
wgpu: Moved bind layouts out of Pipelines, they don't change
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
7e013183a7
|
wgpu: Removed Descriptors::pipelines, we don't need 3 pipelines
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
8b6c6f8a62
|
wgpu: Removed DescriptorsTargetData::surface_format and frame_buffer_format as they aren't needed to be target specific
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
6755e1ccbd
|
wgpu: Pass the pipelines to frame instead of deciding based on a macro
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
13657e16ca
|
wgpu: Make render_offscreen use its own Frame instead of making a whole new renderer backend
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
697369536c
|
wgpu: Split off code that actually renders a frame
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
267ea0fd13
|
render: Introduced render commands, moved to a command list model instead of direct rendering
|
2022-09-11 09:07:53 +02:00 |
Nathan Adams
|
c7f420dde5
|
wgpu: Moved WgpuRenderBackend into backend.rs
|
2022-09-11 09:07:53 +02:00 |