aboutsummaryrefslogtreecommitdiffstats
path: root/gm/tileimagefilter.cpp
diff options
context:
space:
mode:
authorMike Klein <mtklein@google.com>2018-08-16 10:17:03 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-08-16 19:13:41 +0000
commitd46dce3de5449a3bc1eb40be3f049408125442ef (patch)
treec1af2f495b4398e6de70a1e2cb7de7b7f986cd31 /gm/tileimagefilter.cpp
parentd221adbfc46723752bcf6e383cb26368a1450e57 (diff)
downloadplatform_external_skqp-d46dce3de5449a3bc1eb40be3f049408125442ef.tar.gz
platform_external_skqp-d46dce3de5449a3bc1eb40be3f049408125442ef.tar.bz2
platform_external_skqp-d46dce3de5449a3bc1eb40be3f049408125442ef.zip
don't adapt any gray colors to 565
Adapting gray to 565 will add a noticeable purple/green tint. I'd rather only the 565 images in Gold were tainted with that. Change-Id: Ib09e92b2f78c6de086345124e9eefeb31bbb5fa8 Reviewed-on: https://skia-review.googlesource.com/147422 Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Mike Klein <mtklein@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/tileimagefilter.cpp')
-rw-r--r--gm/tileimagefilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/tileimagefilter.cpp b/gm/tileimagefilter.cpp
index c05723522c..a2a731e6bf 100644
--- a/gm/tileimagefilter.cpp
+++ b/gm/tileimagefilter.cpp
@@ -40,8 +40,8 @@ protected:
fCheckerboard = SkImage::MakeFromBitmap(
sk_tool_utils::create_checkerboard_bitmap(80, 80,
- sk_tool_utils::color_to_565(0xFFA0A0A0),
- sk_tool_utils::color_to_565(0xFF404040),
+ 0xFFA0A0A0,
+ 0xFF404040,
8));
}