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

Issue 378343002: Refactor SkPicturePlayback for SkPictureReplacementPlayback (Closed)

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

Description

Refactor SkPicturePlayback for SkPictureReplacementPlayback This CL is intended to maximize code reuse when SkPictureReplacementPlayback is split off. Committed: https://skia.googlesource.com/skia/+/ec66e6264de5110802c3d9927380d913242c9d5f

Patch Set 1 #

Patch Set 2 : Undo split up #

Patch Set 3 : Cleanup #

Patch Set 4 : Cleaned up #

Total comments: 2

Patch Set 5 : Added assert #

Patch Set 6 : Move StepIterator to be next to SkipIterTo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -136 lines) Patch
M src/core/SkPicturePlayback.h View 1 2 3 3 chunks +18 lines, -5 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 5 3 chunks +142 lines, -112 lines 0 comments Download
M src/core/SkPictureStateTree.h View 1 2 3 chunks +9 lines, -7 lines 0 comments Download
M src/core/SkPictureStateTree.cpp View 1 2 2 chunks +14 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
robertphillips
6 years, 5 months ago (2014-07-09 17:37:02 UTC) #1
mtklein
https://codereview.chromium.org/378343002/diff/60001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/378343002/diff/60001/src/core/SkPicturePlayback.cpp#newcode238 src/core/SkPicturePlayback.cpp:238: if (SkPictureStateTree::Iterator::kDrawComplete == skipTo) { Is there any chance ...
6 years, 5 months ago (2014-07-09 17:55:01 UTC) #2
robertphillips
https://codereview.chromium.org/378343002/diff/60001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/378343002/diff/60001/src/core/SkPicturePlayback.cpp#newcode238 src/core/SkPicturePlayback.cpp:238: if (SkPictureStateTree::Iterator::kDrawComplete == skipTo) { On 2014/07/09 17:55:01, mtklein ...
6 years, 5 months ago (2014-07-09 18:12:39 UTC) #3
mtklein
> skipTo will never be kDrawComplete on entry (I'll add an assert). SGTM > We ...
6 years, 5 months ago (2014-07-09 18:22:05 UTC) #4
robertphillips
PTAL - I have moved StepIterator above SkipIterTo
6 years, 5 months ago (2014-07-09 19:31:50 UTC) #5
mtklein
lgtm
6 years, 5 months ago (2014-07-09 19:36:09 UTC) #6
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 5 months ago (2014-07-09 19:38:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/378343002/100001
6 years, 5 months ago (2014-07-09 19:38:45 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 20:00:11 UTC) #9
Message was sent while issue was closed.
Change committed as ec66e6264de5110802c3d9927380d913242c9d5f

Powered by Google App Engine
This is Rietveld 408576698