Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 19 20:54
    goddessfreya synchronize #1239
  • Jan 19 09:34
    goddessfreya commented #1239
  • Jan 19 09:33
    goddessfreya synchronize #1239
  • Jan 18 06:02
    goddessfreya commented #1239
  • Jan 18 06:02
    goddessfreya commented #1239
  • Jan 18 05:25
    goddessfreya commented #1239
  • Jan 16 06:57
    goddessfreya synchronize #1239
  • Jan 16 06:54
    goddessfreya synchronize #1239
  • Jan 16 06:53
    goddessfreya synchronize #1239
  • Jan 16 06:50
    goddessfreya synchronize #1239
  • Jan 16 06:01
    goddessfreya commented #1262
  • Jan 16 05:59
    goddessfreya transferred #1266
  • Jan 16 02:38
    chichid commented #1266
  • Jan 16 00:36
    goddessfreya commented #1265
  • Jan 16 00:34
    goddessfreya commented #1265
  • Jan 16 00:30
    goddessfreya labeled #1251
  • Jan 16 00:30
    goddessfreya unlabeled #1251
  • Jan 16 00:29
    goddessfreya commented #1265
  • Jan 16 00:13
    goddessfreya commented #1266
  • Jan 16 00:11
    goddessfreya labeled #1266
matrixbot
@matrixbot
furiouzz Well, I am learning Rust since June. Cried a bit with wgpu 😂, create small task runner for learning purpose (https://github.com/FuriouZz/wk-rs) and read a lot of articles.
Levans I mean, 90% of winit is plumbing anyway, so... ^^"
furiouzz Every cross-platform project are kind of plumbing haha
matrixbot
@matrixbot
UndeadLeech on Freenode gentz, do you know how with_hardware_acceleration(None) should behave on macOS? Under which circumstances would that accelerate?
UndeadLeech on Freenode It seems like None is equal to false?
matrixbot
@matrixbot
furiouzz Well I succeeded the step 1, except an error with the Instant dependency the traitstd::hash::Hashis not implemented forinstant::wasm::Instant``. wasm::Instant wrap a f64 and a f64 can't be hashed =/
matrixbot
@matrixbot
est31 on Freenode <UndeadLeech> est31: Nah, that would have been a terrible idea. Because they didn't have proper support for all platforms.
est31 on Freenode good point
est31 on Freenode but even then you can have an LTS that you accept bugfixes for and some experimental but proper releases with removed support
UndeadLeech on Freenode I've considered this myself before and I don't think it would be acceptable to make any official release that removes support for a platform that was previously working just fine.
UndeadLeech on Freenode That's a massive red flag imho, while pre-releases are just fine.
matrixbot
@matrixbot
heeen on Freenode can someone help me with the two fixmes here https://gist.github.com/heeen/9e36b28f4251a84c5f1a1411044231a2
heeen on Freenode this is adapted from ash's example code
UndeadLeech on Freenode The borrow_mut() looks problematic. Have you tried without that?
matrixbot
@matrixbot
heeen on Freenode what would the line look like
matrixbot
@matrixbot
UndeadLeech on Freenode Just remove the borrow_mut().
heeen on Freenode uhm
heeen on Freenode event_loop is of type RefCell<EventLoop>
heeen on Freenode it doe snot have run
heeen on Freenode no?
UndeadLeech on Freenode Oh, sorry. I expected the event loop to be owned.
UndeadLeech on Freenode Which raises the question, why is it not?
heeen on Freenode maybe it could be owned
UndeadLeech on Freenode I'd assume that would fix the error.
heeen on Freenode I don't know. I'm a rust beginner, really, coming from c++
matrixbot
@matrixbot
heeen on Freenode and this code is trying to make ashs examples build with winit master
UndeadLeech on Freenode Try removing the RefCell in the event_loop struct type and then the Refcell::new and the borrow_mut.
UndeadLeech on Freenode Then it should work.
heeen on Freenode because at older winit was just not delivering window events in time or at all
UndeadLeech on Freenode I'm not sure who ash is.
UndeadLeech on Freenode Unless you're talking about pokemon that is.
heeen on Freenode UndeadLeech: https://github.com/MaikKlein/ash
heeen on Freenode ok, that seems to work so far. not sure if the full example will still work though.
heeen on Freenode thanks.
heeen on Freenode the second fixme is about the F parameter not living long enough
heeen on Freenode should it be +'static?
UndeadLeech on Freenode I don't see why it wouldn't.
UndeadLeech on Freenode By which I mean I don't immediately see why the events_loop is in a refcell in the example.
heeen on Freenode actually, no it does not work
heeen on Freenode annot move out of self.event_loop which is behind a shared reference
heeen on Freenode without the refcell
matrixbot
@matrixbot
UndeadLeech on Freenode Try taking self instead of &self.
UndeadLeech on Freenode The method will never return anyways.
matrixbot
@matrixbot
gentz > gentz, do you know how with_hardware_acceleration(None) should behave on macOS? Under which circumstances would that accelerate?
UndeadLeech, None would mean don't care, so I guess it might give no hardware acceleration? It should probably prefer to hardware accelerate, but like, I don't know anything about the MacOS backend, so /shrug
matrixbot
@matrixbot
furiouzz stdweb features does already work on winit? https://github.com/rust-windowing/winit/issues/944#issuecomment-575991946
matrixbot
@matrixbot
gentz Pinged ryanisaacg, furiouzz
matrixbot
@matrixbot
furiouzz Thanks gentz
gentz btw, I'd check if master builds, if so, the gamepad branch probably needs a rebase
matrixbot
@matrixbot
furiouzz It already needs a rebase with the Hash Trait missing on instant library
furiouzz I made a pull request to the instant repos and the author accepted. But I saw that on the master branch, we removed the Hash Trait on Event in event.rs