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

Issue 1041953002: Switch to one single bitmap text blob cache allocation (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@bmptext2
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Switch to one single bitmap text blob cache allocation BUG=skia: Committed: https://skia.googlesource.com/skia/+/2b6acb4ed52483bc2a89dbbaa6f0db4fdb217cd3

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : tidying #

Patch Set 4 : tidy #

Patch Set 5 : more tidying #

Total comments: 29

Patch Set 6 : more tidying #

Patch Set 7 : tidy up SkAutoDescriptor a bit more #

Total comments: 3

Patch Set 8 : feedback inc #

Patch Set 9 : windows build error #

Patch Set 10 : second attempt at windows error #

Patch Set 11 : third attempt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -112 lines) Patch
M include/core/SkPaint.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M src/core/SkDescriptor.h View 1 2 3 4 5 6 7 2 chunks +10 lines, -4 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 3 chunks +5 lines, -8 lines 0 comments Download
M src/gpu/GrBitmapTextContext.h View 1 2 3 4 5 6 7 8 9 2 chunks +62 lines, -15 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 5 6 7 8 9 10 22 chunks +161 lines, -83 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
joshualitt
This change drops down to more or less a single alloc for the whole cached ...
5 years, 8 months ago (2015-03-31 20:01:10 UTC) #2
bsalomon
initial thoughts https://codereview.chromium.org/1041953002/diff/80001/src/core/SkDescriptor.h File src/core/SkDescriptor.h (right): https://codereview.chromium.org/1041953002/diff/80001/src/core/SkDescriptor.h#newcode149 src/core/SkDescriptor.h:149: if (size <= sizeof(fStorage)) { don't you ...
5 years, 8 months ago (2015-03-31 21:19:11 UTC) #3
joshualitt
Feedback incorporated https://codereview.chromium.org/1041953002/diff/80001/src/core/SkDescriptor.h File src/core/SkDescriptor.h (right): https://codereview.chromium.org/1041953002/diff/80001/src/core/SkDescriptor.h#newcode149 src/core/SkDescriptor.h:149: if (size <= sizeof(fStorage)) { On 2015/03/31 ...
5 years, 8 months ago (2015-04-01 13:21:18 UTC) #4
bsalomon
https://codereview.chromium.org/1041953002/diff/80001/src/gpu/GrBitmapTextContext.h File src/gpu/GrBitmapTextContext.h (right): https://codereview.chromium.org/1041953002/diff/80001/src/gpu/GrBitmapTextContext.h#newcode96 src/gpu/GrBitmapTextContext.h:96: bool fInitialized; On 2015/04/01 13:21:18, joshualitt wrote: > On ...
5 years, 8 months ago (2015-04-01 15:41:46 UTC) #5
joshualitt
On 2015/04/01 15:41:46, bsalomon wrote: > https://codereview.chromium.org/1041953002/diff/80001/src/gpu/GrBitmapTextContext.h > File src/gpu/GrBitmapTextContext.h (right): > > https://codereview.chromium.org/1041953002/diff/80001/src/gpu/GrBitmapTextContext.h#newcode96 > ...
5 years, 8 months ago (2015-04-01 16:53:32 UTC) #6
joshualitt
one response inline, Brian and I discussed most of this offline https://codereview.chromium.org/1041953002/diff/80001/src/gpu/GrBitmapTextContext.h File src/gpu/GrBitmapTextContext.h (right): ...
5 years, 8 months ago (2015-04-01 16:54:23 UTC) #7
bsalomon
lgtm
5 years, 8 months ago (2015-04-01 17:27:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1041953002/200001
5 years, 8 months ago (2015-04-01 18:16:56 UTC) #11
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://skia.googlesource.com/skia/+/2b6acb4ed52483bc2a89dbbaa6f0db4fdb217cd3
5 years, 8 months ago (2015-04-01 18:30:31 UTC) #12
joshualitt
5 years, 8 months ago (2015-04-02 12:48:31 UTC) #14
Message was sent while issue was closed.
Adding Robert in case he wants to take a look

Powered by Google App Engine
This is Rietveld 408576698