Commit graph

582 commits

Author SHA1 Message Date
Carter Anderson
20cc41a639 create shader module from source 2020-05-06 19:26:55 -07:00
Carter Anderson
e459b42418 handle::new now creates a new random handle 2020-05-06 19:26:28 -07:00
Carter Anderson
75614f5084 Ui depth from parent (falls back to insertion order for orphans), do ui rect size offsets before rendering, 2020-05-06 13:49:07 -07:00
Carter Anderson
b5cdb7c5fc upgrade wgpu 2020-05-05 21:25:56 -07:00
Carter Anderson
c5ca59dc4d cargo fmt 2020-05-05 18:44:32 -07:00
Carter Anderson
800c4342ed disable threaded graph execution until leak is fixed 2020-05-05 13:37:13 -07:00
Carter Anderson
cb49e14ae0 remove todo 2020-05-05 13:34:15 -07:00
Carter Anderson
2b0c9491a1 remove unused primary_window 2020-05-05 13:34:05 -07:00
Carter Anderson
c388598996 use rwlock in graph executor instead of cloning 2020-05-05 13:33:47 -07:00
Carter Anderson
2b8789dc8c queue frees in system nodes 2020-05-05 13:12:50 -07:00
Carter Anderson
0d87ebe866 simplify / consolidate wgpu resource mangement 2020-05-05 12:45:37 -07:00
Carter Anderson
012a33ed32 add headless render resource context 2020-05-04 22:02:03 -07:00
Carter Anderson
2fd7020646 rename GlobalRenderResourceContext to RenderResources 2020-05-04 19:34:15 -07:00
Carter Anderson
7560ecf9d8 correct "its" 2020-05-04 14:18:46 -07:00
Carter Anderson
4735c68ab4 add diagnostic examples 2020-05-04 14:14:49 -07:00
Carter Anderson
704a742661 Print diagnostics plugin 2020-05-04 13:42:49 -07:00
Carter Anderson
ea16f6fc56 frame time diagnostic plugin 2020-05-04 13:21:14 -07:00
Carter Anderson
75f1362433 upgrade wgpu 2020-05-04 13:11:51 -07:00
Carter Anderson
0e63fd3838 wgpu resource diagnostic plugin 2020-05-04 12:36:18 -07:00
Carter Anderson
6f32d18dc5 diagnostic filtering 2020-05-04 11:43:21 -07:00
Carter Anderson
ac5b6c5046 remove bevy versions 2020-05-04 11:23:59 -07:00
Carter Anderson
af2a111801 use ints instead of bytes for uuids 2020-05-04 11:20:12 -07:00
Carter Anderson
ba795fdfb5 "fix" ui_bench 2020-05-04 11:06:02 -07:00
Carter Anderson
916978307b fix anchor descriptions 2020-05-04 11:03:52 -07:00
Carter Anderson
076fef873a Anchor constants 2020-05-04 11:02:04 -07:00
Carter Anderson
f5149cab05 move color constants to Color struct 2020-05-04 11:01:57 -07:00
Carter Anderson
dcc34473e5 sprites 2020-05-04 01:23:40 -07:00
Carter Anderson
1056b79abf ui textures 2020-05-03 23:49:45 -07:00
Carter Anderson
08c6679f38 add color constants 2020-05-03 23:47:52 -07:00
Carter Anderson
291b948b61 fix "ui_bench" 2020-05-03 19:32:27 -07:00
Carter Anderson
d50313c285 ui is back! 2020-05-03 19:30:31 -07:00
Carter Anderson
05dbf31fd1 derive struct as uniform 2020-05-03 17:54:16 -07:00
Carter Anderson
736faa3f46 import FromBytes for glam types 2020-05-03 17:05:45 -07:00
Carter Anderson
41be55bf8d custom glam with zerocopy impls 2020-05-03 16:55:17 -07:00
Carter Anderson
dac9cac776 ui render graph 2020-05-03 12:35:07 -07:00
Carter Anderson
5537eabb8c "base render graph": a common baseline graph 2020-05-03 10:54:30 -07:00
Carter Anderson
a4fe37add1 add plugin example 2020-05-03 01:30:10 -07:00
Carter Anderson
ff0db0df14 quality pass on ecs_guide 2020-05-03 00:48:36 -07:00
Carter Anderson
2fb9e115ff Make ecs_guide a "real game" 2020-05-03 00:21:32 -07:00
Carter Anderson
24e5238e75 asset handles now use uuids instead of ascending ints 2020-05-02 18:35:18 -07:00
Carter Anderson
71a4503df1 Move ecs_guide main function to the end of the file 2020-05-02 18:32:23 -07:00
Carter Anderson
355e219608 begin porting ui to new render graph 2020-05-02 17:56:30 -07:00
Carter Anderson
dd84f185f8 fix glsl-to-spirv test 2020-05-02 16:30:45 -07:00
Carter Anderson
0f74c64a16 add "temporary" note to glsl-to-spirv 2020-05-02 14:03:37 -07:00
Carter Anderson
a5a7edf07e remove shaderc dependency (makes windows builds seamless) 2020-05-02 13:57:22 -07:00
Carter Anderson
50f8134ca0 rewrite batcher to be fully generic 2020-05-02 10:28:29 -07:00
Carter Anderson
fd97bb7bc7 fix showcase script 2020-05-01 13:55:07 -07:00
Carter Anderson
7b79b3de8d organize examples and add ecs guide 2020-05-01 13:12:47 -07:00
Carter Anderson
368a1b8815 cargo fmt 2020-05-01 01:50:07 -07:00
Carter Anderson
4315455859 add system fn todos 2020-05-01 01:47:59 -07:00