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

Issue 753073010: Adding a PictureResolution option to SkPictureImageFilter (Closed)

Created:
6 years ago by Justin Novosad
Modified:
6 years ago
Reviewers:
Stephen White, reed2, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Adding a PictureResolution option to SkPictureImageFilter This change adds an option to SkPictureImageFilter to make it rasterize SkPicture in a resolution that matches the local coordinate space (equivalent to the record-time device space). BUG=skia:3176 R=reed@google.com, senorblanco@chromium.org Committed: https://skia.googlesource.com/skia/+/5234075b1c6bcada4ad17ed5a83bfcb53df66b7f

Patch Set 1 #

Total comments: 1

Patch Set 2 : response to review comments #

Total comments: 5

Patch Set 3 : improved naming consistency #

Patch Set 4 : rebase #

Patch Set 5 : rebased again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -20 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M gm/pictureimagefilter.cpp View 1 3 chunks +23 lines, -5 lines 0 comments Download
M include/core/SkPicture.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M include/effects/SkPictureImageFilter.h View 1 2 3 2 chunks +35 lines, -5 lines 0 comments Download
M src/core/SkReadBuffer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/effects/SkPictureImageFilter.cpp View 1 2 3 4 chunks +65 lines, -9 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
Justin Novosad
PTAL
6 years ago (2014-11-27 16:45:26 UTC) #2
reed2
https://codereview.chromium.org/753073010/diff/1/include/effects/SkPictureImageFilter.h File include/effects/SkPictureImageFilter.h (right): https://codereview.chromium.org/753073010/diff/1/include/effects/SkPictureImageFilter.h#newcode35 include/effects/SkPictureImageFilter.h:35: static SkPictureImageFilter* Create(const SkPicture* picture, int32_t uniqueID = 0, ...
6 years ago (2014-11-28 15:33:53 UTC) #3
reed2
Can we get away with just another factory that explicitly is for local-space-filtering? Is it ...
6 years ago (2014-11-28 15:38:23 UTC) #4
Justin Novosad
On 2014/11/28 15:38:23, reed2 wrote: > Can we get away with just another factory that ...
6 years ago (2014-11-28 16:41:08 UTC) #5
Justin Novosad
New patch
6 years ago (2014-11-28 18:51:14 UTC) #6
reed1
thank you, I find the new APIs much clearer/simpler. api lgtm
6 years ago (2014-12-01 14:05:20 UTC) #8
Stephen White
Code looks fine; just some naming nits (although I don't have any better suggestions). https://codereview.chromium.org/753073010/diff/20001/include/effects/SkPictureImageFilter.h ...
6 years ago (2014-12-01 16:02:12 UTC) #9
Justin Novosad
https://codereview.chromium.org/753073010/diff/20001/include/effects/SkPictureImageFilter.h File include/effects/SkPictureImageFilter.h (right): https://codereview.chromium.org/753073010/diff/20001/include/effects/SkPictureImageFilter.h#newcode52 include/effects/SkPictureImageFilter.h:52: kLocalSpace_PictureResolution On 2014/12/01 16:02:12, Stephen White wrote: > Is ...
6 years ago (2014-12-02 16:33:37 UTC) #10
Justin Novosad
New patch. senorblanco?
6 years ago (2014-12-02 16:50:12 UTC) #11
Stephen White
LGTM
6 years ago (2014-12-02 17:56:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753073010/40001
6 years ago (2014-12-02 18:54:45 UTC) #14
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running git apply --index -3 -p1; error: patch ...
6 years ago (2014-12-02 18:54:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753073010/60001
6 years ago (2014-12-02 19:26:05 UTC) #18
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running git apply --index -3 -p1; error: patch ...
6 years ago (2014-12-02 19:26:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753073010/80001
6 years ago (2014-12-02 19:42:15 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1273)
6 years ago (2014-12-02 19:45:47 UTC) #24
Justin Novosad
On 2014/12/02 19:45:47, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-12-02 19:50:47 UTC) #25
Justin Novosad
6 years ago (2014-12-02 19:51:01 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
5234075b1c6bcada4ad17ed5a83bfcb53df66b7f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698