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

Issue 1487683004: Create an SkCodecImageGenerator (Closed)

Created:
5 years ago by msarett
Modified:
4 years, 11 months ago
Reviewers:
scroggo, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 1

Patch Set 2 : SkCodecImageGenerator - no tests #

Total comments: 3

Patch Set 3 : Replace SkImageDecoderGenerator with SkCodecImageGenerator #

Patch Set 4 : Use Mike's gm to test SkCodecImageGenerator #

Patch Set 5 : Test SkCodecImageGenerator in addition to the default #

Patch Set 6 : Rebase #

Patch Set 7 : Use SkCodecImageGenerator #

Total comments: 2

Patch Set 8 : Use public inheritance #

Patch Set 9 : Rebase #

Patch Set 10 : Add test in CodexTest, do not replace SkIDGenerator #

Total comments: 3

Patch Set 11 : Move to src/codec and codec.gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -0 lines) Patch
M gyp/codec.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
A src/codec/SkCodecImageGenerator.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +43 lines, -0 lines 0 comments Download
A src/codec/SkCodecImageGenerator.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +46 lines, -0 lines 0 comments Download
M tests/CodexTest.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 41 (19 generated)
msarett
This didn't really upload as I had hoped - my changes and Mike's changes are ...
5 years ago (2015-11-30 23:08:45 UTC) #5
reed1
Perhaps we can land this w/o my new entry-points, just by overriding onGetPixels for now. ...
5 years ago (2015-12-01 03:39:16 UTC) #6
msarett
On 2015/12/01 03:39:16, reed1 wrote: > Perhaps we can land this w/o my new entry-points, ...
5 years ago (2015-12-01 23:39:54 UTC) #9
reed1
seems right. can we add a unittest or gm to exercise it?
5 years ago (2015-12-02 17:38:16 UTC) #10
scroggo
On 2015/12/02 17:38:16, reed1 wrote: > seems right. > > can we add a unittest ...
5 years ago (2015-12-02 20:22:55 UTC) #11
msarett
Alright so now there are three options. Patch Set 2: SkCodecImageGenerator without tests Patch Set ...
5 years ago (2015-12-02 22:56:01 UTC) #12
reed1
agreed it may be too early to divert the default SkImage factory to use Codecs... ...
5 years ago (2015-12-03 13:49:56 UTC) #13
msarett
Works for me
5 years ago (2015-12-03 16:18:56 UTC) #14
msarett
I'm hoping to replace SkImageDecoderGenerator with SkCodecImageGenerator in this CL (see Patch Set 7). A ...
4 years, 12 months ago (2015-12-21 16:56:34 UTC) #18
reed1
https://codereview.chromium.org/1487683004/diff/180001/src/core/SkCodecImageGenerator.h File src/core/SkCodecImageGenerator.h (right): https://codereview.chromium.org/1487683004/diff/180001/src/core/SkCodecImageGenerator.h#newcode12 src/core/SkCodecImageGenerator.h:12: class SkCodecImageGenerator : SkImageGenerator { not "public SkImageGenerator" ?
4 years, 11 months ago (2016-01-04 17:52:08 UTC) #19
reed1
lgtm other than my "public" question
4 years, 11 months ago (2016-01-04 17:52:20 UTC) #20
msarett
We still need to work out the failures before this can land. Also, it's worth ...
4 years, 11 months ago (2016-01-04 19:17:00 UTC) #21
scroggo
On 2015/12/21 16:56:34, msarett wrote: > I'm hoping to replace SkImageDecoderGenerator with SkCodecImageGenerator in this ...
4 years, 11 months ago (2016-01-04 20:22:00 UTC) #22
msarett
PTAL I've added a test in CodexTest and removed the code that replaces SkImageDecoderGenerator with ...
4 years, 11 months ago (2016-01-14 18:16:30 UTC) #24
scroggo
> Replace SkIDGenerator with SkCodecImageGenerator Please update the commit message Other than that, and my ...
4 years, 11 months ago (2016-01-14 19:06:18 UTC) #25
msarett
https://codereview.chromium.org/1487683004/diff/260001/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1487683004/diff/260001/tests/CodexTest.cpp#newcode391 tests/CodexTest.cpp:391: REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes())); On 2016/01/14 19:06:18, scroggo wrote: ...
4 years, 11 months ago (2016-01-14 19:13:12 UTC) #28
scroggo
https://codereview.chromium.org/1487683004/diff/260001/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1487683004/diff/260001/tests/CodexTest.cpp#newcode391 tests/CodexTest.cpp:391: REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes())); On 2016/01/14 19:13:12, msarett wrote: ...
4 years, 11 months ago (2016-01-14 19:18:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1487683004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1487683004/260001
4 years, 11 months ago (2016-01-14 19:21:16 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:260001) as https://skia.googlesource.com/skia/+/e1102ce1d3d0895e840e756e155ec56b5a1a7540
4 years, 11 months ago (2016-01-14 19:32:46 UTC) #34
msarett
A revert of this CL (patchset #10 id:260001) has been created in https://codereview.chromium.org/1582373003/ by msarett@google.com. ...
4 years, 11 months ago (2016-01-14 20:20:32 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1487683004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1487683004/280001
4 years, 11 months ago (2016-01-14 20:59:06 UTC) #39
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 21:12:29 UTC) #41
Message was sent while issue was closed.
Committed patchset #11 (id:280001) as
https://skia.googlesource.com/skia/+/edd2dcf08224fc6c313610bfc9f9f8257e0e85ef

Powered by Google App Engine
This is Rietveld 408576698