Commit graph

7211 commits

Author SHA1 Message Date
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
Carter Anderson
ecf89a5ba7 Add some top level bevy crate docs 2020-04-06 17:21:15 -07:00
Carter Anderson
0af36cfaed make every bevy dependency optional in bevy crate 2020-04-06 17:03:21 -07:00
Carter Anderson
b5d78477cf cargo fmt 2020-04-06 16:15:59 -07:00
Carter Anderson
1d5388c4f0 cleanup cargo.tomls 2020-04-06 16:13:07 -07:00
Carter Anderson
b1c583f500 crate-ify serialization. crate-ification is now complete! 2020-04-06 16:09:58 -07:00
Carter Anderson
398c89d307 use "min_specialization" feature 2020-04-06 15:54:17 -07:00
Carter Anderson
ab86487215 remove release customization and embrace dev as the default 2020-04-06 15:43:38 -07:00
Carter Anderson
b19e3004b8 rework marco modules, crate-ify ui 2020-04-06 14:20:53 -07:00
Carter Anderson
016bf2152c rename default_stage to stage 2020-04-06 02:00:00 -07:00
Carter Anderson
683a70d8e7 add SchedulePlans 2020-04-06 01:57:00 -07:00
Carter Anderson
1471cc84c5 crate-ify bevy_diagnostic 2020-04-06 00:12:54 -07:00
Carter Anderson
819c7708f9 remove env_logger from App::build() 2020-04-05 20:23:39 -07:00
Carter Anderson
686e1422db Crate-ify (almost) everything 2020-04-05 20:19:02 -07:00
Carter Anderson
0202dcb009 Use type_name as plugin name default 2020-04-05 14:12:14 -07:00
Carter Anderson
7bb889bada refactor renderer to avoid resource access collisions. this fixes the legion errors in debug builds.
NOTE: these "random resource access" issues are a pretty compelling reason to remove Resources from the render api
2020-04-05 13:22:27 -07:00
Carter Anderson
6d53100ff3 mouse motion 2020-04-05 00:32:53 -07:00
Carter Anderson
ec65cfef4a Add mouse input 2020-04-04 23:42:39 -07:00
Carter Anderson
5b83698738 add move roadmap, readme, and faq to the bevy website 2020-04-04 21:48:44 -07:00
Carter Anderson
f089df3a49 keyboard input events 2020-04-04 14:59:49 -07:00
Carter Anderson
4c3af427e9 dont force static lifetime on appplugin string 2020-04-04 13:00:52 -07:00
Carter Anderson
ef8c85f0c7 cargo fmt 2020-04-04 12:43:16 -07:00
Carter Anderson
5cbf606ef7 make window its own plugin and rename add_defaults to add_default_plugins 2020-04-04 12:40:32 -07:00
Carter Anderson
f6f8ba2cb6 Document and test Events. Rename EventHandle to EventReader. Fix buffer indexing. Customizable bevy path for proc macros 2020-03-31 18:04:54 -07:00
Carter Anderson
8a759d3b18 begin work on supporting multiple swap chains 2020-03-30 22:23:48 -07:00
Carter Anderson
bfa8afbc97 some cleanup wgpu_renderer cleanup 2020-03-30 19:34:48 -07:00