From f22644eef52ed295b4ae1f7b8c5ea9b3db749fde Mon Sep 17 00:00:00 2001 From: Florian Leeber Date: Tue, 30 Aug 2022 22:59:30 +0200 Subject: [PATCH] New Halium deviceinfo overlay for perf improvements --- device.mk | 3 ++- ubuntu/system/halium.yaml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 ubuntu/system/halium.yaml diff --git a/device.mk b/device.mk index d158ec8c0..a19e2e9ca 100755 --- a/device.mk +++ b/device.mk @@ -680,7 +680,8 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/ubuntu/usb/mtp-server.conf:system/halium/usr/share/upstart/sessions/mtp-server.conf \ $(LOCAL_PATH)/ubuntu/system/on-post-fs-data.rc:system/etc/init/on-post-fs-data.rc \ $(LOCAL_PATH)/ubuntu/system/on-post-fs-data.sh:system/bin/on-post-fs-data.sh \ - $(LOCAL_PATH)/ubuntu/recovery/ubports-mounter.sh:root/ubports-mounter.sh + $(LOCAL_PATH)/ubuntu/recovery/ubports-mounter.sh:root/ubports-mounter.sh \ + $(LOCAL_PATH)/ubuntu/system/halium.yaml:system/halium/etc/deviceinfo/devices/halium.yaml # Ubuntu Touch additional packages diff --git a/ubuntu/system/halium.yaml b/ubuntu/system/halium.yaml new file mode 100644 index 000000000..da4924780 --- /dev/null +++ b/ubuntu/system/halium.yaml @@ -0,0 +1,34 @@ +taimen: + PrettyName: Pixel 2XL + DeviceType: phone + GridUnit: 28 + SupportedOrientations: + - Portrait + - Landscape + - InvertedLandscape + MirAndroidPlatformServerBackpressure: + - false + MirAndroidPlatformServerPartialUpdates: + - true + MirAndroidPlatformServerEglSync: + - false + MirAndroidPlatformClientEglFlush: + - "!/usr/bin/unity8,!/usr/bin/lomiri,all" + +walleye: + PrettyName: Pixel 2 + DeviceType: phone + GridUnit: 23 + SupportedOrientations: + - Portrait + - Landscape + - InvertedLandscape + MirAndroidPlatformServerBackpressure: + - false + MirAndroidPlatformServerPartialUpdates: + - true + MirAndroidPlatformServerEglSync: + - false + MirAndroidPlatformClientEglFlush: + - "!/usr/bin/unity8,!/usr/bin/lomiri,all" +