aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CachedDecodingPixelRefTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-05-31 14:18:07 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-01 15:02:08 +0000
commit5cc9da6bbc6a599ab5e83a365fa20456e710c52c (patch)
tree3668d3905268daa7beceb4b6173cb880dab6d8bb /tests/CachedDecodingPixelRefTest.cpp
parentc6912f712f3423b2a09a6e96c999b65a1fd86062 (diff)
raster pipeline sprite blitter
The color in the unit test turned out to be right on the edge of not round tripping well, and I guess rounding pushed it over the edge, so I've tweaked it to a new one that seems better. Change-Id: I46095fafc9d6b68fd417ff9dc32003f42929c5a5 Reviewed-on: https://skia-review.googlesource.com/18238 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/CachedDecodingPixelRefTest.cpp')
-rw-r--r--tests/CachedDecodingPixelRefTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp
index 8878d6dd2e..0eecdbb55a 100644
--- a/tests/CachedDecodingPixelRefTest.cpp
+++ b/tests/CachedDecodingPixelRefTest.cpp
@@ -29,7 +29,7 @@ public:
static int Width() { return 10; }
static int Height() { return 10; }
// value choosen so that there is no loss when converting to to RGB565 and back
- static SkColor Color() { return 0xff10345a; }
+ static SkColor Color() { return 0xff10355a; }
static SkPMColor PMColor() { return SkPreMultiplyColor(Color()); }
TestImageGenerator(TestType type, skiatest::Reporter* reporter,