diff options
author | caryclark <caryclark@google.com> | 2015-06-15 05:09:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-15 05:09:59 -0700 |
commit | be7f768a357aefb39c42d24b81b24d647bb6ab70 (patch) | |
tree | a5897bcb5ce6dc995cf0cfea5e72a989cc2d16a1 /gm/filltypes.cpp | |
parent | b5b50a07abb454abaf6ab46db20c6db6f5ecf9f6 (diff) |
make gm background colors 565 compatible
Change a batch of GM tests to convert their background color
so that it is representable in 8888 and 565.
Enable portable text in those same tests to minimize platform
differences.
In a couple of bitmap tests, use portable typefaces instead of
choosing 'Times' which may or may not be available on the platform.
R=borenet@google.com
Review URL: https://codereview.chromium.org/1176243006
Diffstat (limited to 'gm/filltypes.cpp')
-rw-r--r-- | gm/filltypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/filltypes.cpp b/gm/filltypes.cpp index 4ba3aeb975..f01f9bdd72 100644 --- a/gm/filltypes.cpp +++ b/gm/filltypes.cpp @@ -13,7 +13,7 @@ class FillTypeGM : public GM { SkPath fPath; public: FillTypeGM() { - this->setBGColor(0xFFDDDDDD); + this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); } void makePath() { |