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

Issue 6248050: Wrap uniform creation into a single function (Closed)

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

Patch Set 1 #

Patch Set 2 : Try to fix visual studio space/tab settings #

Patch Set 3 : Never trust microsoft #

Total comments: 2

Patch Set 4 : Fix emitPrecision, add stageNum #

Patch Set 5 : Return const& #

Patch Set 6 : Start replacing callsites #

Patch Set 7 : More of the above #

Patch Set 8 : cleanup #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -62 lines) Patch
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 4 5 6 7 18 chunks +55 lines, -60 lines 0 comments Download
M src/gpu/gl/GrGLShaderBuilder.h View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 2 comments Download
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLShaderVar.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10
TomH
Brian, is this the kind of approach you were suggesting in http://codereview.appspot.com/6214056/?
12 years, 3 months ago (2012-05-25 14:02:54 UTC) #1
bsalomon
Overall, yes (but see comment about precision qualifiers). Also, should we return const GrGLShaderVar& ? ...
12 years, 3 months ago (2012-05-25 14:17:06 UTC) #2
TomH
All the call sites I've looked at want GrGLShaderVar*; that's what we store most places. ...
12 years, 3 months ago (2012-05-25 14:31:08 UTC) #3
bsalomon
On 2012/05/25 14:31:08, TomH wrote: > All the call sites I've looked at want GrGLShaderVar*; ...
12 years, 3 months ago (2012-05-25 14:40:57 UTC) #4
TomH
OK, now has constness & is used throughout GrGLProgram. I'm not *happy* about GrGLProgram, because ...
12 years, 3 months ago (2012-05-30 16:14:10 UTC) #5
bsalomon
Isn't StageUniLocations on it's deathbed? Aside from possibly the texture domain I don't see anything ...
12 years, 3 months ago (2012-05-30 17:07:00 UTC) #6
TomH
On 2012/05/30 17:07:00, bsalomon wrote: > http://codereview.appspot.com/6248050/diff/10002/src/gpu/gl/GrGLShaderBuilder.h#newcode70 > src/gpu/gl/GrGLShaderBuilder.h:70: const GrGLShaderVar& > addUniform(VariableLifetime lifetime, > ...
12 years, 3 months ago (2012-05-30 17:10:52 UTC) #7
bsalomon
On 2012/05/30 17:10:52, TomH wrote: > On 2012/05/30 17:07:00, bsalomon wrote: > > > > ...
12 years, 3 months ago (2012-05-30 17:18:29 UTC) #8
bsalomon
LGTM On 2012/05/30 17:18:29, bsalomon wrote: > On 2012/05/30 17:10:52, TomH wrote: > > On ...
12 years, 3 months ago (2012-05-30 17:32:48 UTC) #9
TomH
12 years, 3 months ago (2012-05-30 17:39:22 UTC) #10
Closed with r4081.
Sign in to reply to this message.

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