diff options
author | John Reck <jreck@google.com> | 2018-11-26 16:41:34 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-11-26 16:41:34 -0800 |
commit | 0aff62d12f5b214e09628dc5d933ffdac7950f11 (patch) | |
tree | bb9519e5e9ee122c010bdf87c9b6648568263984 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9a72ec33d78a43c8771bfa03061c0fc9d6e4225d (diff) |
Fix failing TextureViewTest
A tiny scaleX/scaleY is sneaking into the matrix,
throwing off the nearest/bilerp calculation.
This tiny scaleX/scaleY appears to be coming from
the inverse texture matrix necessary to workaround
skia issue https://bugs.chromium.org/p/skia/issues/detail?id=7075
So add another workaround for SkMatrix::getType()
reporting this as having a scale, even though there really
isn't one.
Bug: 119783323
Test: atest android.view.cts.TextureViewTest#testSamplingWithTransform
Change-Id: I3e675102ef99ce093f698460242c19dfe7e90345
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions