Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 19 23:19
    icefoxen commented #1271
  • Feb 19 19:06
    jfizz commented #1209
  • Feb 19 09:11
    vinhig opened #1282
  • Feb 19 08:37
    dvc94ch synchronize #1274
  • Feb 19 05:53
    paulrouget opened #1281
  • Feb 19 05:42
    paulrouget unpinned #1167
  • Feb 19 05:42
    paulrouget unpinned #1160
  • Feb 19 05:42
    paulrouget unpinned #1172
  • Feb 17 23:10
    goddessfreya edited #1271
  • Feb 17 22:16
    dvc94ch synchronize #1274
  • Feb 17 19:47
    dvc94ch synchronize #1274
  • Feb 17 18:08
    dvc94ch synchronize #1274
  • Feb 17 18:07
    dvc94ch synchronize #1274
  • Feb 17 17:56
    dvc94ch synchronize #1274
  • Feb 17 17:50
    dvc94ch synchronize #1274
  • Feb 17 17:45
    dvc94ch synchronize #1274
  • Feb 17 17:39
    dvc94ch synchronize #1274
  • Feb 17 17:37
    dvc94ch synchronize #1274
  • Feb 17 16:31
    dvc94ch synchronize #1274
  • Feb 16 10:40
    goddessfreya transferred #1280
matrixbot
@matrixbot
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
matrixbot
@matrixbot
sebk greetings, so I using winit 0.20 on X11