Commit graph

536 commits

Author SHA1 Message Date
Carter Anderson
5780bf4025 RenderGraph2: Finish graph executor, fix window textures 2020-04-23 20:53:38 -07:00
Carter Anderson
8326a1a3c2 RenderGraph2: Stager, (semi-functional) Executor, PassNode, and tests.
Rendering doesn't quite work yet, but we're close!
2020-04-23 17:24:41 -07:00
Carter Anderson
b6711d8eae use swap chain node 2020-04-21 11:43:35 -07:00
Carter Anderson
5fec31b63c render graph 2: schedulers + window nodes 2020-04-21 10:30:01 -07:00
Carter Anderson
210a50e781 Initial RenderGraph2. Port CameraResourceProvider 2020-04-20 14:29:21 -07:00
Carter Anderson
3c83e34cc1 re-enable opt=3 for debug 2020-04-19 22:31:14 -07:00
Carter Anderson
1143f16743 model loading works! 2020-04-19 19:29:33 -07:00
Carter Anderson
75ab0e21e5 upgrade legion 2020-04-19 19:11:12 -07:00
Carter Anderson
7fe2288814 pipeline specialization (support different primitive topologies within the same pipeline) 2020-04-19 19:06:41 -07:00
Carter Anderson
86d0ae6470 Fix mesh byte generation 2020-04-19 15:39:24 -07:00
Carter Anderson
d8b183de02 use cargo workspace 2020-04-19 13:23:19 -07:00
Carter Anderson
e59693fe67 exit events and systems 2020-04-19 12:13:04 -07:00
Carter Anderson
649ffebb7f New Mesh implementation (adapts to arbitrary vertex descriptors). Initial gltf model loading. 2020-04-19 10:08:47 -07:00
Carter Anderson
2aaf23b9fd remove unused resources variable 2020-04-16 12:13:05 -07:00
Carter Anderson
2eda84a0b8 Add latest and earliest methods to events and begin camera system port 2020-04-16 11:16:22 -07:00
Carter Anderson
dcd71d1b72 Rework AppBuilder system interfaces. Remove setup() in favor of startup_system 2020-04-15 19:42:17 -07:00
Carter Anderson
b5ec8e78d8 begin migrating to render resource providers to systems 2020-04-15 17:46:22 -07:00
Carter Anderson
71460baa3d cargo fmt 2020-04-15 15:55:00 -07:00
Carter Anderson
c213865cbf support downcasting RenderResourceContext ... this should be a part of std! 2020-04-15 15:52:29 -07:00
Carter Anderson
1f5f432e6c merge asset resources / support arbitrary asset handles / make them RwLocked 2020-04-15 12:48:04 -07:00
Carter Anderson
bcbddf8719 tweaks 2020-04-15 12:01:07 -07:00
Carter Anderson
07cf7897b1 add additional context to wgpu resource threading docs 2020-04-15 11:58:33 -07:00
Carter Anderson
318b7dee1a RwLock WgpuResources works now! 2020-04-15 11:42:56 -07:00
Carter Anderson
b53f198b99 partially working rwlock implementation (blocked on lifetime issues) 2020-04-14 20:17:22 -07:00
Carter Anderson
537d75bbce small notes 2020-04-14 11:04:25 -07:00
Carter Anderson
a99b5600bc Refactor render passes 2020-04-13 13:04:31 -07:00
Carter Anderson
837e1dc139 Port remaining functionality to RenderContext and remove Renderer 2020-04-12 14:47:41 -07:00
Carter Anderson
a8f5402ff1 make DrawTarget setup world read only. add render_resource_sets_system 2020-04-12 11:45:44 -07:00
Carter Anderson
1d44b4034f asset handle batcher system 2020-04-12 00:54:51 -07:00
Carter Anderson
32bce28b00 resource update is now parallel 2020-04-12 00:05:47 -07:00
Carter Anderson
77a6619bf4 update ResourceProvider::update to actually use read-only world 2020-04-11 20:32:25 -07:00
Carter Anderson
b9f4c0a53b move shader defs updates to their own systems. make UniformResourceProvider::update World read-only 2020-04-11 20:27:46 -07:00
Carter Anderson
394b7ce940 RenderContext, RenderResourceContext and wgpu implementations 2020-04-11 18:40:30 -07:00
Carter Anderson
08abef1c75 start making ResourceProvider::update world read-only 2020-04-11 13:29:29 -07:00
Carter Anderson
78d1958090 add some stage docs (and POST_UPDATE stage) 2020-04-10 18:25:10 -07:00
Carter Anderson
4b114c9dd1 prepare for parallel resource creation 2020-04-10 13:10:46 -07:00
Carter Anderson
de2fb1fca2 use RenderContext in ResourceProviders. make RenderContext contain a read-only view of global resources. Merge RenderContext changes back into global resources. 2020-04-10 01:39:38 -07:00
Carter Anderson
a7605b2d7a initial multi-threaded resource creation using WgpuRenderContext 2020-04-09 15:03:54 -07:00
Carter Anderson
d8c748644c "Arc" device 2020-04-09 12:35:15 -07:00
Carter Anderson
d9b2324f08 rename update_uniform_handles_info 2020-04-07 19:54:46 -07:00
Carter Anderson
7b48960d42 upgrade to wgpu 0.5.0 2020-04-07 19:36:57 -07:00
Carter Anderson
89d72ae044 default assets 2020-04-07 18:04:22 -07:00
Carter Anderson
f2b2065fbe make CommandBufferBuilder non-consuming 2020-04-07 13:29:11 -07:00
Carter Anderson
2565a69230 make WorldBuilder non-consuming 2020-04-07 13:25:01 -07:00
Carter Anderson
45e28ef32b add modular design as a goal 2020-04-06 22:11:28 -07:00
Carter Anderson
8c4815b56e rename WgpuPlugin 2020-04-06 21:44:32 -07:00
Carter Anderson
bd97da3a51 Add comments to examples and fix example_showcase script timing 2020-04-06 21:33:18 -07:00
Carter Anderson
67b9d182ed expand lib docs a little bit 2020-04-06 21:04:09 -07:00
Carter Anderson
9aae341a2c add bevy logo to api docs 2020-04-06 17:56:17 -07:00
Carter Anderson
574bc93e4f expand top level crate docs slightly and add hello world example 2020-04-06 17:39:06 -07:00