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

Issue 6052047: Ganesh shader infrastructure: custom shader stages (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by TomH
Modified:
12 years, 2 months ago
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

GrCustomStage, GrGLFactory, and GrGLCustomStage base classes. Adds a #include to GrAllocator to follow IWYU (include-what-you-use); otherwise it depends on other files being #included first.

Patch Set 1 #

Patch Set 2 : Expand and correct comments #

Total comments: 39

Patch Set 3 : Respond to initial review #

Patch Set 4 : Respond to Robert's nits #

Total comments: 8

Patch Set 5 : Respond to most of Brian's nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -86 lines) Patch
M gyp/gpu.gyp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M src/gpu/GrAllocator.h View 1 chunk +1 line, -0 lines 0 comments Download
A src/gpu/GrCustomStage.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A src/gpu/GrCustomStage.cpp View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 22 chunks +36 lines, -57 lines 0 comments Download
A src/gpu/gl/GrGLProgramStage.h View 1 2 3 1 chunk +146 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLProgramStage.cpp View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLSL.h View 1 2 3 4 2 chunks +28 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLSL.cpp View 1 2 3 4 1 chunk +23 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLShaderVar.h View 1 2 3 4 10 chunks +17 lines, -27 lines 0 comments Download

Messages

Total messages: 11
TomH
Time to talk about nittygritty and TODOs?
12 years, 2 months ago (2012-04-17 15:01:59 UTC) #1
bsalomon
http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h File src/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode23 src/gpu/GrCustomStage.h:23: virtual bool isOpaque(bool inputTextureIsOpaque) const; comment? http://codereview.appspot.com/6052047/diff/1007/src/gpu/gl/GrGLCustomStage.cpp File src/gpu/gl/GrGLCustomStage.cpp ...
12 years, 2 months ago (2012-04-17 19:53:29 UTC) #2
TomH
http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h File src/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode23 src/gpu/GrCustomStage.h:23: virtual bool isOpaque(bool inputTextureIsOpaque) const; On 2012/04/17 19:53:29, bsalomon ...
12 years, 2 months ago (2012-04-18 14:40:33 UTC) #3
bsalomon
http://codereview.appspot.com/6052047/diff/1007/src/gpu/gl/GrGLCustomStage.cpp File src/gpu/gl/GrGLCustomStage.cpp (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/gl/GrGLCustomStage.cpp#newcode14 src/gpu/gl/GrGLCustomStage.cpp:14: inline GrGLShaderVar::Type float_vector_type(int count) { On 2012/04/18 14:40:34, TomH ...
12 years, 2 months ago (2012-04-18 14:52:47 UTC) #4
robertphillips
Nits http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h File src/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode16 src/gpu/GrCustomStage.h:16: class GrCustomStage { Derive from GrNoncopyable? http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode21 src/gpu/GrCustomStage.h:21: ...
12 years, 2 months ago (2012-04-18 15:08:47 UTC) #5
TomH
Brian's review & Robert's nits answered, for the most part. http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h File src/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode16 ...
12 years, 2 months ago (2012-04-18 15:49:08 UTC) #6
robertphillips
LGTM http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h File src/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode16 src/gpu/GrCustomStage.h:16: class GrCustomStage { Mainly paranoia on my part. ...
12 years, 2 months ago (2012-04-18 15:56:57 UTC) #7
bsalomon
http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h File src/gpu/GrCustomStage.h (right): http://codereview.appspot.com/6052047/diff/1007/src/gpu/GrCustomStage.h#newcode16 src/gpu/GrCustomStage.h:16: class GrCustomStage { On 2012/04/18 15:49:08, TomH wrote: > ...
12 years, 2 months ago (2012-04-18 16:29:08 UTC) #8
TomH
Added comment "TODO: may want to refcount these" to GrCustomStage. http://codereview.appspot.com/6052047/diff/4003/src/gpu/gl/GrGLProgram.cpp File src/gpu/gl/GrGLProgram.cpp (right): http://codereview.appspot.com/6052047/diff/4003/src/gpu/gl/GrGLProgram.cpp#newcode91 ...
12 years, 2 months ago (2012-04-18 17:37:21 UTC) #9
bsalomon
On 2012/04/18 17:37:21, TomH wrote: > Added comment "TODO: may want to refcount these" to ...
12 years, 2 months ago (2012-04-18 17:40:58 UTC) #10
TomH
12 years, 2 months ago (2012-04-18 18:17:04 UTC) #11
Committed in r3726.
Sign in to reply to this message.

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