Commit cc2a873a authored by Collin Jackson's avatar Collin Jackson

Merge pull request #1566 from collinjackson/dont_antialias_images

Painting images should not anti-alias (improves performance)
parents 32f18cfe 6e37b51c
......@@ -456,7 +456,7 @@ void paintImage({
break;
}
// TODO(abarth): Implement |repeat|.
Paint paint = new Paint();
Paint paint = new Paint()..isAntiAlias = false;
if (colorFilter != null)
paint.colorFilter = colorFilter;
double dx = (bounds.width - destinationSize.width) * positionX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment