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

Issue 21594005: GPU Font Cache improvements: (Closed)

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

Description

GPU Font Cache improvements: - If a strike has multiple atlases, check all for room for a new glyph - Mark remaining atlases unused after a purge, then check for an unused atlas before purging (reduces TextContext flushes and ghosting) - Hide Atlas management a little better inside AtlasMgr Committed: http://code.google.com/p/skia/source/detail?r=10544

Patch Set 1 #

Patch Set 2 : Remove some added spaces #

Total comments: 11

Patch Set 3 : Hid public data members; removed multiple PlotMgrs #

Patch Set 4 : Add clarifying comment #

Patch Set 5 : Remove useless class identifier. #

Total comments: 2

Patch Set 6 : Fixed some nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -27 lines) Patch
M src/gpu/GrAtlas.h View 1 2 3 4 5 4 chunks +20 lines, -7 lines 0 comments Download
M src/gpu/GrAtlas.cpp View 1 2 3 4 5 7 chunks +54 lines, -8 lines 0 comments Download
M src/gpu/GrTextContext.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/GrTextStrike.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M src/gpu/GrTextStrike.cpp View 1 2 3 8 chunks +68 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jvanverth1
7 years, 4 months ago (2013-08-01 20:56:34 UTC) #1
robertphillips
lgtm afai understand it https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrAtlas.h File src/gpu/GrAtlas.h (right): https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrAtlas.h#newcode41 src/gpu/GrAtlas.h:41: Does this need to be ...
7 years, 4 months ago (2013-08-02 15:23:50 UTC) #2
bsalomon
https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrAtlas.h File src/gpu/GrAtlas.h (right): https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrAtlas.h#newcode41 src/gpu/GrAtlas.h:41: On 2013/08/02 15:23:50, robertphillips wrote: > Does this need ...
7 years, 4 months ago (2013-08-02 15:30:35 UTC) #3
jvanverth1
In addition to the changes below, I also removed the multiple PlotMgrs. I discovered some ...
7 years, 4 months ago (2013-08-02 21:49:27 UTC) #4
bsalomon
lgtm https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrTextStrike.cpp File src/gpu/GrTextStrike.cpp (right): https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrTextStrike.cpp#newcode173 src/gpu/GrTextStrike.cpp:173: On 2013/08/02 21:49:27, JimVV wrote: > The ref ...
7 years, 4 months ago (2013-08-05 13:09:54 UTC) #5
robertphillips
lgtm + 1 question & 1 suggestion https://codereview.chromium.org/21594005/diff/27001/src/gpu/GrAtlas.cpp File src/gpu/GrAtlas.cpp (right): https://codereview.chromium.org/21594005/diff/27001/src/gpu/GrAtlas.cpp#newcode83 src/gpu/GrAtlas.cpp:83: bool GrAtlas::RemoveUnusedAtlases(GrAtlasMgr* ...
7 years, 4 months ago (2013-08-05 15:11:40 UTC) #6
jvanverth1
On 2013/08/05 13:09:54, bsalomon wrote: > lgtm > > https://codereview.chromium.org/21594005/diff/3001/src/gpu/GrTextStrike.cpp > File src/gpu/GrTextStrike.cpp (right): > ...
7 years, 4 months ago (2013-08-05 19:34:23 UTC) #7
jvanverth1
On 2013/08/05 15:11:40, robertphillips wrote: > lgtm + 1 question & 1 suggestion > > ...
7 years, 4 months ago (2013-08-05 19:34:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/21594005/34001
7 years, 4 months ago (2013-08-05 19:34:52 UTC) #9
commit-bot: I haz the power
7 years, 4 months ago (2013-08-05 19:43:00 UTC) #10
Message was sent while issue was closed.
Change committed as 10544

Powered by Google App Engine
This is Rietveld 408576698