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

Issue 378703002: Clean up a bit after SkPictureData/SkPicturePlayback split (Closed)

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

Description

Clean up a bit after SkPictureData/SkPicturePlayback split This CL begins setting up the SkPicturePlayback split by simplifying the class and componentizing it a bit. It: fuses SkPictureData::OperationList into SkPicture::OperationList adds a handleOp method to SkPicturePlayback that can be reused by derived classes removes a couple debugging tools (ENABLE_TIME_DRAW & SPEW_CLIP_SKIPPING) Committed: https://skia.googlesource.com/skia/+/3afef1f75f710b8f183113cdc5188416f7d01f28

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 6

Patch Set 3 : Address code review comments #

Patch Set 4 : Update to ToT #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -208 lines) Patch
M include/core/SkPicture.h View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M src/core/SkPicture.cpp View 3 chunks +11 lines, -3 lines 0 comments Download
M src/core/SkPictureData.h View 3 chunks +8 lines, -22 lines 0 comments Download
M src/core/SkPictureData.cpp View 2 chunks +1 line, -33 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 11 chunks +119 lines, -145 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
robertphillips
6 years, 5 months ago (2014-07-07 22:43:16 UTC) #1
reed1
api lgtm https://codereview.chromium.org/378703002/diff/20001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/378703002/diff/20001/include/core/SkPicture.h#newcode275 include/core/SkPicture.h:275: SkTDArray<void*> fOps; does this guy need to ...
6 years, 5 months ago (2014-07-07 22:48:27 UTC) #2
mtklein
LGTM. Just some nits. https://codereview.chromium.org/378703002/diff/20001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/378703002/diff/20001/include/core/SkPicture.h#newcode265 include/core/SkPicture.h:265: virtual ~OperationList() {} No need ...
6 years, 5 months ago (2014-07-07 22:52:14 UTC) #3
robertphillips
https://codereview.chromium.org/378703002/diff/20001/include/core/SkPicture.h File include/core/SkPicture.h (right): https://codereview.chromium.org/378703002/diff/20001/include/core/SkPicture.h#newcode265 include/core/SkPicture.h:265: virtual ~OperationList() {} On 2014/07/07 22:52:14, mtklein wrote: > ...
6 years, 5 months ago (2014-07-08 12:50:43 UTC) #4
mtklein
https://codereview.chromium.org/378703002/diff/60001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/378703002/diff/60001/src/core/SkPicturePlayback.cpp#newcode150 src/core/SkPicturePlayback.cpp:150: // Since the opList is valid we know it ...
6 years, 5 months ago (2014-07-08 12:55:13 UTC) #5
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 5 months ago (2014-07-08 12:56:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/378703002/60001
6 years, 5 months ago (2014-07-08 12:57:11 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 13:12:29 UTC) #8
Message was sent while issue was closed.
Change committed as 3afef1f75f710b8f183113cdc5188416f7d01f28

Powered by Google App Engine
This is Rietveld 408576698