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

Issue 947893002: Implement SVG masking with slimming paint (Closed)

Created:
5 years, 10 months ago by pdr.
Modified:
5 years, 9 months ago
Reviewers:
ajuma, chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, Rik, danakj, dglazkov+blink, Dominik Röttsches, dshwang, krit, eae+blinkwatch, ed+blinkwatch_opera.com, f(malita), fs, gyuyoung.kim_webkit.org, jbroman, jchaffraix+rendering, Justin Novosad, kouhei+svg_chromium.org, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Implement SVG masking with slimming paint This patch moves SVG masking over to slimming paint. The Compositing recorder has been heavily refactored to add a parameter for color filters and a bounding rect, as well as merging the blend mode and compositing ops. With this patch we pass all tests in the newly-added virt/svg/masking directory, as well as 3 additional tests. This patch depends on: https://codereview.chromium.org/942403002 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190793

Patch Set 1 #

Patch Set 2 : Minor tweaks #

Patch Set 3 : Remove spurious change #

Total comments: 5

Patch Set 4 : Update per reviewer comments #

Patch Set 5 : Add a mask debug print string #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -63 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M LayoutTests/VirtualTestSuites View 1 chunk +5 lines, -0 lines 0 comments Download
A + LayoutTests/virtual/slimmingpaint/svg/masking/README.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/svg/LayoutSVGResourceMasker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/svg/LayoutSVGResourceMasker.cpp View 1 2 5 chunks +51 lines, -30 lines 0 comments Download
M Source/core/paint/CompositingRecorder.h View 4 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/paint/CompositingRecorder.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/paint/LayerPainter.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/paint/SVGPaintContext.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/GraphicsContext.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/paint/CompositingDisplayItem.h View 3 chunks +14 lines, -9 lines 0 comments Download
M Source/platform/graphics/paint/CompositingDisplayItem.cpp View 2 chunks +5 lines, -6 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/paint/DrawingDisplayItem.h View 1 chunk +0 lines, -1 line 0 comments Download
M public/platform/WebDisplayItemList.h View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
pdr.
5 years, 10 months ago (2015-02-23 17:01:05 UTC) #2
ajuma
lgtm https://codereview.chromium.org/947893002/diff/40001/Source/core/paint/CompositingRecorder.h File Source/core/paint/CompositingRecorder.h (right): https://codereview.chromium.org/947893002/diff/40001/Source/core/paint/CompositingRecorder.h#newcode20 Source/core/paint/CompositingRecorder.h:20: explicit CompositingRecorder(GraphicsContext*, DisplayItemClient, const SkXfermode::Mode, const float, const ...
5 years, 10 months ago (2015-02-23 18:19:28 UTC) #3
jbroman
https://codereview.chromium.org/947893002/diff/40001/Source/core/paint/CompositingRecorder.h File Source/core/paint/CompositingRecorder.h (right): https://codereview.chromium.org/947893002/diff/40001/Source/core/paint/CompositingRecorder.h#newcode20 Source/core/paint/CompositingRecorder.h:20: explicit CompositingRecorder(GraphicsContext*, DisplayItemClient, const SkXfermode::Mode, const float, const FloatRect* ...
5 years, 10 months ago (2015-02-23 18:20:44 UTC) #4
pdr.
Thanks! https://codereview.chromium.org/947893002/diff/40001/Source/core/paint/CompositingRecorder.h File Source/core/paint/CompositingRecorder.h (right): https://codereview.chromium.org/947893002/diff/40001/Source/core/paint/CompositingRecorder.h#newcode20 Source/core/paint/CompositingRecorder.h:20: explicit CompositingRecorder(GraphicsContext*, DisplayItemClient, const SkXfermode::Mode, const float, const ...
5 years, 10 months ago (2015-02-23 22:00:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947893002/60001
5 years, 10 months ago (2015-02-23 22:01:37 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_dbg/builds/29176) android_blink_compile_rel on tryserver.blink (JOB_FAILED, ...
5 years, 10 months ago (2015-02-23 23:05:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947893002/60001
5 years, 10 months ago (2015-02-23 23:07:47 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_dbg/builds/29186)
5 years, 10 months ago (2015-02-23 23:46:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947893002/60001
5 years, 9 months ago (2015-02-24 19:17:19 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_blink_compile_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/android_blink_compile_rel/builds/29387)
5 years, 9 months ago (2015-02-24 19:54:49 UTC) #18
pdr.
On 2015/02/24 at 19:54:49, commit-bot wrote: > Try jobs failed on following builders: > android_blink_compile_rel ...
5 years, 9 months ago (2015-02-24 22:15:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947893002/60001
5 years, 9 months ago (2015-02-24 22:43:06 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/46730)
5 years, 9 months ago (2015-02-25 00:00:25 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947893002/80001
5 years, 9 months ago (2015-02-25 00:46:06 UTC) #26
commit-bot: I haz the power
5 years, 9 months ago (2015-02-25 02:17:55 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190793

Powered by Google App Engine
This is Rietveld 408576698