Remove blur from text labels in tilemodes* GMs
https://codereview.chromium.org/23617003/
git-svn-id: http://skia.googlecode.com/svn/trunk@11021 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/tilemodes.cpp b/gm/tilemodes.cpp
index 5098a83..5a5fbbe 100644
--- a/gm/tilemodes.cpp
+++ b/gm/tilemodes.cpp
@@ -56,11 +56,9 @@
};
class TilingGM : public skiagm::GM {
- SkBlurDrawLooper fLooper;
public:
TilingGM(bool powerOfTwoSize)
- : fLooper(SkIntToScalar(1), SkIntToScalar(2), SkIntToScalar(2), 0x88000000)
- , fPowerOfTwoSize(powerOfTwoSize) {
+ : fPowerOfTwoSize(powerOfTwoSize) {
}
SkBitmap fTexture[SK_ARRAY_COUNT(gConfigs)];
@@ -112,7 +110,6 @@
SkString str;
p.setAntiAlias(true);
p.setDither(true);
- p.setLooper(&fLooper);
str.printf("[%s,%s]", gModeNames[kx], gModeNames[ky]);
p.setTextAlign(SkPaint::kCenter_Align);
@@ -151,7 +148,6 @@
SkPaint p;
SkString str;
p.setAntiAlias(true);
- p.setLooper(&fLooper);
str.printf("%s, %s", gConfigNames[i], gFilterNames[j]);
canvas->drawText(str.c_str(), str.size(), x, y + r.height() * 2 / 3, p);
}