I tried to build the "Kitchen" Example, and it worked well on desktop. But when built for android, I got a lot of strange graphical problems. Here is a video demonstrating what I saw:
What phone model are you using?
LG VS501.
I don't have a device that reproduces the bug, but there's a change the recent fix for Samsung S9,
gioui.org/commit/c2f99fb0e9
may affect this issue. Can you try again from at least revision
gioui.org/commit/1eedd19
? You can either
git pull
if you checked out Gio, or usego get gioui.org/example@1eedd19231a
if you ran kitchen from another main module.
I tried building the latest, but it didn't solve it. The "gophers" example seems to work well, other than being very slow (5fps maybe).
Can it be upgraded to Android 9? I bought a similar LG K20 LMX120 that unfortunately doesn't exhibit the graphic glitches (but is still laggy). It runs Android 9.
No, nor can it be rooted. Although I don't think upgrading software should be required to run an app.
I'm probably not going to be using this software, as it does not fit my needs, but thank you all for working on it anyway.
I do some tests with my old phone, Motorola Maxx, from 2014/2015. Also I test against the Xiaomi Redmi 7A.
I only test using the Kitchen example. My experience was precisely the "very slow (5fps maybe)". In my case, I found that the root cause is the Editor. Then, @~eliasnaur make a proper fix.
Now, it's running really great. My old 2015 phone, with Android 6.0.1, is now running the Gio really nice. It feels like it's running ~25FPS, it's not bad considering that the phone have bunch of apps and even native apps (like browser, settings...) is lagging too. XD
I'm not sure if this could fix the @~petabyte issues. I think that the graphical issues may still an problem. :\