diff options
author | caryclark <caryclark@google.com> | 2015-07-17 13:20:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-17 13:20:48 -0700 |
commit | 97a26d04e2a9324e7fc84c8a78d399e3484c9f50 (patch) | |
tree | 544d066fbd29b6dd96a3edb46defb5b11cbcbed2 /gm/lumafilter.cpp | |
parent | e49109f3b599afa1f9fe85d241aa68e842a7264e (diff) |
make drawbitmaprect lighting lumafilter matrixconvolution srcmode gm portable
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1240843005
Diffstat (limited to 'gm/lumafilter.cpp')
-rw-r--r-- | gm/lumafilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/lumafilter.cpp b/gm/lumafilter.cpp index 66221f8303..12c2f95ef5 100644 --- a/gm/lumafilter.cpp +++ b/gm/lumafilter.cpp @@ -13,12 +13,12 @@ static SkScalar kSize = 80; static SkScalar kInset = 10; static SkColor kColor1 = SkColorSetARGB(0xff, 0xff, 0xff, 0); -static SkColor kColor2 = SkColorSetARGB(0xff, 0x80, 0xff, 0); +static SkColor kColor2 = SkColorSetARGB(0xff, 0x82, 0xff, 0); static void draw_label(SkCanvas* canvas, const char* label, const SkPoint& offset) { SkPaint paint; - sk_tool_utils::set_portable_typeface(&paint); + sk_tool_utils::set_portable_typeface_always(&paint); size_t len = strlen(label); SkScalar width = paint.measureText(label, len); |