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

Issue 6721047: Separate out the texture matrix from the coord-system change matrix in GrSamplerState. (Closed)

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

Description

Separate out the texture matrix from the coord-system change matrix in GrSamplerState. This is a step towards moving texture matrix to GrCustomStage. R=robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=5973

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -104 lines) Patch
M include/gpu/GrContext.h View 4 chunks +11 lines, -5 lines 0 comments Download
M include/gpu/GrPaint.h View 2 chunks +13 lines, -12 lines 0 comments Download
M include/gpu/GrSamplerState.h View 1 chunk +81 lines, -34 lines 2 comments Download
M src/gpu/GrDefaultPathRenderer.cpp View 2 chunks +2 lines, -6 lines 0 comments Download
M src/gpu/GrDrawState.h View 4 chunks +18 lines, -18 lines 0 comments Download
M src/gpu/GrDrawState.cpp View 4 chunks +6 lines, -6 lines 2 comments Download
M src/gpu/gl/GrGpuGL.h View 1 chunk +3 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 4 chunks +17 lines, -18 lines 0 comments Download

Messages

Total messages: 3
bsalomon
This is a step towards moving the texture matrix out of GrSamplerState and into GrCustomStage.
12 years, 2 months ago (2012-10-16 20:45:37 UTC) #1
robertphillips
LGTM + 1 typo fix & a question https://codereview.appspot.com/6721047/diff/1/include/gpu/GrSamplerState.h File include/gpu/GrSamplerState.h (right): https://codereview.appspot.com/6721047/diff/1/include/gpu/GrSamplerState.h#newcode80 include/gpu/GrSamplerState.h:80: * ...
12 years, 2 months ago (2012-10-16 21:30:16 UTC) #2
bsalomon
12 years, 2 months ago (2012-10-17 12:53:56 UTC) #3
https://codereview.appspot.com/6721047/diff/1/include/gpu/GrSamplerState.h
File include/gpu/GrSamplerState.h (right):

https://codereview.appspot.com/6721047/diff/1/include/gpu/GrSamplerState.h#ne...
include/gpu/GrSamplerState.h:80: * preConcatCoordChange calls since the custom
stage was installed. It is used to
On 2012/10/16 21:30:16, robertphillips wrote:
> to when -> when

Done.

https://codereview.appspot.com/6721047/diff/1/src/gpu/GrDrawState.cpp
File src/gpu/GrDrawState.cpp (right):

https://codereview.appspot.com/6721047/diff/1/src/gpu/GrDrawState.cpp#newcode56
src/gpu/GrDrawState.cpp:56: if (fRestoreMask & (1 << s)) {
On 2012/10/16 21:30:16, robertphillips wrote:
> Can setMatrixDeprecated go away now?

Yup, it was removed in GrSamplerState.h.
Sign in to reply to this message.

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