Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2384)

Issue 6250073: Implement morphology as a custom effect (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by bsalomon
Modified:
12 years, 5 months ago
Reviewers:
Stephen White, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : remove sampler state enum values #

Patch Set 4 : sdkflj #

Patch Set 5 : more cleanup #

Patch Set 6 : sjkghjdsk #

Total comments: 3

Patch Set 7 : Remove base class GrGL1DKernelEffect #

Total comments: 12

Patch Set 8 : merge with recent changes, fix leaks #

Total comments: 11

Patch Set 9 : Incorporate Tom's comments #

Patch Set 10 : Incorporate Stephen's comments #

Patch Set 11 : remove build_kernel #

Total comments: 2

Patch Set 12 : remove unused vars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -612 lines) Patch
M gyp/gpu.gyp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -1 line 0 comments Download
M include/gpu/GrCustomStage.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrProgramStageFactory.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
include/gpu/GrSamplerState.h View 1 2 3 4 5 6 7 12 chunks +5 lines, -65 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +40 lines, -66 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
A + src/gpu/effects/Gr1DKernelEffect.h View 1 2 3 4 5 6 7 8 9 1 chunk +27 lines, -24 lines 0 comments Download
MM src/gpu/effects/GrConvolutionEffect.h View 1 2 3 4 5 6 7 8 9 1 chunk +31 lines, -13 lines 0 comments Download
MM src/gpu/effects/GrConvolutionEffect.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +85 lines, -80 lines 0 comments Download
A + src/gpu/effects/GrMorphologyEffect.h View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -21 lines 0 comments Download
A + src/gpu/effects/GrMorphologyEffect.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +91 lines, -129 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 3 4 5 6 7 3 chunks +1 line, -9 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 5 6 7 7 chunks +2 lines, -103 lines 0 comments Download
M src/gpu/gl/GrGLProgramStage.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLProgramStage.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 2 3 4 5 6 7 8 9 11 chunks +87 lines, -84 lines 0 comments Download

Messages

Total messages: 16
bsalomon
PTAL. I'm not convinced that a common base class for morphology and convolution was a ...
12 years, 5 months ago (2012-05-30 13:31:24 UTC) #1
TomH
On 2012/05/30 13:31:24, bsalomon wrote: > PTAL. I'm not convinced that a common base class ...
12 years, 5 months ago (2012-05-30 14:21:12 UTC) #2
Stephen White
On 2012/05/30 13:31:24, bsalomon wrote: > PTAL. I'm not convinced that a common base class ...
12 years, 5 months ago (2012-05-30 14:22:57 UTC) #3
Stephen White
BTW, the width limit of 25 was based on the max. number of texture samples ...
12 years, 5 months ago (2012-05-30 14:31:33 UTC) #4
bsalomon
I'll post an updated patch that removes the base classes. I think we all agree ...
12 years, 5 months ago (2012-05-30 14:43:14 UTC) #5
bsalomon
The latest patch set both rebaselines against Tom's recent change to how uniforms are setup ...
12 years, 5 months ago (2012-05-30 21:21:08 UTC) #6
TomH
Great! Let's land this + your other outstanding CLs, then I'll put my gradient implementation ...
12 years, 5 months ago (2012-05-31 15:28:06 UTC) #7
bsalomon
On 2012/05/30 21:21:08, bsalomon wrote: > The latest patch set both rebaselines against Tom's recent ...
12 years, 5 months ago (2012-05-31 15:31:37 UTC) #8
TomH
Changes LGTM, but see comment #7 for some issues. http://codereview.appspot.com/6250073/diff/2006/src/gpu/gl/GrGpuGL_program.cpp File src/gpu/gl/GrGpuGL_program.cpp (right): http://codereview.appspot.com/6250073/diff/2006/src/gpu/gl/GrGpuGL_program.cpp#newcode369 src/gpu/gl/GrGpuGL_program.cpp:369: ...
12 years, 5 months ago (2012-05-31 15:35:04 UTC) #9
Stephen White
http://codereview.appspot.com/6250073/diff/2006/gyp/gpu.gyp File gyp/gpu.gyp (right): http://codereview.appspot.com/6250073/diff/2006/gyp/gpu.gyp#newcode279 gyp/gpu.gyp:279: '../src/gpu/effects/GrConvolutionEffect.cpp', GrConvolutionEffect.cpp seems to be in here twice http://codereview.appspot.com/6250073/diff/2006/src/gpu/effects/Gr1DKernelEffect.h ...
12 years, 5 months ago (2012-05-31 15:45:45 UTC) #10
bsalomon
Latest patch addresses both Tom and Stephen's comments. I also made filling out the Gaussian ...
12 years, 5 months ago (2012-05-31 17:53:38 UTC) #11
TomH
LGTM
12 years, 5 months ago (2012-05-31 17:57:17 UTC) #12
Stephen White
http://codereview.appspot.com/6250073/diff/11023/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6250073/diff/11023/src/gpu/GrContext.cpp#newcode2123 src/gpu/GrContext.cpp:2123: int width = GrConvolutionEffect::WidthFromRadius(radiusX); This variable now seems to ...
12 years, 5 months ago (2012-05-31 18:16:16 UTC) #13
bsalomon
On 2012/05/31 18:16:16, Stephen White wrote: > http://codereview.appspot.com/6250073/diff/11023/src/gpu/GrContext.cpp > File src/gpu/GrContext.cpp (right): > > http://codereview.appspot.com/6250073/diff/11023/src/gpu/GrContext.cpp#newcode2123 ...
12 years, 5 months ago (2012-05-31 18:27:29 UTC) #14
Stephen White
LGTM
12 years, 5 months ago (2012-05-31 18:36:50 UTC) #15
bsalomon
12 years, 5 months ago (2012-06-01 18:59:12 UTC) #16
Landed r4102
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b