diff options
author | Vinu Deokaran <vinud@codeaurora.org> | 2015-07-20 14:13:36 -0400 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:30:43 -0600 |
commit | 45922f06fc68e7e27bee2eea777447c887a35f52 (patch) | |
tree | f5145a5519016675acc7a41948fad99a4ee2ec0c | |
parent | b174648fcefdbc89355ee33aa3ba484daaff4029 (diff) | |
download | hardware_libhardware-45922f06fc68e7e27bee2eea777447c887a35f52.zip hardware_libhardware-45922f06fc68e7e27bee2eea777447c887a35f52.tar.gz hardware_libhardware-45922f06fc68e7e27bee2eea777447c887a35f52.tar.bz2 |
libhardware: add support for tertiary display
The legacy HWC header only supports Primary and External, we need
to support Tertiary display for automotive project.
Change-Id: I37637bf6c3ec341b9174a9f488b8bf06e0011733
-rw-r--r-- | include/hardware/hwcomposer_defs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h index e650bd2..0131bc5 100644 --- a/include/hardware/hwcomposer_defs.h +++ b/include/hardware/hwcomposer_defs.h @@ -203,15 +203,17 @@ enum { enum { HWC_DISPLAY_PRIMARY = 0, HWC_DISPLAY_EXTERNAL = 1, // HDMI, DP, etc. - HWC_DISPLAY_VIRTUAL = 2, + HWC_DISPLAY_TERTIARY = 2, + HWC_DISPLAY_VIRTUAL = 3, - HWC_NUM_PHYSICAL_DISPLAY_TYPES = 2, - HWC_NUM_DISPLAY_TYPES = 3, + HWC_NUM_PHYSICAL_DISPLAY_TYPES = 3, + HWC_NUM_DISPLAY_TYPES = 4, }; enum { HWC_DISPLAY_PRIMARY_BIT = 1 << HWC_DISPLAY_PRIMARY, HWC_DISPLAY_EXTERNAL_BIT = 1 << HWC_DISPLAY_EXTERNAL, + HWC_DISPLAY_TERTIARY_BIT = 1 << HWC_DISPLAY_TERTIARY, HWC_DISPLAY_VIRTUAL_BIT = 1 << HWC_DISPLAY_VIRTUAL, }; |