diff options
author | Victor Tasayco Loarte <victorx.tasayco.loarte@intel.com> | 2016-08-25 23:52:32 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-25 23:52:32 +0000 |
commit | 7eda33aa65c58e7a66cf9f8e459e7c0eec5e1cbe (patch) | |
tree | 5ef7301e386a2b28d59c34a67ab87d02eb2a5c4d | |
parent | f5ac9a1634276daf72b781a4befca426afa5b27b (diff) | |
parent | d92bf3b8c41967fc76a8dcb503ed68e27d80ffb6 (diff) | |
download | hwcomposer-7eda33aa65c58e7a66cf9f8e459e7c0eec5e1cbe.tar.gz |
display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: 780caf6cb8 am: f5b262ecb7
am: d92bf3b8c4
Change-Id: I2a9189adae341f179a9f760e9d6e8340a837b38c
-rw-r--r-- | merrifield/ips/tangier/TngCursorPlane.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/merrifield/ips/tangier/TngCursorPlane.cpp b/merrifield/ips/tangier/TngCursorPlane.cpp index 8ce5af7..c229711 100644 --- a/merrifield/ips/tangier/TngCursorPlane.cpp +++ b/merrifield/ips/tangier/TngCursorPlane.cpp @@ -99,6 +99,11 @@ bool TngCursorPlane::setDataBuffer(BufferMapper& mapper) cursorSize = w; } +#if ENABLE_ROTATION_180 + dstX = mModeInfo.hdisplay - dstX - cursorSize; + dstY = mModeInfo.vdisplay - dstY - cursorSize; +#endif + uint32_t cntr = 0; if (64 <= cursorSize && cursorSize < 128) { cursorSize = 64; |