From a9d594346e338b571713654b839be333b447e8c5 Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Fri, 8 Jan 2016 11:40:13 -0800 Subject: Revert "Revert "libhardware: Only support tertiary display in QTI_BSP is defined"" This reverts commit 2a6aac596191c08d957a2d0f0dbe5ed6caac1ca5. Change-Id: Ibca901e9f3939b333c767e5cbe6f7849757675f3 --- include/hardware/hwcomposer_defs.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h index 9c7d790..a90822a 100644 --- a/include/hardware/hwcomposer_defs.h +++ b/include/hardware/hwcomposer_defs.h @@ -207,17 +207,26 @@ enum { enum { HWC_DISPLAY_PRIMARY = 0, HWC_DISPLAY_EXTERNAL = 1, // HDMI, DP, etc. +#ifdef QTI_BSP HWC_DISPLAY_TERTIARY = 2, HWC_DISPLAY_VIRTUAL = 3, HWC_NUM_PHYSICAL_DISPLAY_TYPES = 3, HWC_NUM_DISPLAY_TYPES = 4, +#else + HWC_DISPLAY_VIRTUAL = 2, + + HWC_NUM_PHYSICAL_DISPLAY_TYPES = 2, + HWC_NUM_DISPLAY_TYPES = 3, +#endif }; enum { HWC_DISPLAY_PRIMARY_BIT = 1 << HWC_DISPLAY_PRIMARY, HWC_DISPLAY_EXTERNAL_BIT = 1 << HWC_DISPLAY_EXTERNAL, +#ifdef QTI_BSP HWC_DISPLAY_TERTIARY_BIT = 1 << HWC_DISPLAY_TERTIARY, +#endif HWC_DISPLAY_VIRTUAL_BIT = 1 << HWC_DISPLAY_VIRTUAL, }; -- cgit v1.1