move ducky images into images

Change-Id: I819c23d38989f81d2e493ad8eea0c22cfd364284
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/279036
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2020-03-25 07:51:24 -04:00 committed by Skia Commit-Bot
parent ae58199380
commit 6e9b179d20
4 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@
// Modeled on the layout test css3/blending/background-blend-mode-image-image.html to reproduce
// skbug.com/9619
DEF_SIMPLE_GM_CAN_FAIL(ducky_yuv_blend, canvas, errorMsg, 560, 1130) {
sk_sp<SkImage> duckyBG = GetResourceAsImage("ducky.png");
sk_sp<SkImage> duckyFG[2] = {GetResourceAsImage("ducky.jpg"), nullptr};
sk_sp<SkImage> duckyBG = GetResourceAsImage("images/ducky.png");
sk_sp<SkImage> duckyFG[2] = {GetResourceAsImage("images/ducky.jpg"), nullptr};
if (!duckyFG[0] || !duckyBG) {
*errorMsg = "Image(s) failed to load.";
return skiagm::DrawResult::kFail;

View File

@ -208,7 +208,7 @@ static sk_sp<SkShader> make_grad(SkScalar width) {
}
DEF_SIMPLE_GM(HSL_duck, canvas, 1110, 620) {
auto src = GetResourceAsImage("ducky.png");
auto src = GetResourceAsImage("images/ducky.png");
auto dst = make_grad(src->width());
SkRect r = SkRect::MakeIWH(src->width(), src->height());

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 243 KiB

After

Width:  |  Height:  |  Size: 243 KiB