diff options
-rw-r--r-- | BoardConfig.mk | 13 | ||||
-rwxr-xr-x | device.mk | 17 |
2 files changed, 20 insertions, 10 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 64bc28e..c156d6b 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -146,17 +146,17 @@ TARGET_HW_DISK_ENCRYPTION := true # Display BOARD_USES_ADRENO := true TARGET_CONTINUOUS_SPLASH_ENABLED := true -TARGET_USES_C2D_COMPOSITION := true TARGET_USES_ION := true -TARGET_USES_OVERLAY := true -USE_OPENGL_RENDERER := true +TARGET_USES_GRALLOC1 := true +TARGET_USES_HWC2 := true + MAX_EGL_CACHE_KEY_SIZE := 12*1024 MAX_EGL_CACHE_SIZE := 2048*1024 -OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true -VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 +NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000 +VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 # Filesystem TARGET_FS_CONFIG_GEN := $(PLATFORM_PATH)/config.fs @@ -186,6 +186,9 @@ BOARD_FLASH_BLOCK_SIZE := 262144 # QCOM Power TARGET_POWERHAL_VARIANT := qcom +# Render +OVERRIDE_RS_DRIVER := libRSDriver_adreno.so + # Recovery TARGET_RECOVERY_FSTAB := $(PLATFORM_PATH)/rootdir/etc/fstab.qcom TARGET_USERIMAGES_USE_EXT4 := true @@ -131,12 +131,14 @@ PRODUCT_PACKAGES += \ # Display PRODUCT_PACKAGES += \ - copybit.msm8996 \ + android.hardware.graphics.allocator@2.0-impl \ + android.hardware.graphics.allocator@2.0-service \ + android.hardware.graphics.composer@2.1-impl \ + android.hardware.graphics.mapper@2.0-impl \ + android.hardware.memtrack@1.0-impl \ gralloc.msm8996 \ hwcomposer.msm8996 \ - memtrack.msm8996 \ - liboverlay \ - libtinyxml + memtrack.msm8996 # Fingerprint PRODUCT_PACKAGES += \ @@ -251,7 +253,8 @@ PRODUCT_PACKAGES += \ # QMI PRODUCT_PACKAGES += \ - libjson + libjson \ + libtinyxml # Ramdisk PRODUCT_PACKAGES += \ @@ -264,6 +267,10 @@ PRODUCT_PACKAGES += \ init.qcom.bt.sh \ ueventd.qcom.rc +# RenderScript HAL +PRODUCT_PACKAGES += \ + android.hardware.renderscript@1.0-impl + # RIL PRODUCT_PACKAGES += \ librmnetctl \ |