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

Issue 203203003: SkPaint: eliminate some dead bytes in 64-bit build. (Closed)

Created:
6 years, 9 months ago by mtklein_C
Modified:
6 years, 9 months ago
Reviewers:
mtklein, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

SkPaint: eliminate some dead bytes in 64-bit build. + memcpy-based copy constructor was hiding this gap -> manual copy constructor. + Split tests for finer-grained failures. BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=13856 Committed: http://code.google.com/p/skia/source/detail?r=13887 Committed: http://code.google.com/p/skia/source/detail?r=13927

Patch Set 1 #

Total comments: 2

Patch Set 2 : all pointers, then all flat #

Patch Set 3 : early return instead #

Patch Set 4 : fix android #

Patch Set 5 : no bytewise for ctor, copy ctor, =, or == #

Patch Set 6 : fix bugs #

Patch Set 7 : tighter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -99 lines) Patch
M include/core/SkPaint.h View 1 2 3 chunks +5 lines, -7 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 6 4 chunks +91 lines, -64 lines 0 comments Download
M tests/PaintTest.cpp View 1 2 3 4 5 9 chunks +15 lines, -28 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
mtklein_C
6 years, 9 months ago (2014-03-18 10:56:56 UTC) #1
reed1
https://codereview.chromium.org/203203003/diff/1/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/203203003/diff/1/include/core/SkPaint.h#newcode1050 include/core/SkPaint.h:1050: SkTypeface* fTypeface; Maybe we can be even more aggressive/clear, ...
6 years, 9 months ago (2014-03-18 15:04:01 UTC) #2
mtklein
https://codereview.chromium.org/203203003/diff/1/include/core/SkPaint.h File include/core/SkPaint.h (right): https://codereview.chromium.org/203203003/diff/1/include/core/SkPaint.h#newcode1050 include/core/SkPaint.h:1050: SkTypeface* fTypeface; On 2014/03/18 15:04:01, reed1 wrote: > Maybe ...
6 years, 9 months ago (2014-03-18 17:00:45 UTC) #3
reed1
lgtm
6 years, 9 months ago (2014-03-18 17:13:14 UTC) #4
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 9 months ago (2014-03-18 17:14:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/203203003/20001
6 years, 9 months ago (2014-03-18 17:14:35 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 17:25:39 UTC) #7
commit-bot: I haz the power
Retried try job too often on Build-Mac10.8-Clang-x86-Release-Trybot for step(s) BuildTests http://108.170.219.164:10117/buildstatus?builder=Build-Mac10.8-Clang-x86-Release-Trybot&number=336
6 years, 9 months ago (2014-03-18 17:25:44 UTC) #8
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 9 months ago (2014-03-19 11:02:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/203203003/20001
6 years, 9 months ago (2014-03-19 11:02:05 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 11:11:12 UTC) #11
commit-bot: I haz the power
Retried try job too often on Build-Mac10.8-Clang-x86-Release-Trybot for step(s) BuildTests http://108.170.219.164:10117/buildstatus?builder=Build-Mac10.8-Clang-x86-Release-Trybot&number=339
6 years, 9 months ago (2014-03-19 11:11:13 UTC) #12
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 9 months ago (2014-03-19 11:13:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/203203003/40001
6 years, 9 months ago (2014-03-19 11:13:10 UTC) #14
commit-bot: I haz the power
Change committed as 13856
6 years, 9 months ago (2014-03-19 11:42:37 UTC) #15
jcgregorio
A revert of this CL has been created in https://codereview.chromium.org/204543002/ by jcgregorio@google.com. The reason for ...
6 years, 9 months ago (2014-03-19 14:36:16 UTC) #16
mtklein
On 2014/03/19 14:36:16, jcgregorio wrote: > A revert of this CL has been created in ...
6 years, 9 months ago (2014-03-19 14:37:13 UTC) #17
tomhudson
Tangent: we had somebody ranting a year and a half ago that we overused memset()/memcpy(), ...
6 years, 9 months ago (2014-03-20 10:39:58 UTC) #18
mtklein
On 2014/03/20 10:39:58, tomhudson wrote: > Tangent: we had somebody ranting a year and a ...
6 years, 9 months ago (2014-03-20 10:57:20 UTC) #19
mtklein
On 2014/03/20 10:57:20, mtklein wrote: > On 2014/03/20 10:39:58, tomhudson wrote: > > Tangent: we ...
6 years, 9 months ago (2014-03-20 11:28:11 UTC) #20
mtklein
On 2014/03/20 11:28:11, mtklein wrote: > On 2014/03/20 10:57:20, mtklein wrote: > > On 2014/03/20 ...
6 years, 9 months ago (2014-03-20 11:31:47 UTC) #21
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 9 months ago (2014-03-20 22:46:27 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/203203003/60001
6 years, 9 months ago (2014-03-20 22:46:37 UTC) #23
commit-bot: I haz the power
Change committed as 13887
6 years, 9 months ago (2014-03-20 23:02:38 UTC) #24
mtklein
A revert of this CL has been created in https://codereview.chromium.org/206623005/ by mtklein@google.com. The reason for ...
6 years, 9 months ago (2014-03-21 01:39:50 UTC) #25
mtklein
Mike, want to take another look? This now has changed constructor, copy constructor, operator=, and ...
6 years, 9 months ago (2014-03-24 20:46:43 UTC) #26
reed1
lgtm
6 years, 9 months ago (2014-03-24 20:54:03 UTC) #27
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 9 months ago (2014-03-24 22:20:32 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/203203003/110001
6 years, 9 months ago (2014-03-24 22:20:33 UTC) #29
commit-bot: I haz the power
6 years, 9 months ago (2014-03-24 23:03:15 UTC) #30
Message was sent while issue was closed.
Change committed as 13927

Powered by Google App Engine
This is Rietveld 408576698