From f3991093676e5f1b73f80d88d75d4994e9fb7ed0 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Mon, 25 Feb 2019 13:05:00 +0100 Subject: [PATCH] set surfaceflinger optimizations Change-Id: Ia319fbf96039437e76bf522c14f67cc83817524d --- BoardConfig.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 8ccb39f..ab35efd 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,6 +68,9 @@ BOARD_EGL_CFG := $(DEVICE_DIR)/configs/egl.cfg # Surfaceflinger optimization for VD surfaces TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 +TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true +VSYNC_EVENT_PHASE_OFFSET_NS := -5000000 +SF_VSYNC_EVENT_PHASE_OFFSET_NS := -5000000 # WIFI BOARD_WLAN_DEVICE := MediaTek -- 2.20.1