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

Issue 27408002: Add 'skiapict' magic bytes to SkPicture format. (Closed)

Created:
7 years, 2 months ago by mtklein
Modified:
7 years ago
CC:
skia-review_googlegroups.com, tfarina, nduca
Visibility:
Public.

Description

Add 'skiapict' magic bytes to SkPicture format. Testing: out/Debug/tests && out/Release/gm --replay --serialize BUG= Committed: http://code.google.com/p/skia/source/detail?r=12391

Patch Set 1 #

Patch Set 2 : don't set new version yet #

Patch Set 3 : reupload #

Patch Set 4 : less ugly #

Patch Set 5 : reupload #

Patch Set 6 : reed's way #

Patch Set 7 : reupload #

Patch Set 8 : now with fewer 8's #

Total comments: 1

Patch Set 9 : good catch #

Patch Set 10 : reupload #

Total comments: 1

Patch Set 11 : sizeof #

Patch Set 12 : reupload #

Patch Set 13 : char everywhere #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M src/core/SkPicture.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -0 lines 1 comment Download

Messages

Total messages: 13 (0 generated)
mtklein
7 years, 2 months ago (2013-10-15 21:08:16 UTC) #1
reed1
is this technique any more or less endian-robust than stream->write("skiapict", 8); buffer sig[8]; stream->read(sig, 8); ...
7 years, 2 months ago (2013-10-15 21:38:03 UTC) #2
mtklein
On 2013/10/15 21:38:03, reed1 wrote: > is this technique any more or less endian-robust than ...
7 years, 2 months ago (2013-10-16 15:25:20 UTC) #3
reed1
https://codereview.chromium.org/27408002/diff/16001/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/27408002/diff/16001/src/core/SkPicture.cpp#newcode277 src/core/SkPicture.cpp:277: uint8_t magic[SK_ARRAY_COUNT(kMagic)]; I think this returns 9...
7 years, 2 months ago (2013-10-16 15:26:39 UTC) #4
f(malita)
lgtm
7 years, 2 months ago (2013-10-16 15:26:47 UTC) #5
f(malita)
On 2013/10/16 15:26:39, reed1 wrote: > https://codereview.chromium.org/27408002/diff/16001/src/core/SkPicture.cpp > File src/core/SkPicture.cpp (right): > > https://codereview.chromium.org/27408002/diff/16001/src/core/SkPicture.cpp#newcode277 > ...
7 years, 2 months ago (2013-10-16 15:29:43 UTC) #6
mtklein
On 2013/10/16 15:29:43, Florin Malita wrote: > On 2013/10/16 15:26:39, reed1 wrote: > > https://codereview.chromium.org/27408002/diff/16001/src/core/SkPicture.cpp ...
7 years, 2 months ago (2013-10-16 15:32:31 UTC) #7
reed1
lgtm w/ half-nit https://codereview.chromium.org/27408002/diff/25001/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/27408002/diff/25001/src/core/SkPicture.cpp#newcode277 src/core/SkPicture.cpp:277: uint8_t magic[SK_ARRAY_COUNT(kMagic)]; could be sizeof or ...
7 years, 2 months ago (2013-10-16 15:34:41 UTC) #8
mtklein
On 2013/10/16 15:34:41, reed1 wrote: > lgtm w/ half-nit > > https://codereview.chromium.org/27408002/diff/25001/src/core/SkPicture.cpp > File src/core/SkPicture.cpp ...
7 years, 2 months ago (2013-10-16 15:37:20 UTC) #9
tfarina
https://codereview.chromium.org/27408002/diff/34001/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/27408002/diff/34001/src/core/SkPicture.cpp#newcode269 src/core/SkPicture.cpp:269: static const char kMagic[] = { 's', 'k', 'i', ...
7 years, 2 months ago (2013-10-16 16:43:58 UTC) #10
f(malita)
On 2013/10/16 16:43:58, tfarina wrote: > I assume the { 'f', 'o', 'o' }; syntax ...
7 years, 2 months ago (2013-10-16 16:48:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@google.com/27408002/34001
7 years ago (2013-11-26 12:34:30 UTC) #12
commit-bot: I haz the power
7 years ago (2013-11-26 12:47:00 UTC) #13
Message was sent while issue was closed.
Change committed as 12391

Powered by Google App Engine
This is Rietveld 408576698