summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer_defs.h
diff options
context:
space:
mode:
authorArun Kumar K.R <akumarkr@codeaurora.org>2012-08-02 18:43:18 -0700
committerSteve Kondik <shade@chemlab.org>2012-08-09 09:55:11 -0700
commit6faf610096bd6a6ea4d954de105a1995e39c564c (patch)
treee8fa375f610215088603a38ceaa20a71f13d85ab /include/hardware/hwcomposer_defs.h
parent26272016d5364f1ed6dfb4afd1484d575efde389 (diff)
downloadhardware_libhardware-6faf610096bd6a6ea4d954de105a1995e39c564c.zip
hardware_libhardware-6faf610096bd6a6ea4d954de105a1995e39c564c.tar.gz
hardware_libhardware-6faf610096bd6a6ea4d954de105a1995e39c564c.tar.bz2
hwcomposer: Add HWC_EVENT_ORIENTATION to hwc
Change-Id: If15b475173600d2467d7fbdd43b428b4bdd94d8a CRs-fixed: 382796
Diffstat (limited to 'include/hardware/hwcomposer_defs.h')
-rw-r--r--include/hardware/hwcomposer_defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h
index 99465d3..5e2f5ff 100644
--- a/include/hardware/hwcomposer_defs.h
+++ b/include/hardware/hwcomposer_defs.h
@@ -138,7 +138,8 @@ enum {
/* Allowed events for hwc_methods::eventControl() */
enum {
- HWC_EVENT_VSYNC = 0
+ HWC_EVENT_VSYNC = 0,
+ HWC_EVENT_ORIENTATION // To notify HWC about the device orientation
};
/*****************************************************************************/