From 6518409ecb5dee1b514aadcda37ffb93259c8303 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Mon, 23 Dec 2013 16:21:20 +0100 Subject: SoftwareGL Signed-off-by: Paul Kocialkowski --- BoardConfigCommon.mk | 13 ++----------- device_base.mk | 4 +--- .../SettingsProvider/res/values/defaults.xml | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 93999a1..0bc88f0 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -106,17 +106,8 @@ TARGET_BOOTANIMATION_USE_RGB565 := true # SkTextBox for libtvout BOARD_USES_SKTEXTBOX := true -# Hardware rendering -USE_OPENGL_RENDERER := true - -# TARGET_DISABLE_TRIPLE_BUFFERING can be used to disable triple buffering -# on per target basis. On crespo it is possible to do so in theory -# to save memory, however, there are currently some limitations in the -# OpenGL ES driver that in conjunction with disable triple-buffering -# would hurt performance significantly (see b/6016711) -TARGET_DISABLE_TRIPLE_BUFFERING := false - -BOARD_ALLOW_EGL_HIBERNATION := true +USE_OPENGL_RENDERER := false +TARGET_DISABLE_TRIPLE_BUFFERING := true # hwcomposer: custom vsync ioctl BOARD_CUSTOM_VSYNC_IOCTL := true diff --git a/device_base.mk b/device_base.mk index 778b987..3b6b6fc 100644 --- a/device_base.mk +++ b/device_base.mk @@ -43,7 +43,6 @@ DEVICE_PACKAGE_OVERLAYS := device/samsung/aries-common/overlay # These are the hardware-specific configuration files PRODUCT_COPY_FILES := \ device/samsung/aries-common/vold.fstab:system/etc/vold.fstab \ - device/samsung/aries-common/egl.cfg:system/lib/egl/egl.cfg \ device/samsung/aries-common/mxt224_ts_input.idc:system/usr/idc/mxt224_ts_input.idc # Init files @@ -139,8 +138,7 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ - frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ - packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml + frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml # The OpenGL ES API level that is natively supported by this device. # This is a 16.16 fixed point number diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml new file mode 100644 index 0000000..eb8ab40 --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml @@ -0,0 +1,21 @@ + + + + 0% + -- cgit v1.1