summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Philip Quinn <pquinn@google.com> 2020-02-26 18:48:28 -0800
committer Philip Quinn <pquinn@google.com> 2020-03-02 16:02:43 -0800
commita1642feefb6f694b8d48ff66c6b75cbf84fd3a87 (patch)
tree132a4a910bb175943083568b9d26fc0c14072568 /vulkan/libvulkan/api.cpp
parenteab94c8f45c5c231cf62467ee0f0be7a99fcc484 (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