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

Issue 1983353003: Attempt to improve lifetime management of SkGlyphCache in Ganesh atlas text code. (Closed)

Created:
4 years, 7 months ago by bsalomon
Modified:
4 years, 7 months ago
Reviewers:
bungeman-skia, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@fixtest
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Attempt to improve lifetime management of SkGlyphCache in Ganesh atlas text code. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1983353003 Committed: https://skia.googlesource.com/skia/+/d1c71fd56c293afb986cb5e7546a3a8e4b190d48

Patch Set 1 #

Total comments: 1

Patch Set 2 : default #

Total comments: 3

Patch Set 3 : Updated to only compare descriptors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -48 lines) Patch
M src/core/SkDescriptor.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/batches/GrAtlasTextBatch.cpp View 1 2 2 chunks +4 lines, -14 lines 0 comments Download
M src/gpu/text/GrAtlasTextBlob.h View 1 2 2 chunks +11 lines, -8 lines 0 comments Download
M src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp View 1 2 4 chunks +16 lines, -25 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
bsalomon
https://codereview.chromium.org/1983353003/diff/1/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp File src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp (right): https://codereview.chromium.org/1983353003/diff/1/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp#newcode146 src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp:146: if (!fCache || !SkTypeface::Equal(fTypeface, run->fTypeface) || Ben, is it ...
4 years, 7 months ago (2016-05-18 01:53:22 UTC) #3
reed1
drive-by lgtm
4 years, 7 months ago (2016-05-18 13:58:38 UTC) #6
bungeman-skia
https://codereview.chromium.org/1983353003/diff/20001/src/gpu/text/GrAtlasTextBlob.h File src/gpu/text/GrAtlasTextBlob.h (right): https://codereview.chromium.org/1983353003/diff/20001/src/gpu/text/GrAtlasTextBlob.h#newcode569 src/gpu/text/GrAtlasTextBlob.h:569: const SkTypeface* fTypeface = nullptr; nit: why two spaces ...
4 years, 7 months ago (2016-05-18 15:33:07 UTC) #7
bsalomon
Updated to remove the lazy cache object since we don't really need to retain the ...
4 years, 7 months ago (2016-05-18 20:24:10 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1983353003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1983353003/40001
4 years, 7 months ago (2016-05-18 21:19:03 UTC) #10
bungeman-skia
I am going to claim this lgtm, even though it makes me slightly nervous. https://codereview.chromium.org/1992053002/ ...
4 years, 7 months ago (2016-05-18 21:36:06 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 21:38:09 UTC) #13
bsalomon
On 2016/05/18 21:36:06, bungeman-skia wrote: > I am going to claim this lgtm, even though ...
4 years, 7 months ago (2016-05-18 22:49:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1983353003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1983353003/40001
4 years, 7 months ago (2016-05-19 19:50:51 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 19:51:50 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/d1c71fd56c293afb986cb5e7546a3a8e4b190d48

Powered by Google App Engine
This is Rietveld 408576698