commit | dab6ecd6cec4a23c26928e6fca81fb8401fa4ad4 | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <[email protected]> | Thu Jun 27 12:22:33 2019 -0700 |
committer | Yiwei Zhang <[email protected]> | Thu Jun 27 15:19:45 2019 -0700 |
tree | e2362baf91218fda3523fe1ac69155dbdff9f5d8 | |
parent | 68daf67e66baee9fd6b3adf7b5a94b72dd05aacf [diff] |
HWUI-VK: Use auto prerotation for Vulkan backend The consumer driven resizing now works as below: 1. Query the cached transform hint for this draw cycle 2. dequeuBuffer first to get the actual size 3. Cancel the pre-rotation done on the buffer 4. Update logical window size according to the transform Bug: 136110987 Test: manually test split screen with resizing and rotation Test: CtsUiRenderingTestCases and CtsGraphicsTestCases Change-Id: Ia7f1a53fd761b90cb3ff429086a060d48e40919c