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

Issue 206313003: SkRecord strawman (Closed)

Created:
6 years, 9 months ago by mtklein_C
Modified:
6 years, 8 months ago
CC:
skia-review_googlegroups.com, Tom Hudson, ian_cottrell, Nat
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

SkRecord strawman Record performance as measured by bench_record (out/Release/bench_record --skr) improves by at least 1.9x, at most 6.7x, arithmetic mean 2.6x, geometric mean 3.0x. So, good. Correctness as measured by DM (out/Debug/dm --skr) is ~ok. One GM (shadertext2) fails because we're assuming all paint effects are immutable, but SkShaders are still mutable. To do after this CL: - measure playback speed - catch up feature-wise to SkPicture - match today's playback speed BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14010

Patch Set 1 #

Patch Set 2 : some #

Patch Set 3 : SkRecorder looking good #

Patch Set 4 : dm #

Patch Set 5 : SkRecordDraw ~works #

Patch Set 6 : no default #

Patch Set 7 : deep copy bitmaps if needed #

Patch Set 8 : debug traces and rename to ImmutableBitmap #

Patch Set 9 : no indirection for small records #

Patch Set 10 : move macros to SkRecord.h where they're used #

Patch Set 11 : checkpoint #

Patch Set 12 : copyTo failures are ok #

Patch Set 13 : nits #

Patch Set 14 : tools off #

Patch Set 15 : comments and tweaks #

Patch Set 16 : win build fixes #

Patch Set 17 : rebase #

Patch Set 18 : rebase #

Patch Set 19 : IsSmall -> IsLarge: pithier #

Unified diffs Side-by-side diffs Delta from patch set Stats (+850 lines, -16 lines) Patch
M dm/DMCpuGMTask.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A + dm/DMRecordTask.h View 1 2 3 3 chunks +6 lines, -8 lines 0 comments Download
A dm/DMRecordTask.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +42 lines, -0 lines 0 comments Download
M gyp/dm.gyp View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
A gyp/record.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +14 lines, -0 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A src/record/SkRecord.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +198 lines, -0 lines 0 comments Download
A src/record/SkRecordDraw.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +62 lines, -0 lines 0 comments Download
A src/record/SkRecorder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +70 lines, -0 lines 0 comments Download
A src/record/SkRecorder.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +224 lines, -0 lines 0 comments Download
A src/record/SkRecords.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +209 lines, -0 lines 0 comments Download
M tools/bench_record.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
mtklein
FYI for now.
6 years, 9 months ago (2014-03-20 16:30:03 UTC) #1
mtklein
On 2014/03/20 16:30:03, mtklein wrote: > FYI for now. Bitmap mutability was indeed the big ...
6 years, 9 months ago (2014-03-20 19:02:41 UTC) #2
mtklein_C
OK, I think I'm happy enough with this now to land a first draft. It's ...
6 years, 9 months ago (2014-03-24 22:33:48 UTC) #3
robertphillips
It seems like this has a big overlap with the SkDrawCommand/SkDebugCanvas use case.
6 years, 9 months ago (2014-03-26 11:52:19 UTC) #4
mtklein
On 2014/03/26 11:52:19, robertphillips wrote: > It seems like this has a big overlap with ...
6 years, 9 months ago (2014-03-26 12:07:00 UTC) #5
mtklein
Seeing little activity here, I'm going to plow ahead with this so I can keep ...
6 years, 8 months ago (2014-04-01 15:28:03 UTC) #6
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 8 months ago (2014-04-01 15:28:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/206313003/520001
6 years, 8 months ago (2014-04-01 15:28:18 UTC) #8
commit-bot: I haz the power
Change committed as 14010
6 years, 8 months ago (2014-04-01 16:24:13 UTC) #9
Dominik Grewe
On 2014/04/01 16:24:13, I haz the power (commit-bot) wrote: > Change committed as 14010 Did ...
6 years, 8 months ago (2014-04-01 18:05:19 UTC) #10
mtklein
On 2014/04/01 18:05:19, Dominik Grewe wrote: > On 2014/04/01 16:24:13, I haz the power (commit-bot) ...
6 years, 8 months ago (2014-04-02 14:48:11 UTC) #11
Sami
On 2014/04/02 14:48:11, mtklein wrote: > I don't have a way yet to create an ...
6 years, 8 months ago (2014-04-02 16:29:30 UTC) #12
mtklein
On 2014/04/02 16:29:30, Sami wrote: > On 2014/04/02 14:48:11, mtklein wrote: > > I don't ...
6 years, 8 months ago (2014-04-02 16:50:01 UTC) #13
nduca
sounds like we should filez a boog
6 years, 8 months ago (2014-04-02 18:48:42 UTC) #14
mtklein
6 years, 8 months ago (2014-04-02 19:39:35 UTC) #15
Message was sent while issue was closed.
On 2014/04/02 18:48:42, nduca wrote:
> sounds like we should filez a boog

I just made https://code.google.com/p/skia/issues/detail?id=2378

Powered by Google App Engine
This is Rietveld 408576698