Welcome to tomaka/glutin, the official gitter channel for Glutin and Winit! - Github: https://github.com/rust-windowing/glutin, https://github.com/rust-windowing/winit - Crates.io: https://crates.io/crates/glutin, https://crates.io/crates/winit - Docs: https://docs.rs/glutin/0.21.0/glutin, https://docs.rs/winit/0.20.0/winit/
murarth on master
Fix broken link in documentatio… (compare)
kchibisov on v0.26.0
kchibisov on master
Release version 0.26.0 (compare)
kchibisov on master
Usa stable version of rustfmt f… (compare)
UndeadLeech on Freenode
https://docs.rs/winit/0.23.0/winit/event_loop/struct.EventLoop.html#method.new
UndeadLeech on Freenode
I don't see how it could be any more clear tbh.
UndeadLeech on Freenode
You're aware that EventLoop is !Send + !Sync, right?
UndeadLeech on Freenode
But I don't see why you would ever do that.
UndeadLeech on Freenode
Since that just increases latency.
Ralith
> <@freenode_fuzbuz:matrix.org> As I'm making the C FFI interface for the rendering crate, I need to either turn that raw handle into a winit Window or I need to make changes to the rendering to allow using raw handles. The former is cleaner but the latter isn't a problem.
the latter is definitely the idiomatic thing to do, fwiw; this is the problem raw-window-handle was intended to solve in the first place
arturkovacs
Has anyone made a winit app that can do this?
arturkovacs
Yeah, not an issue, I can associate the filetype to my app but the problem relies in that macOS doesn't seem to use the program arguments to specify the file that the user selected. Instead there's an event that the application receives that tells the path to the files
arturkovacs
UndeadLeech: What I meant by event is that this function gets called: https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428612-application?language=objc
UndeadLeech on Freenode
That seems unnecessarily complicated, so that's probably how it works on macOS, yes. :)
arturkovacs
Haha. As I was looking around I found other callback that can be registered for essentially the same thing from what I could tell but this was the one that worked when I tested with a minimal Objective-C test app
arturkovacs
* Haha. As I was looking around I found other callbacks that can be registered for essentially the same thing from what I could tell but this was the one that worked when I tested with a minimal Objective-C test app
arturkovacs
Based on the feedback I got so far it seems to me that this is a missing feature so I opened: rust-windowing/winit#1751
UndeadLeech on Freenode
It certainly can emit it.
ildar
Anyone using or aware of https://github.com/rust-windowing/android-ndk-rs/ ?
kchibisov on Freenode
Is Francesca here though?
ildar
Is it worth asking here about it?
kchibisov on Freenode
I think, I'm not aware of any other channel to talk about winit/glutin.
kchibisov on Freenode
ildar: if anything, I'd suggest to ask Android maintainers https://github.com/rust-windowing/winit/wiki/Testers-and-Contributors
ildar
> <@freenode_kchibisov:matrix.org> Is Francesca here though?
Dunno
kchibisov on Freenode
Since I'm not sure if they are here.
ildar
Ahh! Ok, thanks
ildar
Then one general question: if i want to write an app without UI, then i should use https://github.com/rust-windowing/android-ndk-rs/, right?
ildar
And ui app would require Winit?
ildar
Demo apk available?
kchibisov on Freenode
I can only speak for Linux backends.
kchibisov on Freenode
But since it exists and I saw webgpu things working with it, I think it should work...
maroider[m] on Freenode
The information you need to get an APK ought to be written down somewhere in that repo
maroider[m] on Freenode
I recall messing around with it at some point, but the details are lost to me now
msiglreith
There is a small entry in the winit readme: https://github.com/rust-windowing/winit#android@shiri:poddery.com
was kicked by @appservice-irc:matrix.org
("Idle for 30+ days").
@eragon:matrix.drycat.fr
was kicked by @appservice-irc:matrix.org
("Idle for 30+ days").
@tuzz:matrix.org
was kicked by @appservice-irc:matrix.org
("Idle for 30+ days").