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

Issue 1401053003: change SkImage_Gpu to handle all filters (w/ and w/o gpu support (Closed)

Created:
5 years, 2 months ago by reed1
Modified:
5 years, 2 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

change SkImage_Gpu to handle all filters (w/ and w/o gpu support The result is that the set of "generic" imagefilters (e.g. SkColorFilterImageFilter) that use drawing commands to return their results will now stay in the same domain as their src (i.e. gpu-src --> gpu-dst). ApplyFilterGM exercises this, and now asserts this same-domain invariant. BUG=skia:4467 Committed: https://skia.googlesource.com/skia/+/59dc0d22f557a20669126fa425baefe6dd4b727a

Patch Set 1 #

Patch Set 2 : check if we're still raster, and if so fall back to drawing version #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 9

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -16 lines) Patch
M gm/spritebitmap.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 4 1 chunk +35 lines, -16 lines 0 comments Download

Messages

Total messages: 28 (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/1401053003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401053003/1
5 years, 2 months ago (2015-10-14 20:50:40 UTC) #2
reed1
just calling filterImage() requires a proxy that itself can implement filtering. In the case of ...
5 years, 2 months ago (2015-10-14 20:54:12 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-14 20:57:56 UTC) #6
robertphillips
lgtm
5 years, 2 months ago (2015-10-14 21:09:53 UTC) #7
Stephen White
(Don't get me wrong -- I love the idea of being able to get rid ...
5 years, 2 months ago (2015-10-14 21:41:43 UTC) #9
reed1
Current results of using this with the gl_renderer CL (which calls applyFilter).... 3 tests failed: ...
5 years, 2 months ago (2015-10-15 21:31:02 UTC) #10
Stephen White
On 2015/10/15 21:31:02, reed1 wrote: > Current results of using this with the gl_renderer CL ...
5 years, 2 months ago (2015-10-15 21:38:52 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/1401053003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401053003/60001
5 years, 2 months ago (2015-10-16 19:51:18 UTC) #13
reed1
moved gpu stuff into proxy, per stephen's suggestion. ptal
5 years, 2 months ago (2015-10-16 19:51:30 UTC) #14
Stephen White
https://codereview.chromium.org/1401053003/diff/60001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1401053003/diff/60001/src/image/SkImage_Gpu.cpp#newcode220 src/image/SkImage_Gpu.cpp:220: filter->filterImageGPU(this, src, ctx, dst, offset); This part looks good, ...
5 years, 2 months ago (2015-10-16 20:14:05 UTC) #16
reed1
https://codereview.chromium.org/1401053003/diff/60001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1401053003/diff/60001/src/image/SkImage_Gpu.cpp#newcode232 src/image/SkImage_Gpu.cpp:232: bool forceResultToOriginalSize) const { On 2015/10/16 20:14:05, Stephen White ...
5 years, 2 months ago (2015-10-16 20:41:52 UTC) #17
Stephen White
https://codereview.chromium.org/1401053003/diff/60001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1401053003/diff/60001/src/image/SkImage_Gpu.cpp#newcode232 src/image/SkImage_Gpu.cpp:232: bool forceResultToOriginalSize) const { BTW, if we also added ...
5 years, 2 months ago (2015-10-16 21:12:04 UTC) #18
reed1
You are suggesting a change to the API and featureset of this api. I think ...
5 years, 2 months ago (2015-10-19 13:46:17 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401053003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401053003/80001
5 years, 2 months ago (2015-10-19 13:46:48 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-19 13:55:59 UTC) #23
Stephen White
LGTM
5 years, 2 months ago (2015-10-19 15:13:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401053003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401053003/80001
5 years, 2 months ago (2015-10-19 15:23:31 UTC) #27
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 15:24:24 UTC) #28
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/59dc0d22f557a20669126fa425baefe6dd4b727a

Powered by Google App Engine
This is Rietveld 408576698