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

Issue 1718273004: Add an SkImageGeneratorCG (Closed)

Created:
4 years, 10 months ago by msarett
Modified:
4 years, 9 months ago
Reviewers:
scroggo, corey.lucier, 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 : #

Patch Set 2 : Use CGCopyProperties to perform a deferred decode #

Total comments: 8

Patch Set 3 : Respond to comments #

Total comments: 12

Patch Set 4 : Response to comments #

Patch Set 5 : Remove changes to CodecImGen, sorry about the rebase #

Patch Set 6 : Disable RAW for image generators #

Patch Set 7 : Blacklist questionable bmps on CG #

Total comments: 2

Patch Set 8 : Partial match on blacklist, Bug for RAW #

Patch Set 9 : 80 chars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -57 lines) Patch
M dm/DM.cpp View 1 2 3 4 5 6 7 5 chunks +67 lines, -17 lines 0 comments Download
M dm/DMSrcSink.h View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 4 4 chunks +114 lines, -39 lines 0 comments Download
M gyp/ports.gyp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A src/ports/SkImageGeneratorCG.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
A src/ports/SkImageGeneratorCG.cpp View 1 2 3 1 chunk +123 lines, -0 lines 0 comments Download
M tools/dm_flags.json View 1 2 3 4 5 6 7 8 2 chunks +56 lines, -0 lines 0 comments Download
M tools/dm_flags.py View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (24 generated)
msarett
I haven't hooked this in anywhere except for test code. Seems simple enough for the ...
4 years, 10 months ago (2016-02-24 20:15:35 UTC) #8
reed1
does CG return a generator in the sense that it hasn't yet paid for the ...
4 years, 10 months ago (2016-02-25 18:22:51 UTC) #9
msarett
On 2016/02/25 18:22:51, reed1 wrote: > does CG return a generator in the sense that ...
4 years, 10 months ago (2016-02-25 18:26:58 UTC) #10
corey.lucier
Thank you for adding this. I assume the equivalent of SkImageDecoder_WIC will follow as well? ...
4 years, 10 months ago (2016-02-26 14:26:35 UTC) #11
msarett
Yes that's correct. This is still a WIP, but we will finish adding alternative support ...
4 years, 9 months ago (2016-02-29 15:35:11 UTC) #12
msarett
PTAL We now get width, height, alpha properties from the CG image source, so we ...
4 years, 9 months ago (2016-03-01 23:53:07 UTC) #14
reed1
https://codereview.chromium.org/1718273004/diff/140001/src/ports/SkImageGeneratorCG.cpp File src/ports/SkImageGeneratorCG.cpp (right): https://codereview.chromium.org/1718273004/diff/140001/src/ports/SkImageGeneratorCG.cpp#newcode46 src/ports/SkImageGeneratorCG.cpp:46: kCGImagePropertyHasAlpha)); Do we know that hasalpha means its not ...
4 years, 9 months ago (2016-03-02 01:45:42 UTC) #15
scroggo
https://codereview.chromium.org/1718273004/diff/140001/gyp/ports.gyp File gyp/ports.gyp (right): https://codereview.chromium.org/1718273004/diff/140001/gyp/ports.gyp#newcode75 gyp/ports.gyp:75: '../src/ports/SkImageGeneratorCG.cpp', This file seems to have gotten messy. Sometimes ...
4 years, 9 months ago (2016-03-02 13:08:14 UTC) #16
msarett
Thanks for your comments! I've dug a lot deeper and ultimately decided not to change ...
4 years, 9 months ago (2016-03-04 23:48:33 UTC) #19
scroggo
https://codereview.chromium.org/1718273004/diff/200001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1718273004/diff/200001/dm/DM.cpp#newcode331 dm/DM.cpp:331: static void push_image_gen_src(Path path, ImageGenSrc::Mode mode, SkAlphaType alphaType, bool ...
4 years, 9 months ago (2016-03-07 13:04:30 UTC) #20
msarett
https://codereview.chromium.org/1718273004/diff/200001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1718273004/diff/200001/dm/DM.cpp#newcode331 dm/DM.cpp:331: static void push_image_gen_src(Path path, ImageGenSrc::Mode mode, SkAlphaType alphaType, bool ...
4 years, 9 months ago (2016-03-08 23:20:18 UTC) #21
scroggo
lgtm
4 years, 9 months ago (2016-03-09 15:22:15 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718273004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718273004/220001
4 years, 9 months ago (2016-03-09 15:22:36 UTC) #24
commit-bot: I haz the power
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/6923)
4 years, 9 months ago (2016-03-09 15:24:10 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718273004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718273004/240001
4 years, 9 months ago (2016-03-09 16:17:29 UTC) #28
msarett
PTAL (1) Removed modifications from SkCodecImageGenerator. (2) Stopped testing RAW images on image generator tests. ...
4 years, 9 months ago (2016-03-09 18:31:04 UTC) #31
scroggo
On 2016/03/09 18:31:04, msarett wrote: > PTAL > > (1) Removed modifications from SkCodecImageGenerator. Is ...
4 years, 9 months ago (2016-03-09 19:44:01 UTC) #32
msarett
On 2016/03/09 19:44:01, scroggo wrote: > On 2016/03/09 18:31:04, msarett wrote: > > PTAL > ...
4 years, 9 months ago (2016-03-09 19:54:53 UTC) #33
msarett
On 2016/03/09 19:54:53, msarett wrote: > On 2016/03/09 19:44:01, scroggo wrote: > > On 2016/03/09 ...
4 years, 9 months ago (2016-03-09 19:56:00 UTC) #34
msarett
I filed a bug for RAW/CG. CG handles RAW images a little differently than SkRawCodec. ...
4 years, 9 months ago (2016-03-09 20:55:45 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718273004/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718273004/360001
4 years, 9 months ago (2016-03-09 20:56:08 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/7513)
4 years, 9 months ago (2016-03-09 20:57:38 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718273004/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718273004/400001
4 years, 9 months ago (2016-03-09 20:59:48 UTC) #44
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-09 21:17:31 UTC) #46
scroggo
On 2016/03/09 20:55:45, msarett wrote: > I filed a bug for RAW/CG. CG handles RAW ...
4 years, 9 months ago (2016-03-09 22:12:19 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718273004/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718273004/400001
4 years, 9 months ago (2016-03-09 22:19:44 UTC) #49
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 22:21:03 UTC) #51
Message was sent while issue was closed.
Committed patchset #9 (id:400001) as
https://skia.googlesource.com/skia/+/1897631ebe417631ea7a046a2eb0995ab9d04539

Powered by Google App Engine
This is Rietveld 408576698