Review URL: https://codereview.appspot.com/6458055
git-svn-id: http://skia.googlecode.com/svn/trunk@4902
2bbb7eff-a529-9590-31e7-
b0007b416f81
CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(),
8, bm.rowBytes(), space, BITMAP_INFO_RGB);
CFRelease(space);
-
+
CGContextSetAllowsFontSubpixelQuantization(cg, false);
CGContextSetShouldSubpixelQuantizeFonts(cg, false);
}
x += SkIntToScalar(1024) / SK_ARRAY_COUNT(fg);
}
+#ifdef SK_BUILD_FOR_MAC
+ CGContextRelease(cg);
+#endif
}
private: