Skip to content
Permalink
Browse files

Display and architecture related updates and cleanup

  • Loading branch information
Dazzozo committed Jan 11, 2013
1 parent 21610d5 commit 4d8e891f623a67feebd56f8d5505be79d4f66e73
Showing with 10 additions and 19 deletions.
  1. +5 −12 BoardConfig.mk
  2. +5 −7 system.prop
@@ -11,15 +11,15 @@ TARGET_NO_RADIOIMAGE := true

TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_SMP := true

TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv7-a-neon

ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_ARCH_VARIANT_CPU := cortex-a5

BOARD_USES_QCOM_HARDWARE := true
COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE

TARGET_EXTRA_CFLAGS += $(call cc-option,-march=armv7-a -mtune=cortex-a5)
TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp

@@ -55,23 +55,16 @@ BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := u8815
# Graphics
BOARD_EGL_CFG := device/huawei/u8815/configs/egl.cfg
USE_OPENGL_RENDERER := true
BOARD_ADRENO_DECIDE_TEXTURE_TARGET := true
BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
BOARD_USE_SKIA_LCDTEXT := true
TARGET_GRALLOC_USES_ASHMEM := true

# Touchscreen
BOARD_USE_LEGACY_TOUCHSCREEN := true

# Video
COMMON_GLOBAL_CFLAGS += -DQCOM_ICS_DECODERS -DQCOM_NO_SECURE_PLAYBACK

# Web Rendering
WITH_JIT := true
ENABLE_JSC_JIT := true
ENABLE_WEBGL := true
TARGET_FORCE_CPU_UPLOAD := true
HTTP := chrome
JS_ENGINE := v8

# USB
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/class/android_usb/android0/f_mass_storage/lun%d/file
@@ -111,7 +104,7 @@ TARGET_CUSTOM_WIFI := ../../device/huawei/u8815/libhardware_legacy/wifi/wifi.c
# Kernel
TARGET_KERNEL_SOURCE := kernel/huawei/u8815
TARGET_KERNEL_CONFIG := cyanogenmod_u8815_defconfig
BOARD_KERNEL_CMDLINE := androidboot.hardware=huawei no_console_suspend=true
BOARD_KERNEL_CMDLINE := androidboot.hardware=huawei
BOARD_KERNEL_BASE := 0x00200000
BOARD_PAGE_SIZE := 2048

@@ -18,15 +18,13 @@ dalvik.vm.heapsize=128m
dalvik.vm.heapstartsize=5m

# Display
# We should be using mdp composition but
# this is causing issues for 7x27a on CM
debug.composition.type=gpu
debug.hwc.dynThreshold=1.91
debug.sf.hw=1
debug.composition.type=mdp
debug.fb.rgb565=0
debug.hwc.dynThreshold=1.9
debug.sf.swaprect=1
gfx.highend_override=yes
hwui.render_dirty_regions=true
persist.sys.use_dithering=2
persist.sys.use_dithering=1
ro.max.fling_velocity=4000
ro.opengles.version=131072
ro.sf.lcd_density=240
@@ -38,7 +36,7 @@ ro.confg.hw_appversion=U8815VCM10_KERNEL

# Qualcomm
com.qc.hardware=true
debug.composition.7x27A.type=gpu
debug.composition.7x27A.type=mdp
hwui.render_dirty_regions.7x27A=true
ro.hw_plat=7x27A
ro.vendor.extension_library=/system/lib/libqc-opt.so

0 comments on commit 4d8e891

Please sign in to comment.
You can’t perform that action at this time.