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

Issue 6784053: Make GrGLGradientEffect derive directly from GrGLEffect. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by bsalomon
Modified:
11 years, 8 months ago
Reviewers:
robertphillips
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/branches/gpu_dev/
Visibility:
Public.

Description

Make GrGLGradientEffect derive directly from GrGLEffect. Committed: https://code.google.com/p/skia/source/detail?r=6163

Patch Set 1 #

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -247 lines) Patch
M src/effects/gradients/SkGradientShader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 2 chunks +9 lines, -7 lines 4 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 2 chunks +16 lines, -10 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 2 chunks +15 lines, -10 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 2 chunks +15 lines, -10 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 3 chunks +130 lines, -126 lines 0 comments Download
M src/effects/gradients/SkTwoPointRadialGradient.cpp View 3 chunks +88 lines, -83 lines 0 comments Download

Messages

Total messages: 3
bsalomon
11 years, 8 months ago (2012-10-26 20:26:33 UTC) #1
robertphillips
LGTM + 2 comment suggestions https://codereview.appspot.com/6784053/diff/2001/src/effects/gradients/SkGradientShaderPriv.h File src/effects/gradients/SkGradientShaderPriv.h (right): https://codereview.appspot.com/6784053/diff/2001/src/effects/gradients/SkGradientShaderPriv.h#newcode282 src/effects/gradients/SkGradientShaderPriv.h:282: // Emits the uniform ...
11 years, 8 months ago (2012-10-29 11:57:44 UTC) #2
bsalomon
11 years, 8 months ago (2012-10-29 12:42:58 UTC) #3
https://codereview.appspot.com/6784053/diff/2001/src/effects/gradients/SkGrad...
File src/effects/gradients/SkGradientShaderPriv.h (right):

https://codereview.appspot.com/6784053/diff/2001/src/effects/gradients/SkGrad...
src/effects/gradients/SkGradientShaderPriv.h:282: // Emits the uniform used as
the y-coord to texture samples in derived classes. Subclasses call
On 2012/10/29 11:57:44, robertphillips wrote:
> Subclasses call _this method_ from emitCode()?

Made it "Subclasses should call this method from their emitCode()."

https://codereview.appspot.com/6784053/diff/2001/src/effects/gradients/SkGrad...
src/effects/gradients/SkGradientShaderPriv.h:287: // texture, but for simpler
cases we'll be able to lerp. Subclasses call from emitCode().
On 2012/10/29 11:57:44, robertphillips wrote:
> Same here?

Done.
Sign in to reply to this message.

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