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

Issue 14263013: Added Skia turbulence filter to Webkit. (Closed)

Created:
7 years, 8 months ago by sugoi1
Modified:
7 years, 6 months ago
Reviewers:
Stephen White, sugoi, ojan
CC:
blink-reviews, jamesr, Stephen Chennney, jeez
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Added Skia turbulence filter to Webkit. The FETurbulence class was modified to include hookups into Skia's PerlinNoise shader (which should be numerically equivalent to Blink's). Note that a temporary patch was added to support SVG declared filters within CSS (which was not working before this cl), so that we query the size when it has not yet been set. This issue is already present in other filters and is logged as issue 231504. Tests: effect-reference.html and effect-reference-hw.html were each modified to add an feTurbulence case. R=senorblanco@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149212 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152369

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added Skia turbulence filter to Webkit. #

Total comments: 6

Patch Set 3 : Added Skia turbulence filter to Webkit. #

Patch Set 4 : Added Skia turbulence filter to Webkit. #

Patch Set 5 : Added Skia turbulence filter to Webkit #

Patch Set 6 : Added Skia turbulence filter to Webkit #

Patch Set 7 : Added Skia turbulence filter to Webkit #

Patch Set 8 : Update after fixing shader in Skia #

Patch Set 9 : Adding TestExpectations typo-related failures #

Total comments: 4

