From a6c45fb491b26a33184157d6c3a8652a8c61bd5a Mon Sep 17 00:00:00 2001 From: ghepeu Date: Mon, 1 Jul 2013 01:57:29 +0200 Subject: 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 --- src/core/SkDraw.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); -- cgit v1.1