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

Issue 1657773002: Fix zero-sized blur with crop rect. (Closed)

Created:
4 years, 10 months ago by Stephen White
Modified:
4 years, 10 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix zero-sized blur with crop rect. Neither the GPU nor CPU paths were correctly handling the crop rect in this case. NOTE: this change adds a new test case to the imageblurcropped GM, so it will have to be rebaselined. BUG=skia:4876 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1657773002 Committed: https://skia.googlesource.com/skia/+/6404981b0c3984ba91b3bda35e60c6c8a8a773c2

Patch Set 1 #

Patch Set 2 : Do all early-outs before allocating dst #

Total comments: 6

Patch Set 3 : Fixes per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -24 lines) Patch
M gm/imagefilterscropped.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 2 5 chunks +28 lines, -22 lines 0 comments Download

Messages

Total messages: 19 (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/1657773002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657773002/1
4 years, 10 months ago (2016-02-01 16:24:13 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/5718)
4 years, 10 months ago (2016-02-01 16:38:26 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657773002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657773002/20001
4 years, 10 months ago (2016-02-01 16:45:38 UTC) #7
Stephen White
Rob: PTAL. Thanks!
4 years, 10 months ago (2016-02-01 16:49:55 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-01 17:00:01 UTC) #12
robertphillips
lgtm + nits https://codereview.chromium.org/1657773002/diff/20001/gm/imagefilterscropped.cpp File gm/imagefilterscropped.cpp (right): https://codereview.chromium.org/1657773002/diff/20001/gm/imagefilterscropped.cpp#newcode78 gm/imagefilterscropped.cpp:78: rm virtual here and on 'onShortName' ...
4 years, 10 months ago (2016-02-01 17:41:36 UTC) #13
Stephen White
Thanks for your review. https://codereview.chromium.org/1657773002/diff/20001/gm/imagefilterscropped.cpp File gm/imagefilterscropped.cpp (right): https://codereview.chromium.org/1657773002/diff/20001/gm/imagefilterscropped.cpp#newcode78 gm/imagefilterscropped.cpp:78: On 2016/02/01 17:41:35, robertphillips wrote: ...
4 years, 10 months ago (2016-02-01 18:20:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657773002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657773002/40001
4 years, 10 months ago (2016-02-01 18:20:48 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 18:32:44 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/6404981b0c3984ba91b3bda35e60c6c8a8a773c2

Powered by Google App Engine
This is Rietveld 408576698