diff options
author | 2013-08-30 12:41:42 +0000 | |
---|---|---|
committer | 2013-08-30 12:41:42 +0000 | |
commit | 6db2ae21a39b64053e64d0057a3136fba5d7b44f (patch) | |
tree | fa65adf5b1999973caa5fa2a5fcad4ec2fb475f0 /gm/tilemodes.cpp | |
parent | 772c4e6d09f5e0971a584d2035ee789483d6f47a (diff) |
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
Diffstat (limited to 'gm/tilemodes.cpp')
-rw-r--r-- | gm/tilemodes.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gm/tilemodes.cpp b/gm/tilemodes.cpp index 5098a836e0..5a5fbbe529 100644 --- a/gm/tilemodes.cpp +++ b/gm/tilemodes.cpp @@ -56,11 +56,9 @@ static const SkBitmap::Config gConfigs[] = { }; 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 @@ protected: 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 @@ protected: 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); } |