-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder render sets, refactor bevy_sprite to take advantage #9236
Merged
Merged
Changes from 27 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
e62be96
Reorder render sets, prepare now occurs after sort
james-j-obrien 3ccb838
Cleanup after rebase
james-j-obrien 1732ab0
Refactor bevy_sprite to remove double sorting
james-j-obrien cb66efe
Refactor prepare_sprites to be clearer and more idiomatic
james-j-obrien 6c575d6
Remove duplicated data in SpriteBatch
james-j-obrien 8be84b7
Satisfy clippy
james-j-obrien 2f59700
Refactor UI rendering enough to restore functionality
james-j-obrien 4b00b96
Satisfy clippy
james-j-obrien 1cbaff0
Add additional check in queue_sprites to not queue sprites whose text…
james-j-obrien ec0e7a7
Fix bevy_ui and improve bevy_sprite
james-j-obrien 4a8c4ce
Fix batching logic when clipping ui nodes
james-j-obrien 6408611
Fix formatting
james-j-obrien 31de780
Add back the elusive render_range
james-j-obrien 40f7508
Fix 3d meshes
james-j-obrien 62ba9a6
Incorporate feedback, swap back to batch_size
james-j-obrien cc61c73
Fix mesh2d_manual example
james-j-obrien 71d8127
Remove all references to per_object_binding_dynamic_offset, move GpuC…
james-j-obrien 3acf3d0
Implement prepare_mesh_uniform_buffer to build MeshUniform buffer in …
james-j-obrien d7b9d15
Merge main
james-j-obrien c0de20d
Fix example
james-j-obrien a669dc1
Fix docs
james-j-obrien 18ac3dd
Remmove per_object_binding_dynamic_offset from Shadow PhaseItems
james-j-obrien 7e08a37
Moving various systems to account for the new ordering
james-j-obrien 7da82e9
Fix shadows
james-j-obrien 077c618
Satisfy clippy
james-j-obrien 2d8bfee
Move prepare_taa_history_textures for consistency
james-j-obrien b7a7580
Merge branch 'main' into sprite-refactor
james-j-obrien ff2d08e
update order
robtfm 6cfac8d
Merge pull request #1 from robtfm/render-reorder
james-j-obrien 5f4984d
Rename PrepareBuffers to PrepareResources
james-j-obrien 436d9b1
Make use of seen FixedBitSet
james-j-obrien d6fc11a
Improve docs
james-j-obrien 8e71d83
Satiate clippy
james-j-obrien 8691ed4
Add additional constraint to PrepareAssets, remove WindowSystem::Prepare
james-j-obrien 3763790
Merge branch 'main' into sprite-refactor
superdump e8b5ea3
Fix formatting
superdump File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we sort by pipeline here? Unrelated to this PR really, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do that separately. :)