From d3667b4a3b010a90ba82092c231fadb48e91b290 Mon Sep 17 00:00:00 2001 From: RenanQueiroz Date: Sun, 3 Nov 2019 23:51:45 -0500 Subject: [PATCH] msm8226-common: Add triple buffering back * Fixes tearing * Put SF_START_GRAPHICS_ALLOCATOR_SERVICE into a prop This partially reverts commit cc4e308a68fe57ccba2bd6032a1380bd1dd3c0ac. --- msm8226.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/msm8226.mk b/msm8226.mk index 7ce5094..3029f35 100644 --- a/msm8226.mk +++ b/msm8226.mk @@ -129,6 +129,10 @@ PRODUCT_PACKAGES += \ hwcomposer.msm8226 \ memtrack.msm8226 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \ + ro.surface_flinger.start_graphics_allocator_service=true + # Camera PRODUCT_PACKAGES += \ android.hardware.camera.provider@2.4-impl \