diff options
author | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2016-01-08 11:40:13 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-01-09 17:50:48 -0800 |
commit | a9d594346e338b571713654b839be333b447e8c5 (patch) | |
tree | 0e8417ab3634567ea86369103b61ab49d156b510 /include | |
parent | 598fdccb0ba155c11857eba320e3673f756518d0 (diff) | |
download | hardware_libhardware-a9d594346e338b571713654b839be333b447e8c5.zip hardware_libhardware-a9d594346e338b571713654b839be333b447e8c5.tar.gz hardware_libhardware-a9d594346e338b571713654b839be333b447e8c5.tar.bz2 |
Revert "Revert "libhardware: Only support tertiary display in QTI_BSP is defined""
This reverts commit 2a6aac596191c08d957a2d0f0dbe5ed6caac1ca5.
Change-Id: Ibca901e9f3939b333c767e5cbe6f7849757675f3
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware/hwcomposer_defs.h | 9 |
1 files changed, 9 insertions, 0 deletions
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, }; |