Commit graph

699 commits

Author SHA1 Message Date
Carter Anderson
f72c4beadf transform: run transform systems at startup and move transform systems to POST_UPDATE 2020-06-22 12:55:54 -07:00
Carter Anderson
6cd5af6f74 app: move startup stages to their own module 2020-06-22 12:55:00 -07:00
Carter Anderson
e921ae0199 sprite: use bevy_transform types in sprite sheet entities 2020-06-22 12:35:33 -07:00
Carter Anderson
f1786ec20a sprite: use bevy_transform types in sprite entities 2020-06-22 12:14:40 -07:00
carter
9e12031a6b example showcase: use a more cross-platform friendly timer 2020-06-22 11:33:12 -07:00
Carter Anderson
fa9348fe2b text: use quad zindex when drawing labels 2020-06-21 18:55:47 -07:00
Carter Anderson
c654987ae3 fix bug where pipelines used unspecialized shaders 2020-06-21 18:55:22 -07:00
Carter Anderson
99a3ee6570 fix texture atlas bytes test 2020-06-21 18:26:11 -07:00
Carter Anderson
faacd2778d sprite: add color to TextureAtlasSprite and make Vec3 16 bytes again to account for glsl UBO layout 2020-06-21 17:43:36 -07:00
Carter Anderson
17d70f7d67 bytes: FromBytes trait and round trip tests 2020-06-21 12:25:36 -07:00
Carter Anderson
ecea30cadb text: new atlased rendering finally works!
removed old render-to-texture rendering
2020-06-20 12:40:37 -07:00
Carter Anderson
da3d6983a7 text: immediate-mode atlased text rendering works, but theres no character positioning/layout yet 2020-06-19 13:45:26 -07:00
Carter Anderson
a3c1b7930e render: fix SharedBuffers render resource context 2020-06-19 13:44:21 -07:00
Carter Anderson
4246d47fec render: move pipeline compilation and bind group creation into draw stage. impl ResourceSet for DrawContext. progress on text drawing. general cleanup 2020-06-18 17:27:20 -07:00
Carter Anderson
085cda8bc6 legion: remove filter types from system_fn macro and IntoSystem and use "casting" instead 2020-06-18 11:53:06 -07:00
Carter Anderson
74d0055a3d render: move dynamic_bindings to PipelineSpecialization
This is a temporary step back in ergonomics as we are no longer automatically inferring dynamic bindings from RenderResourceBindings
2020-06-17 18:10:29 -07:00
Carter Anderson
0931fd0266 fix a few things in shader examples 2020-06-17 17:44:26 -07:00
Carter Anderson
e89c693c4d render: add SpecializedPipeline and SpecializedShader types 2020-06-17 13:27:10 -07:00
Carter Anderson
e57fdca1bc render: more progress on immediate mode rendering and DrawableText 2020-06-17 13:10:33 -07:00
Carter Anderson
f4acbdddad SharedBuffersNode 2020-06-16 22:23:33 -07:00
Carter Anderson
1dd81587dd events: iter_current_update_events 2020-06-16 22:20:08 -07:00
Carter Anderson
e855995145 cargo fmt 2020-06-15 12:47:35 -07:00
Carter Anderson
8a704a3e28 render: add AssetRenderResourceBindings 2020-06-15 12:45:18 -07:00
Carter Anderson
f799d3ac93 render: add RenderPipeline and begin moving logic there 2020-06-15 00:08:50 -07:00
Carter Anderson
97edaa7343 render: rename ResourceType to RenderResourceType 2020-06-14 15:24:33 -07:00
Carter Anderson
3786224b28 render: replace ResourceInfo with ResourceType 2020-06-14 15:22:31 -07:00
Carter Anderson
574656b767 render: remove RenderResources wrapper type 2020-06-14 12:32:06 -07:00
Carter Anderson
0fec350411 render: rename "Assignment" to "Binding" and "AssignmentSet" to "BindGroup" 2020-06-14 12:02:19 -07:00
Carter Anderson
0f608fc90f render: add "specific" ids for buffers, textures, and samplers. Use them instead of RenderResourceIds wherever possible 2020-06-14 11:41:42 -07:00
Carter Anderson
516cf9ddf0 text: font atlas generation. initial Drawable boilerplate. temporary font atlas debug example 2020-06-13 18:53:31 -07:00
Carter Anderson
5f0363a4f5 render: move more render code into system scheduler 2020-06-13 18:38:25 -07:00
Carter Anderson
eed40fee9c render: initial SharedBuffer 2020-06-13 18:37:02 -07:00
Carter Anderson
6362b2a516 render: support arbitrary RenderResource byte lengths and temporarily disable RenderResource asset change events 2020-06-13 18:34:50 -07:00
Carter Anderson
8803bcd92e include buffer range when hashing RenderResourceAssignments 2020-06-11 11:12:23 -07:00
Carter Anderson
fc4160ea41 AssetRenderResourceNodes now consume asset change events. Remove EntitiesWaitingForAssets in favor of DrawState. 2020-06-10 18:54:17 -07:00
Carter Anderson
2e48269923 migrate UniformNode / AssetUniformNode to query system fns 2020-06-10 16:02:50 -07:00
Carter Anderson
3c3449b719 RenderResourceSet builder pattern 2020-06-10 15:45:33 -07:00
Carter Anderson
e8e3e3c20f move FloatOrd to bevy_core 2020-06-10 15:35:23 -07:00
Carter Anderson
f4b07ec9c7 update profiling doc 2020-06-10 00:24:28 -07:00
Carter Anderson
3d07fbdc81 render: "Immediate Mode" draw api
This replaces Renderable with Draw/RenderPipelines components and makes various aspects of the renderer much simpler and legible
2020-06-09 23:16:48 -07:00
Carter Anderson
3ccaebf9a5 upgrade wgpu 2020-06-09 10:57:18 -07:00
Carter Anderson
1426208e2f remove DrawTargets in favor of PassNodes and in preparation for "immediate mode" drawing api 2020-06-08 14:35:13 -07:00
Carter Anderson
6531ccddab remove lld linker config from macos 2020-06-08 10:09:03 -07:00
Carter Anderson
efbe794f7d fix error in fast build config 2020-06-08 10:08:36 -07:00
Carter Anderson
b965bfc116 github actions: remove cache (just caused hangs and failures) 2020-06-08 10:06:27 -07:00
Carter Anderson
086059c11f github actions: move cargo home to local directory in attempt to correctly cache 2020-06-08 01:37:55 -07:00
Carter Anderson
5bf7e92c23 remove shaderc from readme 2020-06-08 01:31:31 -07:00
Carter Anderson
91edc6fa2b github actions: cargo check 2020-06-08 01:05:56 -07:00
Carter Anderson
8fbbbba674 add github action build cache 2020-06-07 23:40:33 -07:00
Carter Anderson
50651fa5dd specify rust stable toolchain 2020-06-07 23:37:36 -07:00