You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I was developing an Android Application using Avalonia but noticed that scrolling or anything else in my android app is very laggy.
I started to debug, and find out that Avalonia doesn't use GPU rendering in Android and lags badly.
Below are videos showing (with red and green) that gpu (hardware acceleration) is getting called and optimizes phone to 60 fps.
In video there is also demo where those Hardware Acceleration calls are not used, and it's likely that the rendering is done only on CPU.
Also there are comparing between Android Studio app (plain application) and Avalonia application.
Also, the dev options you enabled to show the gpu behavior is called View Updates. It only shows when a view is drawn. It will always show 1 update when the view is created on real GPU accelerated views, like games and our renderer. Because we render directly to the gpu surface provided by the OS. So yeah, what you did isn't a good metric for gpu behavior.
Describe the bug
Hello, I was developing an Android Application using Avalonia but noticed that scrolling or anything else in my android app is very laggy.
I started to debug, and find out that Avalonia doesn't use GPU rendering in Android and lags badly.
Below are videos showing (with red and green) that gpu (hardware acceleration) is getting called and optimizes phone to 60 fps.
In video there is also demo where those Hardware Acceleration calls are not used, and it's likely that the rendering is done only on CPU.
Also there are comparing between Android Studio app (plain application) and Avalonia application.
367693828-93d9c895-d022-423e-a510-cbacb5b21551.mp4
367693814-450efbc0-4ccf-4571-be96-ae8d827695e4.mp4
To Reproduce
Setup a listbox (recycler view) with elements you like and scroll, you will see how bad lags it is.
Expected behavior
Not to lag, and work on GPU.
Avalonia version
11.1.3
OS
Android
Additional context
No response
The text was updated successfully, but these errors were encountered: