From ac3fb4ca01f81306026eaf2545ccaf5aee7ca2f3 Mon Sep 17 00:00:00 2001 From: Volodymyr Zhdanov Date: Mon, 31 Aug 2020 14:20:01 +0300 Subject: [PATCH] sm6250-common: set stock configstore flags as props /sbin # ./configstore-dump TARGET_HAS_WIDE_COLOR_DISPLAY := true TARGET_HAS_HDR_DISPLAY := true TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 --- system.prop | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system.prop b/system.prop index 06c4a73..17c521f 100644 --- a/system.prop +++ b/system.prop @@ -27,6 +27,11 @@ debug.sf.disable_backpressure=1 debug.sf.enable_hwc_vds=1 debug.sf.latch_unsignaled=1 ro.opengles.version=196610 +ro.surface_flinger.force_hwc_copy_for_virtual_displays=true +ro.surface_flinger.has_wide_color_display=true +ro.surface_flinger.has_HDR_display=true +ro.surface_flinger.max_frame_buffer_acquired_buffers=3 +ro.surface_flinger.max_virtual_display_dimension=4096 ro.vendor.display.cabl=0 ro.vendor.display.sensortype=2 ro.vendor.display.svi=1