Closed rsglobal closed 4 years ago
As far as I ca see PinePhone has 720x1440 display; PineTab - 800x1280.
I've tried to change wallpaper to match screen resolution (1024x600), but I still see larger frame in `dumpsys SurfaceFlinger'.
-------------------------------------------------------------------------------------------
Layer name
Z | Window Type | Comp Type | Transform | Disp Frame (LTRB) | Source Crop (LTRB)
-------------------------------------------------------------------------------------------
com.android.systemui.ImageWallpaper#0
rel 0 | 2013 | CLIENT | 0 | 0 0 1024 600 | 0.0 0.0 1747.0 1024.0
- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - -
com.android.launcher3/com.android.launcher3.Launcher#0
rel 0 | 1 | CLIENT | 0 | 0 0 1024 600 | 0.0 0.0 1024.0 600.0
- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - -
StatusBar#0
rel 0 | 2000 | CLIENT | 0 | 0 0 1024 24 | 0.0 0.0 1024.0 24.0
- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - -
NavigationBar0#0
rel 0 | 2019 | CLIENT | 0 | 0 552 1024 600 | 0.0 0.0 1024.0 48.0
- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - -- - - - - - - - - - - - - - -
UI is much smoother now, but still it makes sense to fully eliminate the scaling, @AleksandrBulyshchenko , can someone investigate why it happens?
@rsglobal I'm going to investigate this.
I have created a pull request https://github.com/GloDroid/glodroid_device/pull/9 which adds overlays for PinePhone and PineTab with resized wallpapers at the same resolution as their displays.
This feature is included into the integration branch and will be available in the next release. @MaksymPrymierov , Thank you for your effort.
AOSP supply default wallpaper as large resolution image. Since PinePhone and PineTab display resolution is known, we can scale-down default wall-paper to match that resolution.
This will reduce RAM usage and increase UI performance, since SurfaceFlinger won't scale wallpaper every frame anymore.