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

Issue 1343703005: SkImageSource (Closed)

Created:
5 years, 3 months ago by f(malita)
Modified:
5 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkImageSource Blink is migrating away from SkBitmaps, so we need an SkImage-based SkImageFilter source. This is pretty much a 1-1 equivalent of SkBitmapSource. To avoid duplication, relocate the SkImage deserialization logic from SkPictureData to SkReadBuffer. R=reed@google.com,robertphillips@google.com,senorblanco@chromium.org Committed: https://skia.googlesource.com/skia/+/cd56f812e09fdd8f8322c5c28cbc4423a74b9a0a

Patch Set 1 #

Total comments: 1

Patch Set 2 : kRO_LegacyBitmapMode #

Total comments: 10

Patch Set 3 : review comments #

Total comments: 4

Patch Set 4 : serialization fix + test #

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -56 lines) Patch
A + gm/imagesource.cpp View 1 2 3 2 chunks +22 lines, -19 lines 0 comments Download
M gyp/effects.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
A include/effects/SkImageSource.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M src/core/SkPictureData.cpp View 1 chunk +1 line, -37 lines 0 comments Download
M src/core/SkReadBuffer.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/core/SkReadBuffer.cpp View 2 chunks +42 lines, -0 lines 0 comments Download
A src/effects/SkImageSource.cpp View 1 2 3 4 1 chunk +118 lines, -0 lines 0 comments Download
M src/ports/SkGlobalInitialization_chromium.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/ports/SkGlobalInitialization_default.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M tests/ImageFilterTest.cpp View 1 2 3 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343703005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343703005/1
5 years, 3 months ago (2015-09-14 18:13:00 UTC) #3
f(malita)
Planning to migrate Blink and all the internal clients to the new class. At that ...
5 years, 3 months ago (2015-09-14 18:16:57 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-14 18:18:42 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343703005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343703005/20001
5 years, 3 months ago (2015-09-14 18:20:46 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-14 18:26:34 UTC) #10
Stephen White
https://codereview.chromium.org/1343703005/diff/20001/include/effects/SkImageSource.h File include/effects/SkImageSource.h (right): https://codereview.chromium.org/1343703005/diff/20001/include/effects/SkImageSource.h#newcode21 include/effects/SkImageSource.h:21: SkFilterQuality = kHigh_SkFilterQuality); API Q for reed@: since we ...
5 years, 3 months ago (2015-09-14 18:39:28 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/1343703005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343703005/40001
5 years, 3 months ago (2015-09-14 19:14:19 UTC) #13
f(malita)
https://codereview.chromium.org/1343703005/diff/20001/include/effects/SkImageSource.h File include/effects/SkImageSource.h (right): https://codereview.chromium.org/1343703005/diff/20001/include/effects/SkImageSource.h#newcode21 include/effects/SkImageSource.h:21: SkFilterQuality = kHigh_SkFilterQuality); On 2015/09/14 18:39:27, Stephen White wrote: ...
5 years, 3 months ago (2015-09-14 19:19:35 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-14 19:20:11 UTC) #16
Stephen White
LGTM w/test added https://codereview.chromium.org/1343703005/diff/20001/src/effects/SkImageSource.cpp File src/effects/SkImageSource.cpp (right): https://codereview.chromium.org/1343703005/diff/20001/src/effects/SkImageSource.cpp#newcode53 src/effects/SkImageSource.cpp:53: if (image) { On 2015/09/14 19:19:35, ...
5 years, 3 months ago (2015-09-14 19:49:24 UTC) #17
f(malita)
https://codereview.chromium.org/1343703005/diff/20001/src/effects/SkImageSource.cpp File src/effects/SkImageSource.cpp (right): https://codereview.chromium.org/1343703005/diff/20001/src/effects/SkImageSource.cpp#newcode53 src/effects/SkImageSource.cpp:53: if (image) { On 2015/09/14 19:49:23, Stephen White wrote: ...
5 years, 3 months ago (2015-09-14 19:51:16 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343703005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343703005/60001
5 years, 3 months ago (2015-09-14 20:06:29 UTC) #20
f(malita)
On 2015/09/14 19:51:16, f(malita) wrote: > https://codereview.chromium.org/1343703005/diff/20001/src/effects/SkImageSource.cpp > File src/effects/SkImageSource.cpp (right): > > https://codereview.chromium.org/1343703005/diff/20001/src/effects/SkImageSource.cpp#newcode53 > ...
5 years, 3 months ago (2015-09-14 20:07:20 UTC) #21
reed1
lgtm https://codereview.chromium.org/1343703005/diff/40001/include/effects/SkImageSource.h File include/effects/SkImageSource.h (right): https://codereview.chromium.org/1343703005/diff/40001/include/effects/SkImageSource.h#newcode17 include/effects/SkImageSource.h:17: static SkImageSource* Create(const SkImage*); Can these just return ...
5 years, 3 months ago (2015-09-14 20:08:48 UTC) #22
f(malita)
https://codereview.chromium.org/1343703005/diff/40001/include/effects/SkImageSource.h File include/effects/SkImageSource.h (right): https://codereview.chromium.org/1343703005/diff/40001/include/effects/SkImageSource.h#newcode17 include/effects/SkImageSource.h:17: static SkImageSource* Create(const SkImage*); On 2015/09/14 20:08:48, reed1 wrote: ...
5 years, 3 months ago (2015-09-14 20:12:50 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343703005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343703005/80001
5 years, 3 months ago (2015-09-14 20:13:12 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-14 20:18:52 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343703005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343703005/80001
5 years, 3 months ago (2015-09-14 20:30:29 UTC) #30
commit-bot: I haz the power
5 years, 3 months ago (2015-09-14 20:31:21 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/cd56f812e09fdd8f8322c5c28cbc4423a74b9a0a

Powered by Google App Engine
This is Rietveld 408576698