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

Issue 1862733002: Remove all use of crop edges from SkImageFilter::CropRect. (Closed)

Created:
4 years, 8 months ago by Stephen White
Modified:
4 years, 8 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, danakj+watch_chromium.org, ajuma+watch-canvas_chromium.org, dshwang, jbroman, haraken, Rik, f(malita), blink-reviews-platform-graphics_chromium.org, blink-reviews, kinuko+watch, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove all use of crop edges from SkImageFilter::CropRect. Since we're now always passing full crop rects to Skia (or nothing), we don't need to use individual edge flags. This required teaching canvas filters to call determineFilterPrimitiveSubregion() in order to ensure that the filter subregions are valid. BUG=599933 Committed: https://crrev.com/8e52c44a881302e67c4d7d924bcbe69f603e1aa5 Cr-Commit-Position: refs/heads/master@{#386709}

Patch Set 1 #

Patch Set 2 : Fix FEMorphology bug #

Total comments: 5

Patch Set 3 : Simplify #

Patch Set 4 : Update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -12 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FilterEffect.cpp View 1 chunk +2 lines, -12 lines 0 comments Download

Messages

Total messages: 39 (19 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/1862733002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862733002/1
4 years, 8 months ago (2016-04-05 18:59:18 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/26708)
4 years, 8 months ago (2016-04-05 20:09:10 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862733002/20001
4 years, 8 months ago (2016-04-05 20:16:16 UTC) #8
Stephen White
FLorin: PTAL. Thanks!
4 years, 8 months ago (2016-04-05 21:50:42 UTC) #9
Stephen White
+junov@ for modules/canvas2d
4 years, 8 months ago (2016-04-05 22:02:52 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-06 00:05:34 UTC) #13
f(malita)
Looks good, just some getCropRect bike-shedding :) https://codereview.chromium.org/1862733002/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp File third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp (right): https://codereview.chromium.org/1862733002/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp#newcode333 third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp:333: lastEffect->determineFilterPrimitiveSubregion(); Is ...
4 years, 8 months ago (2016-04-06 14:21:08 UTC) #14
Justin Novosad
modules/canvas2d lgtm
4 years, 8 months ago (2016-04-06 18:06:14 UTC) #15
Stephen White
https://codereview.chromium.org/1862733002/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp File third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp (right): https://codereview.chromium.org/1862733002/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp#newcode333 third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp:333: lastEffect->determineFilterPrimitiveSubregion(); On 2016/04/06 14:21:08, f(malita) wrote: > Is this ...
4 years, 8 months ago (2016-04-11 21:30:22 UTC) #16
Stephen White
New patch up. This one still uses the flags param, but only uses it to ...
4 years, 8 months ago (2016-04-11 21:32:32 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862733002/40001
4 years, 8 months ago (2016-04-11 21:33:40 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 23:26:51 UTC) #22
f(malita)
LGTM https://codereview.chromium.org/1862733002/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp File third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp (right): https://codereview.chromium.org/1862733002/diff/20001/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp#newcode333 third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp:333: lastEffect->determineFilterPrimitiveSubregion(); On 2016/04/11 21:30:22, Stephen White wrote: > ...
4 years, 8 months ago (2016-04-12 05:00:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862733002/40001
4 years, 8 months ago (2016-04-12 12:52:08 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/167472)
4 years, 8 months ago (2016-04-12 12:58:33 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862733002/40001
4 years, 8 months ago (2016-04-12 14:24:41 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/167518)
4 years, 8 months ago (2016-04-12 14:32:09 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862733002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862733002/60001
4 years, 8 months ago (2016-04-12 15:22:56 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-12 16:35:22 UTC) #37
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 16:37:08 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8e52c44a881302e67c4d7d924bcbe69f603e1aa5
Cr-Commit-Position: refs/heads/master@{#386709}

Powered by Google App Engine
This is Rietveld 408576698