diff options
author | Prabir Pradhan <prabirmsp@google.com> | 2021-03-09 14:19:35 -0800 |
---|---|---|
committer | Prabir Pradhan <prabirmsp@google.com> | 2021-03-09 14:25:28 -0800 |
commit | 3644df517456103807b56cf8022a4ca054e41db6 (patch) | |
tree | 35fcb6e5a8eaec73b3393342fa23c38837ac13a1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5ef41d061b84f647a00cbf0bcfa139de91767dab (diff) |
Per-window input rotation: Remove projection from DisplayViewport
InputFlinger always needs to know about the display orientation because
some devices (such as mice and touchpads) are orientation-dependent.
Instead of removing the orientation for DisplayViewport, we remove the
display projection so that the logical, physical, and device frames are
the same. The display projection will be included in the per-window
transform set by SurfaceFlinger.
Bug: 179274888
Test: test touch, mouse, and touchpad input in all four orientations
using a test app and the PointerLocationView.
Change-Id: I00481c67ee6dfa93115b299999ea7c0d4baa8e02
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions