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

Issue 4650042: Add support for texture repeating with NPOT textures on GLES2

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by gw280
Modified:
14 years, 4 months ago
Reviewers:
bsalomon, reed1
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't use shaders to repeat if h/w supports it #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -26 lines) Patch
M gpu/include/GrGLTexture.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M gpu/src/GrContext.cpp View 1 1 chunk +0 lines, -14 lines 0 comments Download
M gpu/src/GrGLProgram.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/src/GrGLProgram.cpp View 1 2 chunks +19 lines, -1 line 0 comments Download
M gpu/src/GrGpuGL.cpp View 1 2 chunks +20 lines, -11 lines 0 comments Download
M gpu/src/GrGpuGLShaders.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6
gw280
14 years, 4 months ago (2011-06-17 21:59:56 UTC) #1
gw280
GL_MIRRORED_REPEAT functionality to come soon. Just wanted to put this out there to see if ...
14 years, 4 months ago (2011-06-17 22:12:44 UTC) #2
bsalomon
Hey George, I've got a couple inline comments. As I looked at this I realized ...
14 years, 4 months ago (2011-06-20 14:25:51 UTC) #3
gw280
14 years, 4 months ago (2011-06-22 15:32:07 UTC) #4
gw280
On 2011/06/20 14:25:51, bsalomon wrote: > http://codereview.appspot.com/4650042/diff/1/gpu/src/GrGLProgram.h > File gpu/src/GrGLProgram.h (right): > > http://codereview.appspot.com/4650042/diff/1/gpu/src/GrGLProgram.h#newcode173 > ...
14 years, 4 months ago (2011-06-22 15:37:11 UTC) #5
gw280
14 years, 4 months ago (2011-06-22 15:37:33 UTC) #6
http://codereview.appspot.com/4650042/diff/4002/gpu/include/GrGLTexture.h File gpu/include/GrGLTexture.h (right): http://codereview.appspot.com/4650042/diff/4002/gpu/include/GrGLTexture.h#new... gpu/include/GrGLTexture.h:140: bool fUseGpuRepeat; I put this in as I'm not sure how much of a runtime hit there would be to run this conditional statement both in GrGpuGL::flushGLStateCommon() and also GrGpuGLShaders::buildProgram(): if ((GrIsPow2(nextTexture->width()) && GrIsPow2(nextTexture->height())|| npotTextureTileSupport())
Sign in to reply to this message.

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