aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-02-11 08:41:01 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-11 08:41:01 -0800
commit4946b9419f650ef7a2dc684ce98bb771e1ce8f40 (patch)
treef4508907bedb7f254ff02f29302675c2811fd4c0 /tests
parentc1eb311f4e98934476f1b2ad5d6de772cf140d60 (diff)
Fix scanline decoding of rare RLE bmps
This also exposed a bug in rewinding RLE bmps, which I have also fixed in this CL. This should fix testcase7.bmp on Gold. The image that I am adding to resources is in the public domain. BUG=skia:4730 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689953002 Review URL: https://codereview.chromium.org/1689953002
Diffstat (limited to 'tests')
-rw-r--r--tests/CodexTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
index 1261d2b556..1aa3cdc4dd 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -344,6 +344,7 @@ DEF_TEST(Codec, r) {
// BMP
check(r, "randPixels.bmp", SkISize::Make(8, 8), true, false);
+ check(r, "rle.bmp", SkISize::Make(320, 240), true, false);
// ICO
// FIXME: We are not ready to test incomplete ICOs