aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghepeu <ghepeu@gmail.com>2013-07-01 01:57:29 +0200
committerghepeu <ghepeu@gmail.com>2013-07-01 01:57:29 +0200
commita6c45fb491b26a33184157d6c3a8652a8c61bd5a (patch)
treed5c1fa3b7ddd839f4e855bde26bf44ae955563bf
parent9c7be1baf27224076087cc221e582da6f70bc660 (diff)
downloadexternal_skia-a6c45fb491b26a33184157d6c3a8652a8c61bd5a.zip
external_skia-a6c45fb491b26a33184157d6c3a8652a8c61bd5a.tar.gz
external_skia-a6c45fb491b26a33184157d6c3a8652a8c61bd5a.tar.bz2
Fimg2d: set fimg.isFilter in SkDraw::drawBitmap
Set fimg.isFilter from paint.isFilterBitmap() in drawBitmap like it's done later in drawRect_withG2D. Change-Id: I8c27933dba28ae8834f02cb1ba66ec58dd2c933c
-rw-r--r--src/core/SkDraw.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index e3ee31c..2ae911e 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -1276,6 +1276,7 @@ void SkDraw::drawBitmap(const SkBitmap& bitmap, const SkMatrix& prematrix,
fimg.xfermode = mode;
fimg.isDither = paint.isDither();
+ fimg.isFilter = paint.isFilterBitmap();
fimg.colorFilter = (int)paint.getColorFilter();
fimg.alpha = paint.getAlpha();