OSDN Git Service

Fix FILTER_BITMAP_FLAG regression in DrawFilter.
authorLeon Scroggins III <scroggo@google.com>
Wed, 21 May 2014 22:04:53 +0000 (18:04 -0400)
committerLeon Scroggins III <scroggo@google.com>
Tue, 27 May 2014 16:15:32 +0000 (12:15 -0400)
commit5f6aa983d620eb123cd11943235daa68f725ef46
treea1f6cfa26e3abe23219164f106d0be17aebdd603
parent2416768ae45f445db11ef83bf54de0317a3b5b0e
Fix FILTER_BITMAP_FLAG regression in DrawFilter.

Skia removed the corresponding kFilterBitmapFlag, replacing it with a
separate function: setFilterLevel. If the flag is set, turn it into a
call to setFilterLevel.

Corresponds to changes in I2736f3f68683651574d79a169ff0ab563e0a469e to
fix Paint.setFlags().

BUG:15112859
Change-Id: I269cbd7a624e5dde5688305e1ba97075ba73f4fd
core/jni/android/graphics/DrawFilter.cpp