diff options
author | Lennart Wieboldt <lennart.1997@gmx.de> | 2017-06-13 22:16:19 +0200 |
---|---|---|
committer | dd3boh <dade.garberi@gmail.com> | 2017-08-02 12:02:57 +0200 |
commit | 58fae539b30da2fd1791b169566b3892b3c48664 (patch) | |
tree | 94a7b816cff6675fecb400bde6c4a94c50dfa14f | |
parent | 3d965cda48fd74edf3cf3ee9b8a5862b0a89cde5 (diff) |
Enable triple framebuffers
On high resolution panels, GPU composition can end up taking more
time than the vsync period, thereby causing jank.
Change-Id: I6ae4a72a73bd4ee5c740c4c79edc07255717d5da
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
Signed-off-by: dd3boh <dade.garberi@gmail.com>
-rw-r--r-- | BoardConfig.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index a64c07a..e2f2fa6 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -162,6 +162,7 @@ TARGET_USES_OVERLAY := true USE_OPENGL_RENDERER := true MAX_EGL_CACHE_KEY_SIZE := 12*1024 MAX_EGL_CACHE_SIZE := 2048*1024 +NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true |