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

Issue 1518743002: Add reallyHasAlpha() to SkAndroidCodec (Closed)

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

Description

Add reallyHasAlpha() to SkAndroidCodec This also modified the default implementation of onReallyHasAlpha() in SkCodec. BUG=skia: Committed: https://skia.googlesource.com/skia/+/90c4d5fec8a9455729b401fd7818bea221dcada2

Patch Set 1 #

Total comments: 6

Patch Set 2 : Move fCodec to SkAndroidCodec #

Total comments: 2

Patch Set 3 : Change comment on onReallyHasAlpha #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -64 lines) Patch
M include/codec/SkAndroidCodec.h View 1 3 chunks +17 lines, -3 lines 0 comments Download
M include/codec/SkCodec.h View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M src/codec/SkAndroidCodec.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/codec/SkSampledCodec.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M src/codec/SkSampledCodec.cpp View 1 14 chunks +40 lines, -40 lines 0 comments Download
M src/codec/SkWebpAdapterCodec.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M src/codec/SkWebpAdapterCodec.cpp View 1 2 chunks +4 lines, -5 lines 0 comments Download
M src/codec/SkWebpCodec.h View 1 1 chunk +0 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (7 generated)
msarett
We need this to pass NinePatchTest::testHasAlpha() in CTS.
5 years ago (2015-12-10 16:50:14 UTC) #3
scroggo
https://codereview.chromium.org/1518743002/diff/1/include/codec/SkAndroidCodec.h File include/codec/SkAndroidCodec.h (right): https://codereview.chromium.org/1518743002/diff/1/include/codec/SkAndroidCodec.h#newcode219 include/codec/SkAndroidCodec.h:219: bool reallyHasAlpha() const { With some changes, this doesn't ...
5 years ago (2015-12-10 17:02:32 UTC) #4
msarett
https://codereview.chromium.org/1518743002/diff/1/include/codec/SkAndroidCodec.h File include/codec/SkAndroidCodec.h (right): https://codereview.chromium.org/1518743002/diff/1/include/codec/SkAndroidCodec.h#newcode219 include/codec/SkAndroidCodec.h:219: bool reallyHasAlpha() const { On 2015/12/10 17:02:32, scroggo wrote: ...
5 years ago (2015-12-10 17:41:18 UTC) #6
scroggo
(Did you upload another patch?) https://codereview.chromium.org/1518743002/diff/1/include/codec/SkAndroidCodec.h File include/codec/SkAndroidCodec.h (right): https://codereview.chromium.org/1518743002/diff/1/include/codec/SkAndroidCodec.h#newcode219 include/codec/SkAndroidCodec.h:219: bool reallyHasAlpha() const { ...
5 years ago (2015-12-10 18:29:42 UTC) #7
msarett
Now I did :)
5 years ago (2015-12-10 18:33:04 UTC) #8
scroggo
lgtm https://codereview.chromium.org/1518743002/diff/40001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1518743002/diff/40001/include/codec/SkCodec.h#newcode490 include/codec/SkCodec.h:490: // If the image indicates that it does ...
5 years ago (2015-12-10 18:45:44 UTC) #9
msarett
https://codereview.chromium.org/1518743002/diff/40001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1518743002/diff/40001/include/codec/SkCodec.h#newcode490 include/codec/SkCodec.h:490: // If the image indicates that it does have ...
5 years ago (2015-12-10 18:53:30 UTC) #10
scroggo
On 2015/12/10 18:53:30, msarett wrote: > https://codereview.chromium.org/1518743002/diff/40001/include/codec/SkCodec.h > File include/codec/SkCodec.h (right): > > https://codereview.chromium.org/1518743002/diff/40001/include/codec/SkCodec.h#newcode490 > ...
5 years ago (2015-12-10 18:56:28 UTC) #11
djsollen
api lgtm
5 years ago (2015-12-10 20:50:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518743002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518743002/60001
5 years ago (2015-12-10 20:55:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4822)
5 years ago (2015-12-10 21:00:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1518743002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1518743002/60001
5 years ago (2015-12-10 21:04:23 UTC) #18
commit-bot: I haz the power
5 years ago (2015-12-10 21:09:27 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/90c4d5fec8a9455729b401fd7818bea221dcada2

Powered by Google App Engine
This is Rietveld 408576698