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

Issue 2335203002: Implement Fill() for incomplete decodes to RGBA_F16 (Closed)

Created:
4 years, 3 months ago by msarett
Modified:
4 years, 3 months ago
Reviewers:
scroggo, reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Implement Fill() for incomplete decodes to RGBA_F16 Before this patch, we would hit an SkASSERT(false). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2335203002 Committed: https://skia.googlesource.com/skia/+/f7eb6fc71abd7649d65a877e7a10d1060afc0c88

Patch Set 1 #

Total comments: 3

Patch Set 2 : Defaults #

Total comments: 4

Patch Set 3 : constexpr and a test #

Patch Set 4 : Fix win builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -64 lines) Patch
M dm/DMSrcSink.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gyp/codec_android.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/codec/SkCodec.h View 1 1 chunk +10 lines, -10 lines 0 comments Download
M infra/bots/assets/skimage/VERSION View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkBmpStandardCodec.h View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkBmpStandardCodec.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 chunks +19 lines, -2 lines 0 comments Download
M src/codec/SkCodecPriv.h View 3 chunks +10 lines, -2 lines 0 comments Download
M src/codec/SkGifCodec.h View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkGifCodec.cpp View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M src/codec/SkMaskSwizzler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkPngCodec.h View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkPngCodec.cpp View 1 chunk +6 lines, -3 lines 0 comments Download
M src/codec/SkSampledCodec.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkSampler.h View 2 chunks +3 lines, -2 lines 0 comments Download
M src/codec/SkSampler.cpp View 1 2 3 4 chunks +23 lines, -30 lines 0 comments Download
M src/codec/SkSwizzler.h View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (16 generated)
msarett
We probably still need a redesign of how we handle incomplete images (Chrome always fills ...
4 years, 3 months ago (2016-09-13 14:30:54 UTC) #5
reed1
looks tricky to me lgtm https://codereview.chromium.org/2335203002/diff/20001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/2335203002/diff/20001/include/codec/SkCodec.h#newcode620 include/codec/SkCodec.h:620: * kRGBA_F16_SkColorType: Transparent or ...
4 years, 3 months ago (2016-09-13 14:41:29 UTC) #7
msarett
https://codereview.chromium.org/2335203002/diff/20001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/2335203002/diff/20001/include/codec/SkCodec.h#newcode620 include/codec/SkCodec.h:620: * kRGBA_F16_SkColorType: Transparent or Black, depending on the src ...
4 years, 3 months ago (2016-09-13 14:47:24 UTC) #8
scroggo
https://codereview.chromium.org/2335203002/diff/40001/gyp/codec_android.gyp File gyp/codec_android.gyp (right): https://codereview.chromium.org/2335203002/diff/40001/gyp/codec_android.gyp#newcode28 gyp/codec_android.gyp:28: '../src/core', Is this for SkHalf.h? Which is referenced by ...
4 years, 3 months ago (2016-09-13 15:03:16 UTC) #13
msarett
Also uploaded a test image https://codereview.chromium.org/2335203002/diff/40001/gyp/codec_android.gyp File gyp/codec_android.gyp (right): https://codereview.chromium.org/2335203002/diff/40001/gyp/codec_android.gyp#newcode28 gyp/codec_android.gyp:28: '../src/core', On 2016/09/13 15:03:16, ...
4 years, 3 months ago (2016-09-13 15:23:55 UTC) #14
scroggo
On 2016/09/13 15:23:55, msarett wrote: > Also uploaded a test image LGTM > > https://codereview.chromium.org/2335203002/diff/40001/gyp/codec_android.gyp ...
4 years, 3 months ago (2016-09-13 15:48:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2335203002/80001
4 years, 3 months ago (2016-09-13 16:02:53 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 16:04:15 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://skia.googlesource.com/skia/+/f7eb6fc71abd7649d65a877e7a10d1060afc0c88

Powered by Google App Engine
This is Rietveld 408576698