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

Issue 6267046: remove 4x4 downsample filter mode (Closed)

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

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -150 lines) Patch
M include/gpu/GrSamplerState.h View 1 chunk +0 lines, -9 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 4 chunks +1 line, -10 lines 1 comment Download
M src/gpu/gl/GrGLProgram.cpp View 6 chunks +24 lines, -88 lines 2 comments Download
M src/gpu/gl/GrGpuGL.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 4 chunks +0 lines, -34 lines 0 comments Download
M src/gpu/gl/GrGpuGL_unittest.cpp View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 3
bsalomon
We are no longer using the 16x downsample anywhere. If we want to use it ...
12 years, 5 months ago (2012-06-04 19:44:12 UTC) #1
TomH
LGTM http://codereview.appspot.com/6267046/diff/1/src/gpu/gl/GrGLProgram.cpp File src/gpu/gl/GrGLProgram.cpp (right): http://codereview.appspot.com/6267046/diff/1/src/gpu/gl/GrGLProgram.cpp#newcode1273 src/gpu/gl/GrGLProgram.cpp:1273: } else if (NULL == customStage) { Smells ...
12 years, 5 months ago (2012-06-04 19:59:52 UTC) #2
bsalomon
12 years, 5 months ago (2012-06-04 20:09:01 UTC) #3
Landed as r4149

http://codereview.appspot.com/6267046/diff/1/src/gpu/gl/GrGLProgram.cpp
File src/gpu/gl/GrGLProgram.cpp (right):

http://codereview.appspot.com/6267046/diff/1/src/gpu/gl/GrGLProgram.cpp#newco...
src/gpu/gl/GrGLProgram.cpp:1273: } else if (NULL == customStage) {
On 2012/06/04 19:59:52, TomH wrote:
> Smells like progress...
> (Eventually we'll have to invert this so the stages can set the sample mode,
but
> for now is good.)

Invert?! We'll just remove it since the effect will be responsible for setting
up a matrix and it's own texture coords. The effect will have to decide if it's
worth worrying about identity matrices or not (and modify its stage key
accordingly).
Sign in to reply to this message.

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