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

Issue 1882943002: Switch SkMagnifierImageFilter over to new onFilterImage interface (Closed)

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

Description

Switch SkMagnifierImageFilter over to new onFilterImage interface Additionally, this CL: adds crop handling to the CPU path (the GPU path handled it but with a bug) adds a cropRect (to better justify the applyCropRect) adds a GM to exercise the cropRect Note: I believe the handling of cropRects and clipping is deeply flawed but, at least, the two paths are consistently flawed now. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1882943002 Committed: https://skia.googlesource.com/skia/+/b2a4dc6a350abe3b18ecac719e499600f739a6e2

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : more clean up #

Total comments: 3

Patch Set 4 : Use getAddr32 instead of getColor (which returns linear colors) #

Patch Set 5 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -89 lines) Patch
M gm/imagemagnifier.cpp View 1 2 2 chunks +50 lines, -0 lines 0 comments Download
M include/effects/SkMagnifierImageFilter.h View 2 chunks +9 lines, -8 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 2 3 4 7 chunks +129 lines, -81 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
robertphillips
https://codereview.chromium.org/1882943002/diff/40001/src/effects/SkMagnifierImageFilter.cpp File src/effects/SkMagnifierImageFilter.cpp (right): https://codereview.chromium.org/1882943002/diff/40001/src/effects/SkMagnifierImageFilter.cpp#newcode329 src/effects/SkMagnifierImageFilter.cpp:329: effectBounds, these next two "/bounds.width()" used to be "/texture->width()" ...
4 years, 8 months ago (2016-04-13 21:04:14 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/1882943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882943002/40001
4 years, 8 months ago (2016-04-13 21:17:13 UTC) #8
Stephen White
I'm not sure why we're adding API for crop rect, if we know it's buggy, ...
4 years, 8 months ago (2016-04-13 21:23:23 UTC) #9
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/7823)
4 years, 8 months ago (2016-04-13 21:24:04 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882943002/40001
4 years, 8 months ago (2016-04-13 21:33:41 UTC) #13
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/7825)
4 years, 8 months ago (2016-04-13 21:38:11 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882943002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882943002/80001
4 years, 8 months ago (2016-04-14 14:20:26 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 14:40:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882943002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882943002/80001
4 years, 8 months ago (2016-04-14 14:53:08 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 14:54:07 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/b2a4dc6a350abe3b18ecac719e499600f739a6e2

Powered by Google App Engine
This is Rietveld 408576698