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

Issue 349973008: Tick off some TODOs: (Closed)

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

Description

Tick off some TODOs: - support fRecord in copy constructor - support SkDrawPictureCallback Moved SkDrawPictureCallback to its own header so SkRecordDraw can include it without pulling in all of SkPicture. Adding an SkAutoSaveRestore to SkRecordDraw was the easiest way to match the balance guarantees of the callback, and probably not a bad idea in general. Updated its tests. BUG=skia: R=robertphillips@google.com Committed: https://skia.googlesource.com/skia/+/c11530e

Patch Set 1 #

Patch Set 2 : tests etc #

Patch Set 3 : nits #

Total comments: 10

Patch Set 4 : robert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -39 lines) Patch
A include/core/SkDrawPictureCallback.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
M include/core/SkPicture.h View 1 3 chunks +1 line, -19 lines 0 comments Download
M src/core/SkPicture.cpp View 1 2 3 5 chunks +22 lines, -8 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M src/core/SkRecordDraw.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkRecordDraw.cpp View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M tests/RecordDrawTest.cpp View 1 2 3 6 chunks +66 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mtklein
6 years, 6 months ago (2014-06-24 14:58:39 UTC) #1
robertphillips
lgtm + nits & suggestions https://codereview.chromium.org/349973008/diff/40001/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/349973008/diff/40001/src/core/SkPicture.cpp#newcode169 src/core/SkPicture.cpp:169: NULL != ? (and ...
6 years, 6 months ago (2014-06-24 15:11:08 UTC) #2
mtklein
https://codereview.chromium.org/349973008/diff/40001/src/core/SkPicture.cpp File src/core/SkPicture.cpp (right): https://codereview.chromium.org/349973008/diff/40001/src/core/SkPicture.cpp#newcode169 src/core/SkPicture.cpp:169: On 2014/06/24 15:11:08, robertphillips wrote: > NULL != ? ...
6 years, 6 months ago (2014-06-24 15:16:47 UTC) #3
mtklein_C
6 years, 6 months ago (2014-06-24 15:29:10 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as rc11530e.

Powered by Google App Engine
This is Rietveld 408576698