diff options
| author | 2020-02-26 18:48:28 -0800 | |
|---|---|---|
| committer | 2020-02-27 19:15:34 +0000 | |
| commit | 882bbf33a2d2d6a8a80d70721cb8e588dab5ea37 (patch) | |
| tree | ace0e66261995703b9d41a35a1a6d32283aa2880 /libs/gui/ConsumerBase.cpp | |
| parent | a61c7ac25b7f6997a78fe7dcb6149aa4a55ad077 (diff) | |
Swap video frame rotation direction.
The DISPLAY_ORIENTATION_* values indicate the physical rotation of the
display, and not the rotation of the graphics surface (see
android.view.Display#getRotation()). To compensate for a physical
rotation in one direction, the video frame needs to be rotated in the
opposite direction.
Bug: 150382187
Test: atest libinput_tests inputflinger_tests
Change-Id: Iddd943c35084f7032a8e60273e5e63b59ad10d1c
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions