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

Issue 318763004: First pass at splitting out SkPictureRecord from SkPicture (Closed)

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

Description

First pass at splitting out SkPictureRecord from SkPicture This patch begins the process of splitting apart SkPicture, SkPicturePlayback and SkPictureRecord. This is still a bit messy. In a follow up CL I hope to delay the creation of SkPictureRecorder's SkPicture until endRecording time. Committed: https://skia.googlesource.com/skia/+/643b8bd6617e333f7a970a57ad9166f3d6675d1a

Patch Set 1 #

Total comments: 10

Patch Set 2 : Switch from using SkAutoTUnref to a raw pointer #

Total comments: 2

Patch Set 3 : Make dtor non-virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -144 lines) Patch
M include/core/SkPicture.h View 4 chunks +1 line, -36 lines 0 comments Download
M include/core/SkPictureRecorder.h View 1 2 4 chunks +9 lines, -19 lines 0 comments Download
M src/core/SkPicture.cpp View 12 chunks +2 lines, -82 lines 0 comments Download
M src/core/SkPictureRecorder.cpp View 1 2 chunks +56 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
robertphillips
Still a bit more testing to do but this is the bulk of it.
6 years, 6 months ago (2014-06-04 22:11:42 UTC) #1
mtklein
mostly nits https://codereview.chromium.org/318763004/diff/1/src/core/SkPictureRecorder.cpp File src/core/SkPictureRecorder.cpp (right): https://codereview.chromium.org/318763004/diff/1/src/core/SkPictureRecorder.cpp#newcode17 src/core/SkPictureRecorder.cpp:17: fCanvas.reset(NULL); You can probably drop this? Either ...
6 years, 6 months ago (2014-06-04 22:22:16 UTC) #2
reed1
api lgtm
6 years, 6 months ago (2014-06-05 13:28:07 UTC) #3
robertphillips
https://codereview.chromium.org/318763004/diff/1/src/core/SkPictureRecorder.cpp File src/core/SkPictureRecorder.cpp (right): https://codereview.chromium.org/318763004/diff/1/src/core/SkPictureRecorder.cpp#newcode17 src/core/SkPictureRecorder.cpp:17: fCanvas.reset(NULL); This will eventually go away when SkPictureRecord doesn't ...
6 years, 6 months ago (2014-06-05 20:29:44 UTC) #4
mtklein
Looks good. Only one concern remains. https://codereview.chromium.org/318763004/diff/20001/include/core/SkPictureRecorder.h File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/318763004/diff/20001/include/core/SkPictureRecorder.h#newcode21 include/core/SkPictureRecorder.h:21: virtual ~SkPictureRecorder(); Drop ...
6 years, 6 months ago (2014-06-05 20:50:19 UTC) #5
robertphillips
https://codereview.chromium.org/318763004/diff/20001/include/core/SkPictureRecorder.h File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/318763004/diff/20001/include/core/SkPictureRecorder.h#newcode21 include/core/SkPictureRecorder.h:21: virtual ~SkPictureRecorder(); On 2014/06/05 20:50:19, mtklein wrote: > Drop ...
6 years, 6 months ago (2014-06-05 21:01:53 UTC) #6
mtklein
On 2014/06/05 21:01:53, robertphillips wrote: > https://codereview.chromium.org/318763004/diff/20001/include/core/SkPictureRecorder.h > File include/core/SkPictureRecorder.h (right): > > https://codereview.chromium.org/318763004/diff/20001/include/core/SkPictureRecorder.h#newcode21 > ...
6 years, 6 months ago (2014-06-05 21:14:10 UTC) #7
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 6 months ago (2014-06-06 17:34:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/318763004/40001
6 years, 6 months ago (2014-06-06 17:34:59 UTC) #9
robertphillips
The CQ bit was unchecked by robertphillips@google.com
6 years, 6 months ago (2014-06-06 19:18:04 UTC) #10
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 6 months ago (2014-06-08 12:54:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/318763004/40001
6 years, 6 months ago (2014-06-08 12:55:01 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-08 12:55:09 UTC) #13
Message was sent while issue was closed.
Change committed as 643b8bd6617e333f7a970a57ad9166f3d6675d1a

Powered by Google App Engine
This is Rietveld 408576698