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

Issue 721073003: Pass PaintBehaviorRenderingClipPathAsMask in PaintInfo (Closed)

Created:
6 years, 1 month ago by fs
Modified:
6 years, 1 month ago
Reviewers:
f(malita)
CC:
blink-reviews, blink-reviews-rendering, kouhei+svg_chromium.org, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, slimming-paint-reviews_chromium.org, fs, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, blink-reviews-paint_chromium.org, Stephen Chennney, rwlbuis, pdr+svgwatchlist_chromium.org
Project:
blink
Visibility:
Public.

Description

Pass PaintBehaviorRenderingClipPathAsMask in PaintInfo Passing PaintInfo to SVGPaintServer::updateGraphicsContext (instead of GraphicsContext), PaintInfo::paintBehavior can be used instead of the view's. This also reduces SVGRenderSupport::isRenderingClipPathAsMaskImage to a single/simple bit-test, which should help some workloads. BUG=434376 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185544

Patch Set 1 #

Total comments: 6

Patch Set 2 : Constify; Add ASSERT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -59 lines) Patch
M Source/core/paint/SVGInlineTextBoxPainter.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/paint/SVGInlineTextBoxPainter.cpp View 1 14 chunks +22 lines, -22 lines 0 comments Download
M Source/core/paint/SVGShapePainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/PaintInfo.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceClipper.cpp View 3 chunks +8 lines, -14 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.cpp View 1 3 chunks +4 lines, -10 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderingContext.cpp View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
fs
Originally wrote this while working on the RenderSVGResource stuff, but kept pushing it forward in ...
6 years, 1 month ago (2014-11-18 17:26:44 UTC) #2
f(malita)
Awesome, this is almost identical to what I had started (so, obviously, lvgtm :) LGTM ...
6 years, 1 month ago (2014-11-18 17:36:00 UTC) #3
fs
https://codereview.chromium.org/721073003/diff/1/Source/core/paint/SVGInlineTextBoxPainter.h File Source/core/paint/SVGInlineTextBoxPainter.h (right): https://codereview.chromium.org/721073003/diff/1/Source/core/paint/SVGInlineTextBoxPainter.h#newcode32 Source/core/paint/SVGInlineTextBoxPainter.h:32: void paintDecoration(PaintInfo&, TextDecoration, const SVGTextFragment&); On 2014/11/18 17:35:59, Florin ...
6 years, 1 month ago (2014-11-18 18:18:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721073003/20001
6 years, 1 month ago (2014-11-18 19:14:32 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 19:23:15 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185544

Powered by Google App Engine
This is Rietveld 408576698