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

Issue 1913843002: Enable flattening of SkRecordedDrawable (Closed)

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

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Extra tests that I won't land #

Patch Set 3 : Consider registering SkRecordedDrawable without the global registry #

Total comments: 3

Patch Set 4 : Go back to using the global registry #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase again #

Patch Set 7 : Fix windows build #

Patch Set 8 : Avoid double free #

Patch Set 9 : Fix backward compatibility #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -62 lines) Patch
M gyp/core.gypi View 3 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkGlobalInitialization_core.cpp View 3 2 chunks +5 lines, -1 line 0 comments Download
M src/core/SkPictureData.h View 4 chunks +10 lines, -0 lines 0 comments Download
M src/core/SkPictureData.cpp View 1 2 3 4 5 6 7 6 chunks +37 lines, -0 lines 0 comments Download
M src/core/SkPictureFlat.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 chunk +9 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.h View 4 chunks +7 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 3 chunks +29 lines, -0 lines 0 comments Download
M src/core/SkPictureRecorder.cpp View 3 2 chunks +1 line, -60 lines 0 comments Download
A src/core/SkRecordedDrawable.h View 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A src/core/SkRecordedDrawable.cpp View 3 1 chunk +102 lines, -0 lines 0 comments Download
M tests/FlattenDrawableTest.cpp View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (20 generated)
msarett
https://codereview.chromium.org/1913843002/diff/1/src/core/SkRecordedDrawable.cpp File src/core/SkRecordedDrawable.cpp (right): https://codereview.chromium.org/1913843002/diff/1/src/core/SkRecordedDrawable.cpp#newcode55 src/core/SkRecordedDrawable.cpp:55: void SkRecordedDrawable::flatten(SkWriteBuffer& buffer) const { flatten() and CreateProc() are ...
4 years, 8 months ago (2016-04-25 14:06:51 UTC) #3
msarett
https://codereview.chromium.org/1913843002/diff/40001/src/core/SkReadBuffer.cpp File src/core/SkReadBuffer.cpp (right): https://codereview.chromium.org/1913843002/diff/40001/src/core/SkReadBuffer.cpp#newcode427 src/core/SkReadBuffer.cpp:427: static sk_sp<SkFlattenable> unflatten_recorded_drawable(SkReadBuffer& buffer) { Maybe this function belongs ...
4 years, 8 months ago (2016-04-25 16:40:38 UTC) #4
msarett
Any thoughts on this?
4 years, 8 months ago (2016-04-26 21:29:32 UTC) #5
djsollen
https://codereview.chromium.org/1913843002/diff/40001/tests/FlattenDrawableTest.cpp File tests/FlattenDrawableTest.cpp (right): https://codereview.chromium.org/1913843002/diff/40001/tests/FlattenDrawableTest.cpp#newcode282 tests/FlattenDrawableTest.cpp:282: readBuffer.initDrawableFactories(); seems awkward that I need to need to ...
4 years, 7 months ago (2016-04-27 13:05:40 UTC) #6
msarett
https://codereview.chromium.org/1913843002/diff/40001/tests/FlattenDrawableTest.cpp File tests/FlattenDrawableTest.cpp (right): https://codereview.chromium.org/1913843002/diff/40001/tests/FlattenDrawableTest.cpp#newcode282 tests/FlattenDrawableTest.cpp:282: readBuffer.initDrawableFactories(); On 2016/04/27 13:05:40, djsollen wrote: > seems awkward ...
4 years, 7 months ago (2016-04-27 13:24:17 UTC) #7
msarett
+reed
4 years, 7 months ago (2016-04-27 13:24:46 UTC) #9
msarett
Patch Set 4 is the same as Patch Set 1, it uses the global registry. ...
4 years, 7 months ago (2016-04-27 13:40:21 UTC) #10
djsollen
lgtm
4 years, 7 months ago (2016-04-27 13:55:13 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/80001
4 years, 7 months ago (2016-04-27 14:18:33 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/2243)
4 years, 7 months ago (2016-04-27 14:19:44 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/100001
4 years, 7 months ago (2016-04-27 14:26:03 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/8125)
4 years, 7 months ago (2016-04-27 14:28:34 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/120001
4 years, 7 months ago (2016-04-27 14:35:09 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/8126)
4 years, 7 months ago (2016-04-27 14:36:41 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/140001
4 years, 7 months ago (2016-04-27 15:42:31 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 15:58:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/140001
4 years, 7 months ago (2016-04-27 16:02:21 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://skia.googlesource.com/skia/+/d636950e8ecba89c0021ce4e76037c67aa6ee2cd
4 years, 7 months ago (2016-04-27 16:03:20 UTC) #32
mtklein
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1923393002/ by mtklein@google.com. ...
4 years, 7 months ago (2016-04-27 16:29:27 UTC) #33
reed1
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1925583005/ by reed@google.com. ...
4 years, 7 months ago (2016-04-27 16:29:43 UTC) #34
mtklein
On 2016/04/27 at 16:29:27, mtklein wrote: > A revert of this CL (patchset #8 id:140001) ...
4 years, 7 months ago (2016-04-27 16:30:31 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/160001
4 years, 7 months ago (2016-04-27 20:33:45 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 20:49:36 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1913843002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1913843002/160001
4 years, 7 months ago (2016-04-27 20:50:23 UTC) #43
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 20:51:24 UTC) #45
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/95416f477d2ca264f2fb065455e95778a2289a1d

Powered by Google App Engine
This is Rietveld 408576698