Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index e6712c5fed7845e8123c9d7b4da1324106d28591..9b6a5304d2642374f9644781cefe44d5bafe87ba 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -1493,13 +1493,14 @@ void SkGpuDevice::drawBitmapNine(const SkDraw& draw, const SkBitmap& bitmap, con |
CHECK_FOR_ANNOTATION(paint); |
CHECK_SHOULD_DRAW(draw); |
- bool useFallback = paint.getMaskFilter() || paint.isAntiAlias(); |
+ bool useFallback = paint.getMaskFilter() || paint.isAntiAlias() || |
+ fRenderTarget->isUnifiedMultisampled(); |
bool doBicubic; |
GrTextureParams::FilterMode textureFilterMode = |
GrSkFilterQualityToGrFilterMode(paint.getFilterQuality(), *draw.fMatrix, SkMatrix::I(), |
&doBicubic); |
- // TODO handle bilerp |
+ // TODO handle bilerp(vie texture domains), MSAA(via snapping) |
if (useFallback || doBicubic || GrTextureParams::kNone_FilterMode != textureFilterMode) { |
SkNinePatchIter iter(bitmap.width(), bitmap.height(), center, dst); |