Going to need reworking to deal with the ProgramData refactor, but works at ToT. One ...
12 years, 3 months ago
(2012-07-16 17:38:20 UTC)
#1
Going to need reworking to deal with the ProgramData refactor, but works at ToT.
One open question - the old code would reset the stored texture domain if we had
an orientation change. It isn't obvious to me that it was doing this right, or
why it might have been necessary; the current code seems to work fine without
it, but that may be lack of test coverage.
http://codereview.appspot.com/6405050/diff/2001/src/gpu/effects/GrTextureDomainEffect.cpp File src/gpu/effects/GrTextureDomainEffect.cpp (right): http://codereview.appspot.com/6405050/diff/2001/src/gpu/effects/GrTextureDomainEffect.cpp#newcode36 src/gpu/effects/GrTextureDomainEffect.cpp:36: GrRect fTextureDomain; Does this really need a copy of ...
12 years, 3 months ago
(2012-07-16 18:52:21 UTC)
#2
No particular performance difference on Linux fishtank when rolled into Chrome. http://codereview.appspot.com/6405050/diff/2001/src/gpu/effects/GrTextureDomainEffect.cpp File src/gpu/effects/GrTextureDomainEffect.cpp (right): ...
12 years, 3 months ago
(2012-07-16 19:46:00 UTC)
#3
Shouldn't we also remove everything texture-domain related from GrSamplerState? http://codereview.appspot.com/6405050/diff/3008/src/gpu/gl/GrGLProgram.h File src/gpu/gl/GrGLProgram.h (left): http://codereview.appspot.com/6405050/diff/3008/src/gpu/gl/GrGLProgram.h#oldcode315 src/gpu/gl/GrGLProgram.h:315: ...
12 years, 3 months ago
(2012-07-17 17:09:52 UTC)
#4
Issue 6405050: Move Texture Domains onto a GrCustomStage
(Closed)
Created 12 years, 3 months ago by TomH
Modified 12 years, 3 months ago
Reviewers: bsalomon
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 4