Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(29)

Issue 1184633004: Fix masking cull rects (Closed)

Created:
4 years, 10 months ago by pdr.
Modified:
4 years, 10 months ago
Reviewers:
chrishtr, fs
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix masking cull rects This patch fixes the cull rect used by SVG masks to be finite. This fixes mask clipping and cleans up the code a bit. TEST=svg/W3C-SVG-1.1/masking-intro-01-f.svg with the following flags: --additional-driver-flag=--enable-slimming-paint --additional-driver-flag=--enable-blink-features=SlimmingPaintStrictCullRectClipping BUG=498857 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197055

Patch Set 1 #

Total comments: 3

Patch Set 2 : Early out and use the paint invalidation bounding box #

Patch Set 3 : No bounding boxes! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M Source/core/paint/SVGMaskPainter.cpp View 1 2 1 chunk +9 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184633004/1
4 years, 10 months ago (2015-06-12 06:26:31 UTC) #5
pdr.
4 years, 10 months ago (2015-06-12 06:26:33 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-12 07:46:37 UTC) #8
fs
https://codereview.chromium.org/1184633004/diff/1/Source/core/paint/SVGMaskPainter.cpp File Source/core/paint/SVGMaskPainter.cpp (right): https://codereview.chromium.org/1184633004/diff/1/Source/core/paint/SVGMaskPainter.cpp#newcode74 Source/core/paint/SVGMaskPainter.cpp:74: LayoutObjectDrawingRecorder drawingRecorder(*context, layoutObject, DisplayItem::SVGMask, targetBoundingBox); targetBoundingBox could be too ...
4 years, 10 months ago (2015-06-12 08:12:32 UTC) #9
chrishtr
https://codereview.chromium.org/1184633004/diff/1/Source/core/paint/SVGMaskPainter.cpp File Source/core/paint/SVGMaskPainter.cpp (left): https://codereview.chromium.org/1184633004/diff/1/Source/core/paint/SVGMaskPainter.cpp#oldcode78 Source/core/paint/SVGMaskPainter.cpp:78: LayoutObjectDrawingRecorder drawingRecorder(*context, layoutObject, DisplayItem::SVGMask, LayoutRect::infiniteIntRect()); Curious: why did the ...
4 years, 10 months ago (2015-06-12 16:03:03 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184633004/20001
4 years, 10 months ago (2015-06-12 16:05:52 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-12 17:09:57 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184633004/40001
4 years, 10 months ago (2015-06-12 17:12:13 UTC) #16
pdr.
@fs, good catch with the bounding box. In the latest patchset I've switched to not ...
4 years, 10 months ago (2015-06-12 17:13:03 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-12 18:15:42 UTC) #19
chrishtr
lgtm
4 years, 10 months ago (2015-06-12 19:32:22 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184633004/40001
4 years, 10 months ago (2015-06-12 19:32:41 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2015-06-12 19:36:24 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197055

Powered by Google App Engine
This is Rietveld 408576698