aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-06-10 10:34:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-10 10:34:08 -0700
commitd3c162200ffa02e4bb463c8bd2af2097cc04a0ef (patch)
tree5456eebd337db29f81db7a76806c7973379fa037 /gm
parent83ca628cb6c959524edc3a696d7c3b5f7f1826ba (diff)
turn on antialiased text
Aliased text didn't work with msaa16, so make it all antialiased. TBR=reed@google.com Review URL: https://codereview.chromium.org/1169173006
Diffstat (limited to 'gm')
-rw-r--r--gm/aaxfermodes.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gm/aaxfermodes.cpp b/gm/aaxfermodes.cpp
index 750b4238fb..378f2bb088 100644
--- a/gm/aaxfermodes.cpp
+++ b/gm/aaxfermodes.cpp
@@ -67,9 +67,7 @@ protected:
}
void onOnceBeforeDraw() override {
-#if 0
fLabelPaint.setAntiAlias(true);
-#endif
sk_tool_utils::set_portable_typeface_always(&fLabelPaint);
fLabelPaint.setTextSize(5 * kShapeSize/8);
fLabelPaint.setSubpixelText(true);