From d5f1777a671b8afae2b5764d59692595a2351f23 Mon Sep 17 00:00:00 2001 From: Peiyong Lin Date: Tue, 15 Jan 2019 15:56:31 -0800 Subject: Add WCG composition preference for B4/S4. BUG: 122725858 Test: atest android.uirendering.cts.testclasses.WideColorGamutTests#testDraw Change-Id: I0478dd7fb2962add4b792cad051751206c5b036b --- BoardConfig-common.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BoardConfig-common.mk') diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 8a2cc793..7c8d9904 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -177,6 +177,10 @@ TARGET_USES_HWC2 := true VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000 +# Must align with HAL types Dataspace +# The data space of wide color gamut composition preference is Dataspace::DISPLAY_P3 +SF_WCG_COMPOSITION_DATA_SPACE := 143261696 + # Display TARGET_HAS_WIDE_COLOR_DISPLAY := true TARGET_HAS_HDR_DISPLAY := true -- cgit v1.2.3