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

Issue 6586081: Make numTextures() be non-virtual on GrCustomStage (Closed)

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

Description

Make numTextures() be non-virtual on GrCustomStage. R=tomhudson@google.com,robertphillips@google.com,senorblanco@chromium.org Committed: https://code.google.com/p/skia/source/detail?r=5805

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -29 lines) Patch
M include/gpu/GrCustomStage.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 2 chunks +1 line, -4 lines 0 comments Download
M src/gpu/GrCustomStage.cpp View 1 2 chunks +2 lines, -6 lines 0 comments Download
M src/gpu/effects/GrColorTableEffect.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/effects/GrColorTableEffect.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/effects/GrSingleTextureEffect.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrSingleTextureEffect.cpp View 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 6
bsalomon
We have at least one place where we loop like this: for (int i = ...
12 years, 1 month ago (2012-10-04 14:09:03 UTC) #1
Stephen White
https://codereview.appspot.com/6586081/diff/1001/include/gpu/GrCustomStage.h File include/gpu/GrCustomStage.h (right): https://codereview.appspot.com/6586081/diff/1001/include/gpu/GrCustomStage.h#newcode38 include/gpu/GrCustomStage.h:38: GrCustomStage(int numTextures); explicit? https://codereview.appspot.com/6586081/diff/1001/src/effects/gradients/SkGradientShader.cpp File src/effects/gradients/SkGradientShader.cpp (right): https://codereview.appspot.com/6586081/diff/1001/src/effects/gradients/SkGradientShader.cpp#newcode769 src/effects/gradients/SkGradientShader.cpp:769: ...
12 years, 1 month ago (2012-10-04 14:13:48 UTC) #2
bsalomon
https://codereview.appspot.com/6586081/diff/1001/include/gpu/GrCustomStage.h File include/gpu/GrCustomStage.h (right): https://codereview.appspot.com/6586081/diff/1001/include/gpu/GrCustomStage.h#newcode38 include/gpu/GrCustomStage.h:38: GrCustomStage(int numTextures); On 2012/10/04 14:13:48, Stephen White wrote: > ...
12 years, 1 month ago (2012-10-04 14:17:46 UTC) #3
robertphillips
LGTM
12 years, 1 month ago (2012-10-04 14:24:51 UTC) #4
Stephen White
LGTM too
12 years, 1 month ago (2012-10-04 14:33:05 UTC) #5
TomH
12 years, 1 month ago (2012-10-04 14:36:28 UTC) #6
Aha, with a member on the base class. Back to the original design!

(LGTM)
Sign in to reply to this message.

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