RESOLVED FIXED50437
[skia] ignore transform for canvas shadows
https://bugs.webkit.org/show_bug.cgi?id=50437
Summary [skia] ignore transform for canvas shadows
Mike Lawther
Reported 2010-12-02 21:13:06 PST
[skia] ignore transform for canvas shadows
Attachments
Patch (2.24 KB, patch)
2010-12-02 21:18 PST, Mike Lawther
no flags
Patch (3.66 KB, patch)
2010-12-09 21:21 PST, Mike Lawther
no flags
Patch (3.66 KB, patch)
2010-12-13 19:13 PST, Mike Lawther
no flags
Patch (3.68 KB, patch)
2010-12-13 20:53 PST, Mike Lawther
no flags
Mike Lawther
Comment 1 2010-12-02 21:18:19 PST
Stephen White
Comment 2 2010-12-03 12:24:44 PST
Comment on attachment 75462 [details] Patch Are there any canvas layout tests which cover this functionality (perhaps in canvas/philip)? If not, one should be included with this patch.
Mike Lawther
Comment 3 2010-12-05 14:27:15 PST
Sorry - I should have mentioned this. There are existing tests, but not in canvas/philip. The downstream chromium bug I'm addressing is http://code.google.com/p/chromium/issues/detail?id=64647. The tests are: fast/canvas/canvas-scale-fillRect-shadow.html fast/canvas/canvas-scale-fillPath-shadow.html fast/canvas/canvas-scale-strokePath-shadow.html
Mike Lawther
Comment 4 2010-12-09 21:21:30 PST
Mike Lawther
Comment 5 2010-12-09 21:28:29 PST
Correcting my previous comment - the test that this patch fixes (on Chromium Win/Linux) are: canvas/philip/tests/2d.shadow.transform.2.html fast/canvas/canvas-scale-fillRect-shadow.html fast/canvas/canvas-scale-fillPath-shadow.html fast/canvas/canvas-scale-strokePath-shadow.html now renders the shadow in the correct location, but the pixels don't render right due to another skia bug.
WebKit Review Bot
Comment 6 2010-12-09 21:36:03 PST
Mike Lawther
Comment 7 2010-12-09 21:43:50 PST
This is only expected to build as of Skia r631. Chromium's DEPS were updated in http://src.chromium.org/viewvc/chrome?view=rev&revision=68558. The bot's output says: "Failed to run "['WebKitTools/Scripts/build-webkit', '--release', '--chromium', '--update-chromium']" exit_code: 2". I guess this is the reason the build failed?
Mike Lawther
Comment 8 2010-12-09 21:46:55 PST
Oops - I realise I can't tell whether the --update-chromium failed or not. Is there something else I need to do to make this patch compile for chromium?
Adam Barth
Comment 9 2010-12-09 21:48:28 PST
Dunno. Mihaip recently changed how the EWS bot updates its DEPS.
Mihai Parparita
Comment 10 2010-12-09 22:36:53 PST
(In reply to comment #9) > Dunno. Mihaip recently changed how the EWS bot updates its DEPS. I don't think that should matter, when --update-chromium is passed the behavior is the same as it was before my change. In this case, the Chromium change that Mike mentions is r68558, but the DEPS file that lives in WebKit/chromium/DEPS is only at r67980: http://trac.webkit.org/browser/trunk/WebKit/chromium/DEPS. You also need to roll that forward so that upstream Chromium builds succeed. Upstream Chromium DEPS rolls are not as big of a deal as downstream WebKit rolls (i.e. they're done on-demand, there's no gardening), though it's probably a good idea to do it separately from this patch.
Eric Seidel (no email)
Comment 11 2010-12-13 00:25:43 PST
Comment on attachment 76161 [details] Patch LGTM. I assume this is waiting on a Chromium DEPS update? You should probably post a new patch to make sure the cr-linux ews likes it. Currently there is no way to make the ewses retry patches.
Mike Lawther
Comment 12 2010-12-13 19:13:50 PST
Mike Lawther
Comment 13 2010-12-13 20:53:38 PST
Mike Lawther
Comment 14 2010-12-13 20:57:56 PST
Comment on attachment 76491 [details] Patch Original patch no longer applies - updated so it does.
Daniel Bates
Comment 15 2010-12-13 21:35:54 PST
Comment on attachment 76491 [details] Patch This change looks sane to me and seems sane to Eric Seidel as per comment 11. And the Chromium DEPs were updated in changeset 73995 <http://trac.webkit.org/changeset/73995> (bug #50984).
WebKit Review Bot
Comment 16 2010-12-13 21:53:19 PST
Comment on attachment 76491 [details] Patch Clearing flags on attachment: 76491 Committed r74001: <http://trac.webkit.org/changeset/74001>
WebKit Review Bot
Comment 17 2010-12-13 21:53:25 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.