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

Issue 228613003: Move SkDecodingImageGenerator.h to include/ (Closed)

Created:
6 years, 8 months ago by scroggo
Modified:
6 years, 7 months ago
Reviewers:
hal.canary, djsollen, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Move SkDecodingImageGenerator.h to include/ This will allow Android to access it and remove SkImageRef. Depends on https://codereview.chromium.org/293283002/ BUG=skia:2389 Committed: http://code.google.com/p/skia/source/detail?r=14891

Patch Set 1 #

Total comments: 4

Patch Set 2 : Only move SkDecodingImageGenerator.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -131 lines) Patch
M gyp/images.gyp View 1 2 chunks +1 line, -1 line 0 comments Download
A + include/images/SkDecodingImageGenerator.h View 0 chunks +-1 lines, --1 lines 0 comments Download
D src/images/SkDecodingImageGenerator.h View 1 chunk +0 lines, -131 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
scroggo
Separating this out from https://codereview.chromium.org/223903007/. Mike, I know you said in that issue you think ...
6 years, 8 months ago (2014-04-08 13:59:49 UTC) #1
scroggo
https://codereview.chromium.org/228613003/diff/1/include/core/SkDiscardableMemory.h File include/core/SkDiscardableMemory.h (right): https://codereview.chromium.org/228613003/diff/1/include/core/SkDiscardableMemory.h#newcode30 include/core/SkDiscardableMemory.h:30: class Factory : public SkRefCnt { I believe I ...
6 years, 7 months ago (2014-05-23 20:07:55 UTC) #2
hal.canary
lgtm
6 years, 7 months ago (2014-05-23 20:30:35 UTC) #3
scroggo
On 2014/05/23 20:30:35, Hal Canary wrote: > lgtm Mike, ptal. I need your API approval, ...
6 years, 7 months ago (2014-05-27 13:51:26 UTC) #4
reed1
lgtm -- but lets take another look at the (now public) API soon. 1. Do ...
6 years, 7 months ago (2014-05-27 14:18:45 UTC) #5
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 7 months ago (2014-05-27 14:53:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/scroggo@google.com/228613003/20001
6 years, 7 months ago (2014-05-27 14:53:57 UTC) #7
commit-bot: I haz the power
Change committed as 14891
6 years, 7 months ago (2014-05-27 14:59:50 UTC) #8
scroggo
6 years, 7 months ago (2014-05-27 15:05:11 UTC) #9
Message was sent while issue was closed.
On 2014/05/27 14:18:45, reed1 wrote:
> lgtm -- but lets take another look at the (now public) API soon.
> 
> 1. Do we really need to have a bool for dither?

Yes, unless/until we can get Android to not depend on it. I'm pretty sure this
is
explicitly what Android needs to support their existing API.

> 2. Should it take SkAlphaType instead of a unpremul-bool

I don't think so. If a client requests unpremul, the result may end up being
opaque,
so they end up (correctly) with a different SkAlphaType. If the user requests
SkOpaque_SkAlphaType, what would that mean?

> 3. What does it mean to request or not-request the colortype?

I think the dox (see lines 38-42) are pretty clear, but let me know if they
should
be updated. 

> Is
> kUnknown_SkColorType the same as not-requested?

I'm not sure what we should do if the client requests unknown (or what we
currently do).

Powered by Google App Engine
This is Rietveld 408576698