diff options
| author | 2020-02-26 18:48:28 -0800 | |
|---|---|---|
| committer | 2020-03-02 16:02:43 -0800 | |
| commit | a1642feefb6f694b8d48ff66c6b75cbf84fd3a87 (patch) | |
| tree | 132a4a910bb175943083568b9d26fc0c14072568 /vulkan/libvulkan/api.cpp | |
| parent | eab94c8f45c5c231cf62467ee0f0be7a99fcc484 (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.
Fixes: 150382187
Test: atest libinput_tests inputflinger_tests
Change-Id: Iddd943c35084f7032a8e60273e5e63b59ad10d1c
Merged-In: Iddd943c35084f7032a8e60273e5e63b59ad10d1c
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions