commit | c4b9ce02d0a230acf8b4acbcf1d7cde8ca467c8c | [log] [tgz] |
---|---|---|
author | Krzysztof Kosiński <krzysio@google.com> | Wed Jan 02 16:27:05 2019 -0800 |
committer | Krzysztof Kosiński <krzysio@google.com> | Wed Jan 02 16:27:05 2019 -0800 |
tree | 83a299416a938ace97e68f89d954f899639a1192 | |
parent | 7b2e64b9e4a7b143f7b29bc5a8c0334f3741bbd9 [diff] |
Fix AHardwareBuffer_isSupported for cube maps. Cube maps need a multiple of 6 layers, but the function attempted a trial allocation with 1 or 2 layers instead, which cannot succeed. Bug: 121285176 Bug: 122267389 Test: Builds successfully. Change-Id: Id4cf26359ad2884d597c6571501b452b930fa4fa