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

Issue 5488048: Access sampler matrices directly, cleanup GrSamplerState::reset()s (Closed)

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

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -77 lines) Patch
M gm/texdata.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M include/gpu/GrSamplerState.h View 1 5 chunks +20 lines, -34 lines 0 comments Download
M src/gpu/GrContext.cpp View 3 chunks +6 lines, -12 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 chunk +1 line, -1 line 2 comments Download
M src/gpu/GrGpuGL.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrGpuGLShaders.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 8 chunks +20 lines, -26 lines 0 comments Download

Messages

Total messages: 3
bsalomon
13 years ago (2011-12-12 18:25:32 UTC) #1
TomH
LGTM http://codereview.appspot.com/5488048/diff/2001/src/gpu/GrDrawTarget.cpp File src/gpu/GrDrawTarget.cpp (right): http://codereview.appspot.com/5488048/diff/2001/src/gpu/GrDrawTarget.cpp#newcode1088 src/gpu/GrDrawTarget.cpp:1088: *drawState->sampler(s)->matrix() = fSamplerMatrices[s]; Is this better, or just ...
13 years ago (2011-12-12 18:36:40 UTC) #2
bsalomon
13 years ago (2011-12-12 18:45:33 UTC) #3
Checked in at r2854.

http://codereview.appspot.com/5488048/diff/2001/src/gpu/GrDrawTarget.cpp
File src/gpu/GrDrawTarget.cpp (right):

http://codereview.appspot.com/5488048/diff/2001/src/gpu/GrDrawTarget.cpp#newc...
src/gpu/GrDrawTarget.cpp:1088: *drawState->sampler(s)->matrix() =
fSamplerMatrices[s];
On 2011/12/12 18:36:40, TomH wrote:
> Is this better, or just the new style?
Just new style, I didn't want to leave the setter lest people use it
unnecessarily.
Sign in to reply to this message.

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