summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2019-03-15 08:41:52 -0400
committerLeon Scroggins <scroggo@google.com>2019-03-15 12:53:03 +0000
commit99473d17ce5ba3c4808c7ceb96e7796482378d03 (patch)
tree77de9b09bf22ad58a0526501d06e830090ea67d1 /rs/java/android/renderscript/RenderScript.java
parentea5c64806d0796f16066d4f8e2d2942d8e9249c6 (diff)
Reland "Make Paint default to filtering Bitmaps"
Bug: 77949917 Test: Iac4922cfa86c0c2b3b6c88b39d9b702ab046cd34 In P, the switch to Skia HW rendering lost a feature of HWUI's old renderer: using a Paint with a BitmapShader resulted in filtering the Bitmap, regardless of whether FILTER_BITMAP_FLAG was set. This somewhat restores that behavior, in that it results in filtering BitmapShaders so long as the client doesn't explicitly turn it off. This also means that it continues to be possible to get a pixellated drawing if the client *does* explicitly turn it off. This reverts commit 1b6927dbb1620cc5edf9b14a2627de5a7a975c17. Original CL was reverted due to a broken CTS test, which will be updated along with this. Change-Id: I61394b4ca6b93ba8405a0127b9c308444abfcbc2
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions