diff options
author | Arun Kumar K.R <akumarkr@codeaurora.org> | 2012-08-17 11:23:21 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-09-11 19:41:24 -0700 |
commit | 799ca87a37f16c1e358cac85fb29b1e440208e6a (patch) | |
tree | 46cd802fb2ee49dfa897e68f24ada13a035eebca | |
parent | ff824a1e853a964c1be9d454b3ad06414ec4b9ab (diff) | |
download | hardware_libhardware-799ca87a37f16c1e358cac85fb29b1e440208e6a.zip hardware_libhardware-799ca87a37f16c1e358cac85fb29b1e440208e6a.tar.gz hardware_libhardware-799ca87a37f16c1e358cac85fb29b1e440208e6a.tar.bz2 |
hwcomposer: Add sourceTransform to hwc_layer_t
sourceTransform has the source buffer transform which can used to
apply rotation on displays whose orientation is fixed(HDMI).
CRs-fixed: 387357
Change-Id: I26eb2de76b3548634a80ca8b98547c6fdfe145ea
(cherry picked from commit f16aed381eb2a7232bf576c1d77cdad61be54419)
-rw-r--r-- | include/hardware/hwcomposer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h index d1e3ba2..e30c736 100644 --- a/include/hardware/hwcomposer.h +++ b/include/hardware/hwcomposer.h @@ -143,6 +143,11 @@ typedef struct hwc_layer { /* transformation to apply to the buffer during composition */ uint32_t transform; +#ifdef QCOM_HARDWARE + /* source transform of the buffer */ + uint32_t sourceTransform; +#endif + /* blending to apply during composition */ int32_t blending; |