Commit graph

24 commits

Author SHA1 Message Date
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
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
394b7ce940 RenderContext, RenderResourceContext and wgpu implementations 2020-04-11 18:40:30 -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
7b48960d42 upgrade to wgpu 0.5.0 2020-04-07 19:36:57 -07:00
Carter Anderson
8c4815b56e rename WgpuPlugin 2020-04-06 21:44:32 -07:00
Carter Anderson
b5d78477cf cargo fmt 2020-04-06 16:15:59 -07:00
Carter Anderson
683a70d8e7 add SchedulePlans 2020-04-06 01:57:00 -07:00
Carter Anderson
686e1422db Crate-ify (almost) everything 2020-04-05 20:19:02 -07:00