mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
8d1e53cfa9b9d6ffae46ea1f23aca22c353bf810
It passes the whole e2e test flow on my real device, a OnePlus 5 running LineageOS 16.0 (Android 9). I was also successful at running it against an x86-64 Android 8.0 emulator, but I'm not including any of that just yet. A patch later this week will include a piece of code to set up and start an emulator, which CI can then use to run the test. Also stop requiring the screen dimensions to be enforced when running in non-headless mode. An Android emulator can run at an arbitrary resolution, and even in headless mode, but a real Android device will have its own predefined resolution. Forcing the test user to set the -headless=false flag to not get annoying "unexpected dimensions" errors would be annoying. That check doesn't really mean much, as our test app doesn't care about the screen resolution. And we were only doing the check sometimes. Drop it entirely, making the resolution parameters merely a hint so that we can keep the drivers a bit more consistent. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Gio
Immediate mode GUI programs in Go for Android, iOS, macOS, Linux, FreeBSD, Windows, and WebAssembly (experimental). See gioui.org for details and documentation.
Issues
File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/gio@todo.sr.ht. For general discussion, use the mailing list: ~eliasnaur/gio@lists.sr.ht.
Contributing
Post discussion to the mailing list and patches to gio-patches. No Sourcehut account is required and you can post without being subscribed.
See the contribution guide for more details.
Description
Languages
Go
89.6%
C
7%
Java
1.7%
Objective-C
1.6%