Patch Set 10 : Fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -2 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/effect-reference.html View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/effect-reference-hw.html View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FETurbulence.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FETurbulence.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +38 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
sugoi1
7 years, 8 months ago (2013-04-15 17:49:17 UTC) #1
Stephen White
Please add a test case to LayoutTests/css3/filters/effect-reference.html and effect-reference-hw.html https://codereview.chromium.org/14263013/diff/1/Source/WebCore/platform/graphics/filters/skia/FETurbulenceSkia.cpp File Source/WebCore/platform/graphics/filters/skia/FETurbulenceSkia.cpp (right): https://codereview.chromium.org/14263013/diff/1/Source/WebCore/platform/graphics/filters/skia/FETurbulenceSkia.cpp#newcode38 Source/WebCore/platform/graphics/filters/skia/FETurbulenceSkia.cpp:38: ...
7 years, 8 months ago (2013-04-15 17:56:28 UTC) #2
sugoi1
I made the changes, but note that this version : 1 ) Requires this Skia ...
7 years, 8 months ago (2013-04-17 22:02:44 UTC) #3
sugoi1
FYI, the required changes to SkRectShaderImageFilter have been committed and are now in the chromium ...
7 years, 8 months ago (2013-04-23 15:31:03 UTC) #4
Stephen White
https://codereview.chromium.org/14263013/diff/4001/Source/core/platform/graphics/filters/FETurbulence.cpp File Source/core/platform/graphics/filters/FETurbulence.cpp (right): https://codereview.chromium.org/14263013/diff/4001/Source/core/platform/graphics/filters/FETurbulence.cpp#newcode371 Source/core/platform/graphics/filters/FETurbulence.cpp:371: noiseSize.isEmpty() ? absolutePaintRect().size() : noiseSize); Please add a FIXME ...
7 years, 8 months ago (2013-04-23 15:48:36 UTC) #5
sugoi1
https://codereview.chromium.org/14263013/diff/4001/Source/core/platform/graphics/filters/FETurbulence.cpp File Source/core/platform/graphics/filters/FETurbulence.cpp (right): https://codereview.chromium.org/14263013/diff/4001/Source/core/platform/graphics/filters/FETurbulence.cpp#newcode371 Source/core/platform/graphics/filters/FETurbulence.cpp:371: noiseSize.isEmpty() ? absolutePaintRect().size() : noiseSize); On 2013/04/23 15:48:36, Stephen ...
7 years, 8 months ago (2013-04-23 20:05:48 UTC) #6
Stephen White
LGTM
7 years, 8 months ago (2013-04-23 20:22:56 UTC) #7
Stephen White
On 2013/04/23 20:22:56, Stephen White wrote: > LGTM Whoops -- spoke too soon. You'll need ...
7 years, 8 months ago (2013-04-23 20:23:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/14263013/16001
7 years, 8 months ago (2013-04-24 19:09:44 UTC) #9
commit-bot: I haz the power
Change committed as 149034
7 years, 8 months ago (2013-04-24 20:10:49 UTC) #10
ojan
This patch broke the mac debug compile. I'm rolling out. http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac%20Builder%20%28dbg%29/builds/42718/steps/compile/logs/stdio
7 years, 8 months ago (2013-04-24 20:28:35 UTC) #11
pdr
I don't think this change description was detailed enough. Please use better commit messages so ...
7 years, 8 months ago (2013-04-24 22:13:24 UTC) #12
sugoi1
Since it was reverted an now has to be re-committed, I added a better description ...
7 years, 8 months ago (2013-04-26 15:01:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/14263013/27001
7 years, 8 months ago (2013-04-26 15:13:11 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=5708
7 years, 8 months ago (2013-04-26 15:45:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/14263013/27001
7 years, 8 months ago (2013-04-26 15:47:48 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-26 15:50:08 UTC) #17
Justin Novosad
Committed patchset #5 manually as r149212.
7 years, 8 months ago (2013-04-26 17:17:42 UTC) #18
ojan
This test crashes on Mac/Linux debug. I assume it's hitting an assert. Rolling back. See ...
7 years, 8 months ago (2013-04-26 22:02:59 UTC) #19
sugoi1
On 2013/04/26 22:02:59, ojan wrote: > This test crashes on Mac/Linux debug. I assume it's ...
7 years, 7 months ago (2013-04-29 13:50:59 UTC) #20
sugoi1
On 2013/04/29 13:50:59, sugoi1 wrote: > On 2013/04/26 22:02:59, ojan wrote: > > This test ...
7 years, 7 months ago (2013-04-29 14:15:18 UTC) #21
ojan
On 2013/04/29 14:15:18, sugoi1 wrote: > On 2013/04/29 13:50:59, sugoi1 wrote: > > On 2013/04/26 ...
7 years, 7 months ago (2013-04-29 17:22:38 UTC) #22
sugoi
Updated and ran trybots
7 years, 6 months ago (2013-06-13 17:23:23 UTC) #23
Stephen White
https://codereview.chromium.org/14263013/diff/49001/Source/core/platform/graphics/filters/FETurbulence.cpp File Source/core/platform/graphics/filters/FETurbulence.cpp (right): https://codereview.chromium.org/14263013/diff/49001/Source/core/platform/graphics/filters/FETurbulence.cpp#newcode370 Source/core/platform/graphics/filters/FETurbulence.cpp:370: // it's currently not being set when an SVG ...
7 years, 6 months ago (2013-06-13 17:28:05 UTC) #24
sugoi
https://codereview.chromium.org/14263013/diff/49001/Source/core/platform/graphics/filters/FETurbulence.cpp File Source/core/platform/graphics/filters/FETurbulence.cpp (right): https://codereview.chromium.org/14263013/diff/49001/Source/core/platform/graphics/filters/FETurbulence.cpp#newcode370 Source/core/platform/graphics/filters/FETurbulence.cpp:370: // it's currently not being set when an SVG ...
7 years, 6 months ago (2013-06-13 17:46:33 UTC) #25
Stephen White
LGTM
7 years, 6 months ago (2013-06-13 17:50:50 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sugoi@chromium.org/14263013/58001
7 years, 6 months ago (2013-06-13 17:51:28 UTC) #27
commit-bot: I haz the power
7 years, 6 months ago (2013-06-13 19:02:50 UTC) #28
Message was sent while issue was closed.
Change committed as 152369

Powered by Google App Engine
This is Rietveld 408576698