Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Issue 101623007: Fixed more issues (Closed)

Created:
7 years ago by sugoi1
Modified:
7 years ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fixed a displacement issue The displacement filter was assuming that both inputs were of the same size, which is true in blink, but not necessarily in a compromised stream. BUG=327372 Committed: http://code.google.com/p/skia/source/detail?r=12655

Patch Set 1 #

Total comments: 5

Patch Set 2 : Added new gm cases for displacement #

Total comments: 1

Patch Set 3 : Removing xfermode fix for now #

Patch Set 4 : Bots are failing at ApplyPatch : reuploading patch #

Patch Set 5 : Try again #

Patch Set 6 : deleted repo and upgraded to new git workflow #

Patch Set 7 : Fixed conflict with senorblanco's cl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -10 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M gm/displacement.cpp View 1 5 chunks +43 lines, -10 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
sugoi1
7 years ago (2013-12-09 21:03:02 UTC) #1
Stephen White
https://codereview.chromium.org/101623007/diff/1/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.chromium.org/101623007/diff/1/src/core/SkXfermode.cpp#newcode471 src/core/SkXfermode.cpp:471: if((n < 0) && (n = L - n)) ...
7 years ago (2013-12-09 21:16:12 UTC) #2
Stephen White
https://codereview.chromium.org/101623007/diff/1/src/effects/SkDisplacementMapEffect.cpp File src/effects/SkDisplacementMapEffect.cpp (right): https://codereview.chromium.org/101623007/diff/1/src/effects/SkDisplacementMapEffect.cpp#newcode345 src/effects/SkDisplacementMapEffect.cpp:345: src.getBounds(&bounds); Shouldn't we also be applying the crop rect ...
7 years ago (2013-12-09 21:17:22 UTC) #3
reed1
https://codereview.chromium.org/101623007/diff/1/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.chromium.org/101623007/diff/1/src/core/SkXfermode.cpp#newcode471 src/core/SkXfermode.cpp:471: if((n < 0) && (n = L - n)) ...
7 years ago (2013-12-09 21:20:48 UTC) #4
reed1
btw -- do we have a gm that exercises clipColor?
7 years ago (2013-12-09 21:21:06 UTC) #5
fmalita_google_do_not_use
https://codereview.chromium.org/101623007/diff/1/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.chromium.org/101623007/diff/1/src/core/SkXfermode.cpp#newcode471 src/core/SkXfermode.cpp:471: if((n < 0) && (n = L - n)) ...
7 years ago (2013-12-09 21:29:11 UTC) #6
sugoi
On 2013/12/09 21:21:06, reed1 wrote: > btw -- do we have a gm that exercises ...
7 years ago (2013-12-11 19:01:39 UTC) #7
sugoi
Added new gm cases to test changes to displacement
7 years ago (2013-12-11 19:40:06 UTC) #8
Stephen White
https://codereview.chromium.org/101623007/diff/20001/src/core/SkXfermode.cpp File src/core/SkXfermode.cpp (right): https://codereview.chromium.org/101623007/diff/20001/src/core/SkXfermode.cpp#newcode472 src/core/SkXfermode.cpp:472: if((n < 0) && (denom = L - n)) ...
7 years ago (2013-12-12 02:35:59 UTC) #9
sugoi
I will do further investigation (bench tests) on the SkXfermode fix, but, for now, I ...
7 years ago (2013-12-12 15:38:26 UTC) #10
Stephen White
LGTM
7 years ago (2013-12-12 17:15:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sugoi@chromium.org/101623007/40001
7 years ago (2013-12-12 18:32:13 UTC) #12
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildBench, BuildEverything, BuildGm, BuildSkiaLib, BuildTests, BuildTools ...
7 years ago (2013-12-12 18:38:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sugoi@chromium.org/101623007/40001
7 years ago (2013-12-12 19:11:28 UTC) #14
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildBench, BuildEverything, BuildGm, BuildSkiaLib, BuildTests, BuildTools ...
7 years ago (2013-12-12 19:17:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sugoi@chromium.org/101623007/60001
7 years ago (2013-12-12 19:44:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sugoi@chromium.org/101623007/100001
7 years ago (2013-12-12 21:05:49 UTC) #17
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-12 21:06:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sugoi@chromium.org/101623007/120001
7 years ago (2013-12-12 21:12:40 UTC) #19
commit-bot: I haz the power
7 years ago (2013-12-12 21:48:35 UTC) #20
Message was sent while issue was closed.
Change committed as 12655

Powered by Google App Engine
This is Rietveld 408576698