Conversation
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.
(eager review 😛, guessing i should wait)
As rendy updated to the new winit version the change is included here too.
Let's talk about the ergonomics of the new mainloop. (See updated examples) What are your opinions? |
Restructure to use EventLoop::run instead of run_return Fix rendy by moving some system to the mainthread
@@ -19,9 +19,9 @@ license = "MIT/Apache-2.0" | |||
travis-ci = { repository = "amethyst/amethyst", branch = "master" } | |||
|
|||
[features] | |||
default = ["animation", "audio", "locale", "network", "renderer"] |
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.
Did you mean to commit this?
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.
Oops should only exclude audio because of rust-windowing/winit#1255
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.
Oh. The hightlight on github looked like I removed all defaults. Removing audio was intended because of the issue.
Current branch state:
It doesn't yet compile as
|
Something to watch (unblocks the |
Possible way to get amethyst usecase unblocked: rust-windowing/winit#1478 // Edit: Took my fix to winit, rebased the rendy branch on top of master. Seems to compile on linux so far. It seems that we'll need to make @azriel91 Feel free to pull my changes |
@semtexzv Heya, thank you very much for your effort 🙇♂️! I'm on another project for 2 weeks, but after that shall be focusing a lot on getting WASM going, and your changes definitely help! |
Closing -- best follow the WASM project, and use the |
Description
Update to rendy v0.5.x and winit v0.20.0-alpha5
Feel free to contribute.
Currently an in place upgrade without any new features added. Might allow for OpenGL
Status
Vulkan complains about the device being dropped before an object. Needs investigation.
Rest is working.
Not responding window might be an issue with our dispatcher blocking the main thread. Needs separate issue.
Blockers
Status: Waiting for 0.5.2
WindowEvent
inwinit 0.20.0
is!Clone
, which means we cannot read it from an event channel, then send it throughStateEvent
(which is whatStateEventReader
(generated by theEventReader
derive) does).Todo:
Decided by Tracking issue for promoting
!
to a type (RFC 1216) rust-lang/rust#35121Monitor changed in winit. I added a
@todo
Should we return underlying OOM Errors from submodules as
CreationError::OutOfMemory
orCreationError::Other
Changes
See Changelog of rendy and winit
PR Checklist
By placing an x in the boxes I certify that I have:
If this modified or created any rs files:
cargo +stable fmt --all
cargo clippy --all --features "empty"
cargo test --all --features "empty"