OSDN Git Service

surfaceflinger: Consolidate display orientation compensation hooks
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>
Sat, 4 Jan 2014 04:44:47 +0000 (04:44 +0000)
committerSteve Kondik <shade@chemlab.org>
Tue, 10 Nov 2015 18:56:31 +0000 (10:56 -0800)
commitf8e2372ad7c6ab5ba0363352607f5ded918add01
tree2599c09cefcd0550f155ff644f35dc4d69d14770
parent3904525bce6b924ad0501f15899d7550f05fcf0d
surfaceflinger: Consolidate display orientation compensation hooks

Dedupe rotation calculation code and make rotation a statically
available property in the DisplayDevice

Change-Id: Ic517ab0d2c05026cd6fa46d664aab7926be17b62
services/surfaceflinger/DisplayDevice.cpp
services/surfaceflinger/DisplayDevice.h
services/surfaceflinger/SurfaceFlinger.cpp