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

Issue 973593002: change colorfilter to return an array of frag processors (Closed)

Created:
5 years, 9 months ago by reed1
Modified:
5 years, 6 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 colorfilter to return an array of frag processors BUG=skia: Committed: https://skia.googlesource.com/skia/+/cff10b21a9934afc540d121b493b204335829589

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : update gm #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -53 lines) Patch
M gm/tablecolorfilter.cpp View 1 2 4 chunks +57 lines, -18 lines 0 comments Download
M include/core/SkColorFilter.h View 1 2 3 chunks +12 lines, -5 lines 1 comment Download
M include/effects/SkColorCubeFilter.h View 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkColorMatrixFilter.h View 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkLumaColorFilter.h View 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkModeColorFilter.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkColorFilter.cpp View 1 2 2 chunks +6 lines, -7 lines 0 comments Download
M src/effects/SkColorCubeFilter.cpp View 2 chunks +10 lines, -2 lines 2 comments Download
M src/effects/SkColorFilters.cpp View 1 chunk +10 lines, -3 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 1 chunk +10 lines, -2 lines 0 comments Download
M src/effects/SkLumaColorFilter.cpp View 1 chunk +11 lines, -2 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M src/effects/SkTableColorFilter.cpp View 2 chunks +18 lines, -4 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +6 lines, -3 lines 0 comments Download
M tests/GpuColorFilterTest.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
reed1
ptal
5 years, 9 months ago (2015-03-03 13:40:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973593002/40001
5 years, 9 months ago (2015-03-03 13:40:52 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 9 months ago (2015-03-03 13:40:53 UTC) #5
egdaniel
lgtm
5 years, 9 months ago (2015-03-03 14:40:28 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/cff10b21a9934afc540d121b493b204335829589
5 years, 9 months ago (2015-03-03 14:41:49 UTC) #8
bsalomon
https://codereview.chromium.org/973593002/diff/40001/include/core/SkColorFilter.h File include/core/SkColorFilter.h (right): https://codereview.chromium.org/973593002/diff/40001/include/core/SkColorFilter.h#newcode149 include/core/SkColorFilter.h:149: virtual bool asFragmentProcessors(GrContext*, SkTDArray<GrFragmentProcessor*>*) const { Does this mean ...
5 years, 9 months ago (2015-03-03 17:51:01 UTC) #9
Noel Gordon
https://codereview.chromium.org/973593002/diff/40001/src/effects/SkColorCubeFilter.cpp File src/effects/SkColorCubeFilter.cpp (right): https://codereview.chromium.org/973593002/diff/40001/src/effects/SkColorCubeFilter.cpp#newcode367 src/effects/SkColorCubeFilter.cpp:367: return true; If array was NULL (maybe doesn't happen ...
5 years, 6 months ago (2015-06-09 17:29:04 UTC) #11
bsalomon
https://codereview.chromium.org/973593002/diff/40001/src/effects/SkColorCubeFilter.cpp File src/effects/SkColorCubeFilter.cpp (right): https://codereview.chromium.org/973593002/diff/40001/src/effects/SkColorCubeFilter.cpp#newcode367 src/effects/SkColorCubeFilter.cpp:367: return true; On 2015/06/09 17:29:03, noel gordon wrote: > ...
5 years, 6 months ago (2015-06-12 15:20:36 UTC) #12
Noel Gordon
On 2015/06/12 15:20:36, bsalomon wrote: > On 2015/06/09 17:29:03, noel gordon wrote: > > If ...
5 years, 6 months ago (2015-06-12 16:45:27 UTC) #13
bsalomon
5 years, 6 months ago (2015-06-12 16:56:18 UTC) #14
Message was sent while issue was closed.
On 2015/06/12 16:45:27, noel gordon wrote:
> On 2015/06/12 15:20:36, bsalomon wrote:
> 
> > On 2015/06/09 17:29:03, noel gordon wrote:
> > > If array was NULL (maybe doesn't happen in practice) looks to me like this
> code
> > > memory leaks the GrFragmentProcessor* frag. Was that intentional?
> > 
> > Definitely not!
> 
> Ok thanks, I suppose you guys will fix it some time.

I landed a fix here: https://codereview.chromium.org/1182813002

Powered by Google App Engine
This is Rietveld 408576698