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

Issue 1070943002: [SkTextBlob] Custom run font record (Closed)

Created:
5 years, 8 months ago by f(malita)
Modified:
5 years, 8 months ago
Reviewers:
joshualitt, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

[SkTextBlob] Custom run font record Instead of using a full-blown SkPaint to store run font info, use a custom structure. This saves 96 bytes / run on 64bit platforms. R=reed@google.com,mtklein@google.com,joshualitt@google.com Committed: https://skia.googlesource.com/skia/+/055f6b59d879b2adac52748ea5a58c8a05bf501c

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Total comments: 3

Patch Set 3 : drop SkNoncopyable #

Patch Set 4 : SkNoncopyable + EBCO workaround #

Total comments: 6

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -31 lines) Patch
M include/core/SkTypes.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkTextBlob.cpp View 1 2 3 4 8 chunks +89 lines, -30 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
f(malita)
We'll switch to SkFont eventually, but that'll take some SkFont API tweaks. In the meantime, ...
5 years, 8 months ago (2015-04-08 21:06:53 UTC) #1
f(malita)
On 2015/04/08 21:06:53, f(malita) wrote: > We'll switch to SkFont eventually, but that'll take some ...
5 years, 8 months ago (2015-04-08 21:17:33 UTC) #2
mtklein
On 2015/04/08 21:17:33, f(malita) wrote: > On 2015/04/08 21:06:53, f(malita) wrote: > > We'll switch ...
5 years, 8 months ago (2015-04-08 21:36:32 UTC) #3
mtklein
https://codereview.chromium.org/1070943002/diff/1/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/1070943002/diff/1/src/core/SkTextBlob.cpp#newcode17 src/core/SkTextBlob.cpp:17: class RunFont { better : SkNoncopyable this. https://codereview.chromium.org/1070943002/diff/1/src/core/SkTextBlob.cpp#newcode71 src/core/SkTextBlob.cpp:71: ...
5 years, 8 months ago (2015-04-08 21:42:19 UTC) #4
f(malita)
https://codereview.chromium.org/1070943002/diff/1/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/1070943002/diff/1/src/core/SkTextBlob.cpp#newcode17 src/core/SkTextBlob.cpp:17: class RunFont { On 2015/04/08 21:42:18, mtklein wrote: > ...
5 years, 8 months ago (2015-04-09 01:08:22 UTC) #5
mtklein
https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp#newcode17 src/core/SkTextBlob.cpp:17: class RunFont : SkNoncopyable { Woah, if this adds ...
5 years, 8 months ago (2015-04-09 09:44:20 UTC) #6
f(malita)
https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp#newcode17 src/core/SkTextBlob.cpp:17: class RunFont : SkNoncopyable { On 2015/04/09 09:44:19, mtklein ...
5 years, 8 months ago (2015-04-09 13:07:09 UTC) #7
mtklein
lgtm
5 years, 8 months ago (2015-04-09 13:14:56 UTC) #8
f(malita)
https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp#newcode17 src/core/SkTextBlob.cpp:17: class RunFont : SkNoncopyable { On 2015/04/09 13:07:09, f(malita) ...
5 years, 8 months ago (2015-04-09 13:18:31 UTC) #9
mtklein
On 2015/04/09 13:18:31, f(malita) wrote: > https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp > File src/core/SkTextBlob.cpp (right): > > https://codereview.chromium.org/1070943002/diff/20001/src/core/SkTextBlob.cpp#newcode17 > ...
5 years, 8 months ago (2015-04-09 13:34:44 UTC) #10
f(malita)
On 2015/04/09 13:34:44, mtklein wrote: > Tom and I were puzzling a while back about ...
5 years, 8 months ago (2015-04-09 13:56:31 UTC) #11
mtklein
Either way seems fine to me, but I think I slightly prefer PS 3.
5 years, 8 months ago (2015-04-09 14:01:47 UTC) #12
f(malita)
On 2015/04/09 14:01:47, mtklein wrote: > Either way seems fine to me, but I think ...
5 years, 8 months ago (2015-04-09 14:25:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1070943002/60001
5 years, 8 months ago (2015-04-09 14:26:25 UTC) #16
commit-bot: I haz the power
Presubmit check for 1070943002-60001 failed and returned exit status 1. Running presubmit commit checks ...
5 years, 8 months ago (2015-04-09 14:26:30 UTC) #18
reed1
I sure like using a real class that just stores what we care about. https://codereview.chromium.org/1070943002/diff/60001/src/core/SkTextBlob.cpp ...
5 years, 8 months ago (2015-04-09 14:44:49 UTC) #19
f(malita)
https://codereview.chromium.org/1070943002/diff/60001/src/core/SkTextBlob.cpp File src/core/SkTextBlob.cpp (right): https://codereview.chromium.org/1070943002/diff/60001/src/core/SkTextBlob.cpp#newcode70 src/core/SkTextBlob.cpp:70: // SkNoncopyable empty baseclass optimization. On 2015/04/09 14:44:49, reed1 ...
5 years, 8 months ago (2015-04-09 15:25:48 UTC) #20
reed1
lgtm
5 years, 8 months ago (2015-04-09 15:28:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1070943002/80001
5 years, 8 months ago (2015-04-09 15:35:02 UTC) #24
commit-bot: I haz the power
5 years, 8 months ago (2015-04-09 15:49:37 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/055f6b59d879b2adac52748ea5a58c8a05bf501c

Powered by Google App Engine
This is Rietveld 408576698