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

Issue 1831323003: Swap SkPictureImageFilter's factories over to smart pointers (Closed)

Created:
4 years, 9 months ago by robertphillips
Modified:
4 years, 8 months ago
Reviewers:
f(malita), reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Swap SkPictureImageFilter's factories over to smart pointers A trial balloon before converting the rest This requires https://codereview.chromium.org/1836443003/ (add SK_SUPPORT_LEGACY_IMAGEFILTER_PTR flag for future skia CL) to land in Chromium first GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1831323003 Committed: https://skia.googlesource.com/skia/+/5ff17b13524eea03e4b672ee3b3a49b649dd09fb

Patch Set 1 #

Total comments: 5

Patch Set 2 : Don't use auto for sk_sp #

Patch Set 3 : Fix sk_sp bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -82 lines) Patch
M gm/filterfastbounds.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M gm/pictureimagefilter.cpp View 1 3 chunks +47 lines, -44 lines 0 comments Download
M gm/recordopts.cpp View 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkPictureImageFilter.h View 5 chunks +32 lines, -14 lines 0 comments Download
M samplecode/SampleFilterFuzz.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkPictureImageFilter.cpp View 1 2 2 chunks +7 lines, -11 lines 0 comments Download
M tests/ImageFilterTest.cpp View 4 chunks +6 lines, -8 lines 0 comments Download
M tests/RecordOptsTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (12 generated)
robertphillips
4 years, 9 months ago (2016-03-25 18:59:57 UTC) #5
reed1
api lgtm https://codereview.chromium.org/1831323003/diff/1/include/effects/SkPictureImageFilter.h File include/effects/SkPictureImageFilter.h (right): https://codereview.chromium.org/1831323003/diff/1/include/effects/SkPictureImageFilter.h#newcode19 include/effects/SkPictureImageFilter.h:19: static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture) { This style ...
4 years, 9 months ago (2016-03-25 19:32:36 UTC) #6
robertphillips
https://codereview.chromium.org/1831323003/diff/1/include/effects/SkPictureImageFilter.h File include/effects/SkPictureImageFilter.h (right): https://codereview.chromium.org/1831323003/diff/1/include/effects/SkPictureImageFilter.h#newcode19 include/effects/SkPictureImageFilter.h:19: static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture) { On 2016/03/25 19:32:36, reed1 ...
4 years, 8 months ago (2016-03-28 12:02:22 UTC) #7
f(malita)
lgtm https://codereview.chromium.org/1831323003/diff/1/gm/pictureimagefilter.cpp File gm/pictureimagefilter.cpp (right): https://codereview.chromium.org/1831323003/diff/1/gm/pictureimagefilter.cpp#newcode61 gm/pictureimagefilter.cpp:61: auto pictureSource(SkPictureImageFilter::Make(fPicture)); I recently found that Chromium discourages ...
4 years, 8 months ago (2016-03-28 13:00:08 UTC) #8
robertphillips
https://codereview.chromium.org/1831323003/diff/1/gm/pictureimagefilter.cpp File gm/pictureimagefilter.cpp (right): https://codereview.chromium.org/1831323003/diff/1/gm/pictureimagefilter.cpp#newcode61 gm/pictureimagefilter.cpp:61: auto pictureSource(SkPictureImageFilter::Make(fPicture)); On 2016/03/28 13:00:08, f(malita) wrote: > I ...
4 years, 8 months ago (2016-03-28 17:25:43 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831323003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831323003/20001
4 years, 8 months ago (2016-03-28 17:25:43 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/7417) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 8 months ago (2016-03-28 17:27:14 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831323003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831323003/40001
4 years, 8 months ago (2016-03-28 19:43:06 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-28 19:52:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1831323003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1831323003/40001
4 years, 8 months ago (2016-03-28 20:12:47 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 20:13:45 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/5ff17b13524eea03e4b672ee3b3a49b649dd09fb

Powered by Google App Engine
This is Rietveld 408576698