diff options
author | Kazuhiro Inaba <kinaba@google.com> | 2020-03-11 00:01:53 +0900 |
---|---|---|
committer | Kazuhiro Inaba <kinaba@google.com> | 2020-03-11 00:01:53 +0900 |
commit | a74d637df14aed6b767828f0cdd19f139013db7f (patch) | |
tree | f9cd7a49496301244431e78032f99d24b9e79535 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 82f3ed2925a9520e160165fdb39e0601400b453c (diff) |
Let LayerDrawable choose the best scaling filter for readback.
The check used in Readback.cpp did not take the transformation
matrix into account for judging whether the copy was scaling.
libs/hwui/pipeline/skia/LayerDrawable.cpp already incorporates
the logic to detect non-scaling copy, so we can just let it
check the condition. This version regards 90-degree rotation
without size change as non-scaling and disables filters.
Bug: 151126720
Bug: 150839078
Test: atest android.view.cts.PixelCopyTest
Change-Id: I69e987e6a2e48299c5e579f8c218c42a724dc606
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions