From 82bf4a6bc2cffc427a3902437da7843bdec0624c Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Sat, 25 Aug 2018 20:31:39 -0600 Subject: [PATCH] msm8974-common: Allow additional gralloc 1.0 buffer usage bits * Our platform requires 0x02000000U (USAGE_PRIVATE_UNCACHED) for camera, video, and various other functionality Change-Id: Ie5a8a46fef1c0f28ebd2cd3b3d29cc19763bc2a3 --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index e67e6e4..a295db6 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -62,6 +62,7 @@ endif # Display NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so +TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x02000000U # Shader cache config options # Maximum size of the GLES Shaders that can be cached for reuse.