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

Issue 6457099: Added 1D texture atlas object. (Closed)

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

Description

Added GrTextureStripAtlas object. Committed: https://code.google.com/p/skia/source/detail?r=5070

Patch Set 1 #

Total comments: 1

Patch Set 2 : Stray tabs->spaces #

Total comments: 10

Patch Set 3 : #

Total comments: 17

Patch Set 4 : Add this-> to member function calls. #

Total comments: 20

Patch Set 5 : #

Total comments: 1

Patch Set 6 : Fix one last nit #

Patch Set 7 : Use GrCacheData. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+486 lines, -0 lines) Patch
M gyp/gpu.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/gpu/effects/GrTextureStripAtlas.h View 1 2 3 4 5 6 1 chunk +163 lines, -0 lines 0 comments Download
A src/gpu/effects/GrTextureStripAtlas.cpp View 1 2 3 4 5 6 1 chunk +320 lines, -0 lines 0 comments Download

Messages

Total messages: 9
rileya
It's not actually hooked up to anything yet; I have it working with gradients, but ...
12 years, 3 months ago (2012-08-09 17:39:50 UTC) #1
bsalomon
Overall this looks nice. It might be good to have a validate() function (as some ...
12 years, 3 months ago (2012-08-10 14:48:45 UTC) #2
rileya
I added a validate() function that gets called before and after most of the nontrivial ...
12 years, 3 months ago (2012-08-10 20:21:14 UTC) #3
bsalomon
LGTM. I'd say let's hold off landing it because of the texture key stuff that ...
12 years, 3 months ago (2012-08-10 20:32:34 UTC) #4
TomH
Pardon my pickiness... http://codereview.appspot.com/6457099/diff/7002/src/gpu/effects/GrTextureStripAtlas.cpp File src/gpu/effects/GrTextureStripAtlas.cpp (right): http://codereview.appspot.com/6457099/diff/7002/src/gpu/effects/GrTextureStripAtlas.cpp#newcode27 src/gpu/effects/GrTextureStripAtlas.cpp:27: class AtlasEntry; I wanted to quibble ...
12 years, 3 months ago (2012-08-10 21:50:17 UTC) #5
rileya
Alright, I think I addressed everything. http://codereview.appspot.com/6457099/diff/7002/src/gpu/effects/GrTextureStripAtlas.cpp File src/gpu/effects/GrTextureStripAtlas.cpp (right): http://codereview.appspot.com/6457099/diff/7002/src/gpu/effects/GrTextureStripAtlas.cpp#newcode42 src/gpu/effects/GrTextureStripAtlas.cpp:42: AtlasEntry* entry = ...
12 years, 3 months ago (2012-08-11 19:07:55 UTC) #6
rileya
Bump, just in case this got lost in inboxes over the weekend...
12 years, 3 months ago (2012-08-13 19:00:02 UTC) #7
TomH
I was *just about* to type... LGTM. Or maybe another long nitpicking review, but we'll ...
12 years, 3 months ago (2012-08-13 19:02:23 UTC) #8
bsalomon
12 years, 3 months ago (2012-08-13 19:05:15 UTC) #9
LGTM

http://codereview.appspot.com/6457099/diff/9002/src/gpu/effects/GrTextureStri...
File src/gpu/effects/GrTextureStripAtlas.cpp (right):

http://codereview.appspot.com/6457099/diff/9002/src/gpu/effects/GrTextureStri...
src/gpu/effects/GrTextureStripAtlas.cpp:89: if (row->fLocks == 0) {
style nit: 0 == row->fLocks
Sign in to reply to this message.

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