-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
[Merged by Bors] - Reduce power usage with configurable event loop #3974
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
Closed
Closed
Changes from 22 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
f7ca793
Implement low power updates
aevyrie 564d9eb
Move camera closer
aevyrie 828090b
Make example more resource intensive
aevyrie 08b590b
Fix bug with delayed events
aevyrie 1e380e6
Bugfixes
aevyrie a41fe02
Improve example clarity
aevyrie 2cc429c
Fix bug where redraw requests prevent app exit
aevyrie 4856da1
Switch example from array of cubes to disabled vsync
aevyrie b8d0531
Add example to readme
aevyrie 94c60cc
Fix bug preventing `WinitConfig` resource changes from updating in th…
aevyrie a889087
Fleshed out example
aevyrie e4a0d61
Improve example comments for new functionality
aevyrie 6af14ce
Fix duplicate app update and perf bugs
aevyrie 989f128
clippy
aevyrie aefd419
Add bevy type `UpdateMode` to config event loop.
aevyrie 6299712
improve presets and docs
aevyrie 5917fdc
Merge remote-tracking branch 'upstream/main' into low-power_winit
aevyrie 75a6bfe
lint
aevyrie 75693ad
Update crates/bevy_winit/src/lib.rs
aevyrie f764b78
Update crates/bevy_winit/src/lib.rs
aevyrie 4895873
Update crates/bevy_winit/src/lib.rs
aevyrie 24903fa
Apply suggestions from code review
aevyrie de19a81
Code review cleanup
aevyrie 464f610
Doc corrections.
aevyrie 350d67a
Switch example to RMB
aevyrie 33413c1
Add frame counter and final touches to example
aevyrie ac921b3
Contextualize example comments, improvements
aevyrie 016a6f2
Update examples/window/low_power.rs
aevyrie c259331
Apply suggestions from code review
aevyrie 8df90d3
Review feedback: use captured var instead of Res<>
aevyrie f4d3e44
PR review feedback
aevyrie 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.