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

Issue 243463005: expose CGImage -> SkBitmap (Closed)

Created:
6 years, 8 months ago by reed1
Modified:
6 years, 8 months ago
Reviewers:
hal.canary, scroggo
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

expose CGImage -> SkBitmap BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14315

Patch Set 1 #

Total comments: 13

Patch Set 2 : update dox #

Patch Set 3 : support RGBA and BGRA #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -45 lines) Patch
M gm/aaclip.cpp View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
M include/utils/mac/SkCGUtils.h View 1 2 chunks +18 lines, -1 line 0 comments Download
M src/core/SkBitmap.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/ports/SkImageDecoder_CG.cpp View 3 chunks +8 lines, -11 lines 0 comments Download
M src/utils/mac/SkCreateCGImageRef.cpp View 1 2 3 4 3 chunks +115 lines, -32 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
reed1
6 years, 8 months ago (2014-04-21 19:57:43 UTC) #1
hal.canary
https://codereview.chromium.org/243463005/diff/1/include/utils/mac/SkCGUtils.h File include/utils/mac/SkCGUtils.h (right): https://codereview.chromium.org/243463005/diff/1/include/utils/mac/SkCGUtils.h#newcode36 include/utils/mac/SkCGUtils.h:36: * Given a CGImage, allocate a SkBitmap and copy ...
6 years, 8 months ago (2014-04-21 20:15:50 UTC) #2
scroggo
Meta concern: I find it problematic that we have separate image decoders for each platform. ...
6 years, 8 months ago (2014-04-21 20:18:44 UTC) #3
reed1
meta-concern: I don't disagree. Just sharing 1 set of codecs sounds good to me. This ...
6 years, 8 months ago (2014-04-21 20:44:41 UTC) #4
reed1
now with GM testing -- PTAL
6 years, 8 months ago (2014-04-21 22:41:31 UTC) #5
scroggo
lgtm https://codereview.chromium.org/243463005/diff/2/gm/aaclip.cpp File gm/aaclip.cpp (right): https://codereview.chromium.org/243463005/diff/2/gm/aaclip.cpp#newcode178 gm/aaclip.cpp:178: virtual uint32_t onGetFlags() const { return kSkipPipe_Flag; } ...
6 years, 8 months ago (2014-04-22 14:58:17 UTC) #6
reed1
https://codereview.chromium.org/243463005/diff/2/gm/aaclip.cpp File gm/aaclip.cpp (right): https://codereview.chromium.org/243463005/diff/2/gm/aaclip.cpp#newcode178 gm/aaclip.cpp:178: virtual uint32_t onGetFlags() const { return kSkipPipe_Flag; } On ...
6 years, 8 months ago (2014-04-22 17:51:34 UTC) #7
scroggo
On 2014/04/22 17:51:34, reed1 wrote: > https://codereview.chromium.org/243463005/diff/2/gm/aaclip.cpp > File gm/aaclip.cpp (right): > > https://codereview.chromium.org/243463005/diff/2/gm/aaclip.cpp#newcode178 > ...
6 years, 8 months ago (2014-04-22 17:54:44 UTC) #8
reed1
The CQ bit was checked by reed@google.com
6 years, 8 months ago (2014-04-22 18:50:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/243463005/90001
6 years, 8 months ago (2014-04-22 18:50:46 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 20:24:37 UTC) #11
Message was sent while issue was closed.
Change committed as 14315

Powered by Google App Engine
This is Rietveld 408576698