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

Issue 1050113004: Adding bulk plot reffer to cached textblobs (Closed)

Created:
5 years, 8 months ago by joshua.litt
Modified:
5 years, 8 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@atlastext
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Adding bulk plot reffer to cached textblobs This change will prevent the atlas from evicting glyphs the TextBlob needs. BUG=skia: Committed: https://skia.googlesource.com/skia/+/7281c61e7bc689d484dcbda49be3cef4ce4f11c2 Committed: https://skia.googlesource.com/skia/+/b4c507e03386f2105e33f0c4c09b4a9d0a23196d

Patch Set 1 #

Total comments: 5

Patch Set 2 : tweak #

Patch Set 3 : hmm slower #

Patch Set 4 : cleanup #

Patch Set 5 : tidy #

Patch Set 6 : cleanup #

Total comments: 4

Patch Set 7 : feedback inc #

Patch Set 8 : switch to manual allocation #

Patch Set 9 : using SkAutoSTMalloc #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -37 lines) Patch
M src/gpu/GrAADistanceFieldPathRenderer.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrAtlasTextContext.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/GrAtlasTextContext.cpp View 1 2 3 4 5 6 3 chunks +9 lines, -2 lines 0 comments Download
M src/gpu/GrBatchAtlas.h View 1 2 3 4 5 6 7 8 2 chunks +61 lines, -3 lines 0 comments Download
M src/gpu/GrBatchAtlas.cpp View 1 2 3 4 5 6 7 10 chunks +28 lines, -26 lines 0 comments Download
M src/gpu/GrBatchFontCache.h View 1 2 3 4 5 6 1 chunk +9 lines, -2 lines 0 comments Download
M src/gpu/GrBatchFontCache.cpp View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
joshualitt
This change addresses the problem of the atlas evicting glyphs we might need while flushing ...
5 years, 8 months ago (2015-04-01 19:22:16 UTC) #2
bsalomon
https://codereview.chromium.org/1050113004/diff/1/src/gpu/GrBatchAtlas.cpp File src/gpu/GrBatchAtlas.cpp (right): https://codereview.chromium.org/1050113004/diff/1/src/gpu/GrBatchAtlas.cpp#newcode371 src/gpu/GrBatchAtlas.cpp:371: this->makeMRU(fPlotArray[index]); Call setLastRefTokenInternal() here? https://codereview.chromium.org/1050113004/diff/1/src/gpu/GrBatchAtlas.cpp#newcode375 src/gpu/GrBatchAtlas.cpp:375: void GrBatchAtlas::setLastRefTokenInternal(int index, ...
5 years, 8 months ago (2015-04-01 20:21:31 UTC) #3
joshualitt
On 2015/04/01 20:21:31, bsalomon wrote: > https://codereview.chromium.org/1050113004/diff/1/src/gpu/GrBatchAtlas.cpp > File src/gpu/GrBatchAtlas.cpp (right): > > https://codereview.chromium.org/1050113004/diff/1/src/gpu/GrBatchAtlas.cpp#newcode371 > ...
5 years, 8 months ago (2015-04-02 15:42:14 UTC) #4
bsalomon
lgtm, two suggestions: 1) Rename addGlyphToBulk to addGlyphToBulkAndSetLastUseToken (or whatever is appropriate phrasing) 2) Add ...
5 years, 8 months ago (2015-04-02 17:44:56 UTC) #6
robertphillips
lgtm + nits https://codereview.chromium.org/1050113004/diff/100001/src/gpu/GrBatchAtlas.cpp File src/gpu/GrBatchAtlas.cpp (right): https://codereview.chromium.org/1050113004/diff/100001/src/gpu/GrBatchAtlas.cpp#newcode354 src/gpu/GrBatchAtlas.cpp:354: bool GrBatchAtlas::hasID(AtlasID id) { "this->" -> ...
5 years, 8 months ago (2015-04-07 12:18:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1050113004/110001
5 years, 8 months ago (2015-04-07 16:55:31 UTC) #10
commit-bot: I haz the power
Committed patchset #7 (id:110001) as https://skia.googlesource.com/skia/+/7281c61e7bc689d484dcbda49be3cef4ce4f11c2
5 years, 8 months ago (2015-04-07 17:02:31 UTC) #11
joshualitt
A revert of this CL (patchset #7 id:110001) has been created in https://codereview.chromium.org/1061713003/ by joshualitt@google.com. ...
5 years, 8 months ago (2015-04-07 17:21:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1050113004/170001
5 years, 8 months ago (2015-04-08 14:54:07 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 15:08:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://skia.googlesource.com/skia/+/b4c507e03386f2105e33f0c4c09b4a9d0a23196d

Powered by Google App Engine
This is Rietveld 408576698