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

Issue 155863005: Adding release method to SkWriter32 and using it to not copy the ops data from SkPictureRecord to S… (Closed)

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

Description

Adding release method to SkWriter32 and using it to not copy the ops data from SkPictureRecord to SkPicturePlayback BUG=skia:2125

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename to detatchAsData #

Total comments: 2

Patch Set 3 : Change pointer init to use NULL #

Total comments: 2

Patch Set 4 : Remove pointless scope #

Patch Set 5 : Rebase patch #

Patch Set 6 : Rebase patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -13 lines) Patch
M include/core/SkWriter32.h View 1 2 3 4 5 3 chunks +11 lines, -2 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 3 chunks +4 lines, -9 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkWriter32.cpp View 1 2 3 4 5 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
iancottrell
Things to note on this cl: I needed to make SkPicturePlayback take a mutable SkPictureRecord ...
6 years, 10 months ago (2014-02-07 15:57:18 UTC) #1
reed1
https://codereview.chromium.org/155863005/diff/1/include/core/SkWriter32.h File include/core/SkWriter32.h (right): https://codereview.chromium.org/155863005/diff/1/include/core/SkWriter32.h#newcode238 include/core/SkWriter32.h:238: SkData* release(); Modest vote for a more explicit name ...
6 years, 10 months ago (2014-02-07 16:06:43 UTC) #2
iancottrell
https://codereview.chromium.org/155863005/diff/1/include/core/SkWriter32.h File include/core/SkWriter32.h (right): https://codereview.chromium.org/155863005/diff/1/include/core/SkWriter32.h#newcode238 include/core/SkWriter32.h:238: SkData* release(); On 2014/02/07 16:06:49, reed1 wrote: > Modest ...
6 years, 10 months ago (2014-02-07 17:01:47 UTC) #3
reed1
api lgtm
6 years, 10 months ago (2014-02-07 17:08:48 UTC) #4
tomhudson
lgtm https://codereview.chromium.org/155863005/diff/60001/src/core/SkWriter32.cpp File src/core/SkWriter32.cpp (right): https://codereview.chromium.org/155863005/diff/60001/src/core/SkWriter32.cpp#newcode99 src/core/SkWriter32.cpp:99: fData = NULL; Nit: the constructor uses 0 ...
6 years, 10 months ago (2014-02-07 17:15:57 UTC) #5
reed1
On 2014/02/07 17:15:57, tomhudson wrote: > lgtm > > https://codereview.chromium.org/155863005/diff/60001/src/core/SkWriter32.cpp > File src/core/SkWriter32.cpp (right): > ...
6 years, 10 months ago (2014-02-07 17:50:47 UTC) #6
iancottrell
https://codereview.chromium.org/155863005/diff/60001/src/core/SkWriter32.cpp File src/core/SkWriter32.cpp (right): https://codereview.chromium.org/155863005/diff/60001/src/core/SkWriter32.cpp#newcode99 src/core/SkWriter32.cpp:99: fData = NULL; On 2014/02/07 17:15:58, tomhudson wrote: > ...
6 years, 10 months ago (2014-02-11 13:28:39 UTC) #7
mtklein
lgtm https://codereview.chromium.org/155863005/diff/150001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/155863005/diff/150001/src/core/SkPicturePlayback.cpp#newcode87 src/core/SkPicturePlayback.cpp:87: { Not sure why we have this block ...
6 years, 10 months ago (2014-02-11 13:31:12 UTC) #8
iancottrell
https://codereview.chromium.org/155863005/diff/150001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/155863005/diff/150001/src/core/SkPicturePlayback.cpp#newcode87 src/core/SkPicturePlayback.cpp:87: { On 2014/02/11 13:31:12, mtklein wrote: > Not sure ...
6 years, 10 months ago (2014-02-11 13:44:06 UTC) #9
iancottrell
The CQ bit was checked by iancottrell@google.com
6 years, 10 months ago (2014-02-11 14:30:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/iancottrell@google.com/155863005/260001
6 years, 10 months ago (2014-02-11 14:30:26 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-11 14:35:14 UTC) #12
commit-bot: I haz the power
Retried try job too often on Build-Ubuntu12-GCC-x86_64-Release-Trybot for step(s) BuildBench, BuildEverything, BuildGm, BuildSkiaLib, BuildTests, BuildTools ...
6 years, 10 months ago (2014-02-11 14:35:15 UTC) #13
iancottrell
6 years, 9 months ago (2014-03-12 11:09:47 UTC) #14
Message was sent while issue was closed.
On 2014/02/11 14:35:15, I haz the power (commit-bot) wrote:
> Retried try job too often on Build-Ubuntu12-GCC-x86_64-Release-Trybot for
> step(s) BuildBench, BuildEverything, BuildGm, BuildSkiaLib, BuildTests,
> BuildTools
>
http://108.170.219.164:10117/buildstatus?builder=Build-Ubuntu12-GCC-x86_64-Re...


This cl has been abandoned, see https://codereview.chromium.org/167113003/ for
the new version.

Powered by Google App Engine
This is Rietveld 408576698