diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-04-23 11:15:00 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2018-05-08 17:23:11 +0000 |
commit | 5a663768c463d70fa8ff0bc3080e178c16241a07 (patch) | |
tree | 26ea7516fdc5f19b355b08cbff5be794dc73a291 /rs/java/android/renderscript/ProgramStore.java | |
parent | 4a7913c268c3d65c060f7f8f8df5c2ff0218245e (diff) |
Use filtering when drawing nine-patches
Bug: 77917978
Test: Look at toggles; CtsUiRenderingTestCases
Prior to this change, the toggles look pixelated due to using a
"nearest" filter instead of a "bilerp".
This matches the behavior of the hwui renderer.
Depends on changes in Skia (Ib7d0abdd51981bddf36ec5c3fd84bb651f405f0f)
to respect the filter quality when drawing to a GPU canvas and to
remove the resulting "bleeding" effect from drawImageLattice.
Change-Id: I59d81a17f351e18574539479a38a580a02e1619b
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions