OSDN Git Service

surfaceflinger: odd hw rotation (90/270) patch for swapping width/height
authorHashcode <hashcode0f@gmail.com>
Tue, 11 Dec 2012 00:33:53 +0000 (16:33 -0800)
committerSteve Kondik <steve@cyngn.com>
Thu, 1 Sep 2016 06:33:36 +0000 (23:33 -0700)
commita0cb151fede3177f21a89797df582ab84daf8fa4
tree1651bb14a5e9fe5d3ff12bf4c227e0dcb74cb43f
parentaf3ae11ee9b5b588e82a6252e5848dfe6ff617e2
surfaceflinger: odd hw rotation (90/270) patch for swapping width/height

This patch works in addition to the following commit
re-implementing ro.sf.hwrotation:
https://github.com/CyanogenMod/android_frameworks_native/commit/7d283431efffc4402cb1a6cacf5da64729c883bb

When using values of 90 and 270 for ro.sf.hwrotation the
LCD width and height also need to be swapped to display properly.

Change-Id: I2874fdb8f8d8b855df6d62d338c9a22360491973
NOTE: This patch does not fix the initial startup of bootanimation
services/surfaceflinger/SurfaceFlinger.cpp