Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 24981004: GrAtlas cleanup: Split out GrPlot and GrAtlas (Closed)

Created:
7 years, 2 months ago by jvanverth1
Modified:
7 years, 2 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

GrAtlas cleanup: Split out GrPlot and GrAtlas This breaks up GrAtlas into the head of the list (GrAtlas) and the list elements (GrPlot). It also moves all of the GrPlot management code into GrAtlasMgr. It adds a simple pool allocator for GrPlots and removes use of GrPlotMgr. Committed: http://code.google.com/p/skia/source/detail?r=11508

Patch Set 1 #

Patch Set 2 : Add new GrPlot allocator #

Total comments: 4

Patch Set 3 : Fix some nits and add comments #

Total comments: 1

Patch Set 4 : Tweaked comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -150 lines) Patch
M include/gpu/GrGlyph.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/GrAtlas.h View 1 2 3 2 chunks +52 lines, -29 lines 0 comments Download
M src/gpu/GrAtlas.cpp View 1 2 6 chunks +113 lines, -83 lines 0 comments Download
M src/gpu/GrRectanizer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrRectanizer.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/GrTextStrike.h View 5 chunks +6 lines, -10 lines 0 comments Download
M src/gpu/GrTextStrike.cpp View 8 chunks +17 lines, -19 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jvanverth1
I have a change in process that removes GrPlotMgr, but it increases the flush count ...
7 years, 2 months ago (2013-09-27 15:05:25 UTC) #1
jvanverth1
Updated with the fixed pool allocator. This should be ready to go, PTAL.
7 years, 2 months ago (2013-09-27 18:36:49 UTC) #2
bsalomon
lgtm w/ a comment suggestion and nit https://codereview.chromium.org/24981004/diff/3001/src/gpu/GrAtlas.cpp File src/gpu/GrAtlas.cpp (right): https://codereview.chromium.org/24981004/diff/3001/src/gpu/GrAtlas.cpp#newcode101 src/gpu/GrAtlas.cpp:101: adjustForOffset(loc, fOffset); ...
7 years, 2 months ago (2013-09-27 18:42:55 UTC) #3
jvanverth1
Addressed. I also added a comment to the top of GrAtlas.h, PTAL. https://codereview.chromium.org/24981004/diff/3001/src/gpu/GrAtlas.cpp File src/gpu/GrAtlas.cpp ...
7 years, 2 months ago (2013-09-27 19:12:53 UTC) #4
bsalomon
lgtm feel free to ignore my suggestion. https://codereview.chromium.org/24981004/diff/8001/src/gpu/GrAtlas.h File src/gpu/GrAtlas.h (right): https://codereview.chromium.org/24981004/diff/8001/src/gpu/GrAtlas.h#newcode23 src/gpu/GrAtlas.h:23: // a ...
7 years, 2 months ago (2013-09-27 19:30:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/24981004/18001
7 years, 2 months ago (2013-09-27 19:33:40 UTC) #6
commit-bot: I haz the power
7 years, 2 months ago (2013-09-27 19:39:55 UTC) #7
Message was sent while issue was closed.
Change committed as 11508

Powered by Google App Engine
This is Rietveld 408576698