aboutsummaryrefslogtreecommitdiff
path: root/BoardConfig.mk
diff options
context:
space:
mode:
authorLuca Stefani <luca020400@lineageos.org>2017-08-22 22:03:01 +0200
committerdd3boh <dade.garberi@gmail.com>2017-09-07 18:01:57 +0200
commit7922700448dfe93105a2a12d25bb08f64a132aa3 (patch)
tree5ab87a39c15ba0b950cfe26178f0d183fae79c84 /BoardConfig.mk
parentb1e924e0c40928ff7efabf0d6b9432ce9b3f825e (diff)
z2_plus: Update display/render for O
* Build the various display/render related HIDL HALs * Enable HWC2 & Gralloc1 Change-Id: I61c34a531e3131209a08b5b4670e1f1f8fbb435d Signed-off-by: dd3boh <dade.garberi@gmail.com>
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk13
1 files changed, 8 insertions, 5 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