set surfaceflinger optimizations
authorJan Altensen <info@stricted.net>
Mon, 25 Feb 2019 12:05:00 +0000 (13:05 +0100)
committerJan Altensen <info@stricted.net>
Mon, 25 Feb 2019 14:06:54 +0000 (15:06 +0100)
Change-Id: Ia319fbf96039437e76bf522c14f67cc83817524d

BoardConfig.mk

index 8ccb39f3eaed2b759d848985b468dc00ad9d260f..ab35efdfa8f44ec654bcd5709061f03e3c7990fc 100644 (file)
@@ -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