commit | 7f6519f0f13bf3a07800ddb48c92bafca70ed989 | [log] [tgz] |
---|---|---|
author | Ahan Wu <ahanwu@google.com> | Wed Apr 10 23:16:39 2019 +0800 |
committer | Ahan Wu <ahanwu@google.com> | Wed Apr 10 23:16:39 2019 +0800 |
tree | 629edf5a90d3f21357bdaf842c046c559290c372 | |
parent | a1de518e5657bae3207c0aba820e01a5ccf60468 [diff] |
Reset the texture coordinates and also take aspect ratio into account. Reset (clean) the texture coordinates before we are going to adjust the texture coordinates. This cl also takes aspect ratio into account to prevent the bitmap from being stretched due to the adjusted texture coordinates. Bug: 124355528 Bug: 126398998 Test: Manually set appropriate wallpaper, rotates the device between portrait and landscape back and forth. Change-Id: I76d523f6506174a9655d6ff194394f40cf78d848