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

Issue 1997703003: Make SkPngCodec decode progressively. (Closed)

Created:
4 years, 7 months ago by scroggo_chromium
Modified:
4 years, 3 months ago
Reviewers:
msarett, scroggo, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@foil
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Make SkPngCodec decode progressively. This is a step towards using SkCodec in Chromium, where progressive decoding is necessary. Switch from using png_read_row (which expects all the data to be available) to png_process_data, which uses callbacks when rows are available. Create a new API for SkCodec, which supports progressive decoding and scanline decoding. Future changes will switch the other clients off of startScanlineDecode and get/skip-Scanlines to the new API. Remove SkCodec::kNone_ScanlineOrder, which was only used for interlaced PNG images. In the new API, interlaced PNG fits kTopDown. Also remove updateCurrScanline(), which was only used by the old implementation for interlaced PNG. DMSrcSink: - In CodecSrc::kScanline_Mode, use the new method for scanline decoding for the supported formats (just PNG and PNG-in-ICO for now). fuzz.cpp: - Remove reference to kNone_ScanlineOrder SkCodec: - Add new APIs: - startIncrementalDecode - incrementalDecode - Remove kNone_SkScanlineOrder and updateCurrScanline() - Set fDstInfo and fOptions in getPixels(). This may not be necessary for all implementations, but it simplifies things for SkPngCodec. SkPngCodec: - Implement new APIs - Switch from sk_read_fn/png_read_row etc to png_process_data - Expand AutoCleanPng's role to decode the header and create the SkPngCodec - Make the interlaced PNG decoder report how many lines were initialized during an incomplete decode SkIcoCodec: - Implement the new APIs; supported for PNG in ICO SkSampledCodec: - Call the new method for decoding scanlines, and fall back to the old method if the new version is unimplemented - Remove references to kNone_SkScanlineOrder tests/CodecPartial: - Add a test which decodes part of an image, then finishes the decode, and compares it to the straightforward method tests/CodecTest: - Add a test which decodes all scanlines using the new method - Repurpose the Codec_stripes test to decode using the new method in sections rather than all at once - In the method check(), add a parameter for whether the image supports the new method of scanline decoding, and be explicit about whether an image supports incomplete - Test incomplete PNG decodes. We should have been doing it anyway for non-interlaced (except for an image that is too small - one row), but the new method supports interlaced incomplete as well - Make test_invalid_parameters test the new method - Add a test to ensure that it's safe to fall back to scanline decoding without rewinding BUG=skia:4211 The new version was generally faster than the old version (but not significantly so). Some raw performance differences can be found at https://docs.google.com/a/google.com/spreadsheets/d/1Gis3aRCEa72qBNDRMgGDg3jD-pMgO-FXldlNF9ejo4o/ Design doc can be found at https://docs.google.com/a/google.com/document/d/11Mn8-ePDKwVEMCjs3nWwSjxcSpJ_Cu8DF57KNtUmgLM/ GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1997703003 Committed: https://skia.googlesource.com/skia/+/8e6c7ada5a4c5a950cded765d14d3e6906acdc79

Patch Set 1 #

Patch Set 2 : Remove some accidentally added extra lines #

Patch Set 3 : Fixes for ICO, Incomplete, comments #

Total comments: 41

Patch Set 4 : Respond to comments #

Total comments: 4

Patch Set 5 : Respond to comments #

Patch Set 6 : Remove callback. Use SkSampler to determine which rows to skip. #

Patch Set 7 : Switch statement for setjmp #

Total comments: 6

Patch Set 8 : Line length and fix comment #

Total comments: 3

Patch Set 9 : Workaround for BMP in ICO #

Patch Set 10 : Fixes for ICO/SampledCodec #

Total comments: 4

Patch Set 11 : Add a fixme #

Patch Set 12 : Rebase #

Patch Set 13 : Fix conversion error #

Patch Set 14 : Use the correct Options object #

Total comments: 4

Patch Set 15 : Disable PNG for older versions of libpng #

Patch Set 16 : rebase #

Patch Set 17 : Disable ICO when SK_HAS_PNG_LIBRARY gets undefined #

Patch Set 18 : Don't compare color space #

Patch Set 19 : Pull in crrev.com/2026873002 #

Patch Set 20 : Pull in crrev.com/2021393002 #

Patch Set 21 : Work around older versions of libpng with SkStream::move #

Patch Set 22 : Fix a comment #

Patch Set 23 : Add explanatory comment #

Total comments: 1

Patch Set 24 : Add missing override #

Patch Set 25 : rebase #

Patch Set 26 : Rebase #

Patch Set 27 : Rebase #

Patch Set 28 : Rename to match test file convention #

Patch Set 29 : Rebase #

Patch Set 30 : Stop pretending to support older versions of libpng #

Patch Set 31 : Rebase #

Patch Set 32 : Make some methods private #

Patch Set 33 : Consolidate setup for width and xformAlphaType #

Patch Set 34 : Simplify applyXformRow #

Total comments: 14

Patch Set 35 : Fix comments, fix CodecPartialTest #

Patch Set 36 : Fix a bug interleaving getPixels with incrementalDecode #

Patch Set 37 : rebase #

Total comments: 2

Patch Set 38 : Potential rebase (different machine) #

Patch Set 39 : Add a comment in response to comments #

Patch Set 40 : Simplify applyXformRow #

Patch Set 41 : Workaround bug #

Total comments: 5

Patch Set 42 : Make PNG test !incomplete, too #

Total comments: 2

Patch Set 43 : Small cleanups #

Patch Set 44 : Support Google3... #

Patch Set 45 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1554 lines, -500 lines) Patch
M dm/DMSrcSink.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +46 lines, -22 lines 0 comments Download
M fuzz/fuzz.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +0 lines, -1 line 0 comments Download
M gm/factory.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +2 lines, -3 lines 0 comments Download
M include/codec/SkCodec.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 8 chunks +79 lines, -20 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 8 chunks +99 lines, -33 lines 0 comments Download
M src/codec/SkIcoCodec.h View 1 2 3 4 5 2 chunks +13 lines, -0 lines 0 comments Download
M src/codec/SkIcoCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +75 lines, -4 lines 0 comments Download
M src/codec/SkPngCodec.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 4 chunks +59 lines, -16 lines 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 17 chunks +567 lines, -200 lines 0 comments Download
M src/codec/SkSampledCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 5 chunks +114 lines, -54 lines 0 comments Download
M src/codec/SkSampler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +29 lines, -0 lines 0 comments Download
A tests/CodecPartialTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +196 lines, -0 lines 0 comments Download
M tests/CodecTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 16 chunks +254 lines, -147 lines 0 comments Download
M tests/ImageTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 100 (45 generated)
scroggo_chromium
https://codereview.chromium.org/1997703003/diff/40001/src/android/SkBitmapRegionDecoder.cpp File src/android/SkBitmapRegionDecoder.cpp (right): https://codereview.chromium.org/1997703003/diff/40001/src/android/SkBitmapRegionDecoder.cpp#newcode45 src/android/SkBitmapRegionDecoder.cpp:45: // supports this scanline ordering. This change is redundant ...
4 years, 7 months ago (2016-05-19 20:58:38 UTC) #4
msarett
https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h#newcode405 include/codec/SkCodec.h:405: * lines decoded. This includes all lines decoded from ...
4 years, 7 months ago (2016-05-20 15:04:41 UTC) #5
msarett
At a high level, I like how this looks... https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h#newcode776 include/codec/SkCodec.h:776: ...
4 years, 7 months ago (2016-05-20 15:06:59 UTC) #6
scroggo_chromium
https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h#newcode405 include/codec/SkCodec.h:405: * lines decoded. This includes all lines decoded from ...
4 years, 7 months ago (2016-05-20 16:52:00 UTC) #7
msarett
lgtm I'm comfortable with how this changes our end point within the input stream. https://codereview.chromium.org/1997703003/diff/40001/include/codec/SkCodec.h ...
4 years, 7 months ago (2016-05-20 18:21:38 UTC) #8
scroggo_chromium
https://codereview.chromium.org/1997703003/diff/60001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/60001/src/codec/SkCodec.cpp#newcode158 src/codec/SkCodec.cpp:158: if (kIndex_8_SkColorType == info.colorType()) { \ On 2016/05/20 18:21:38, ...
4 years, 7 months ago (2016-05-20 18:58:37 UTC) #9
scroggo_chromium
Mike proposed we remove the callback from the public API. Instead, we use a sampleY ...
4 years, 7 months ago (2016-05-23 21:00:10 UTC) #11
msarett
Cool, I like this better than the first version. https://codereview.chromium.org/1997703003/diff/120001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/120001/src/codec/SkCodec.cpp#newcode235 src/codec/SkCodec.cpp:235: ...
4 years, 7 months ago (2016-05-24 13:14:07 UTC) #12
scroggo
https://codereview.chromium.org/1997703003/diff/120001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/120001/src/codec/SkCodec.cpp#newcode235 src/codec/SkCodec.cpp:235: SkCodec::Result SkCodec::startIncrementalDecode(const SkImageInfo& info, void* pixels, size_t rowBytes, On ...
4 years, 7 months ago (2016-05-24 14:24:50 UTC) #13
msarett
https://codereview.chromium.org/1997703003/diff/120001/src/codec/SkSampler.h File src/codec/SkSampler.h (right): https://codereview.chromium.org/1997703003/diff/120001/src/codec/SkSampler.h#newcode42 src/codec/SkSampler.h:42: return row % fSampleY == 0; On 2016/05/24 14:24:50, ...
4 years, 7 months ago (2016-05-24 14:28:34 UTC) #14
scroggo_chromium
Mike, can you take another look at the API?
4 years, 7 months ago (2016-05-24 14:37:08 UTC) #15
reed1
api lgtm https://codereview.chromium.org/1997703003/diff/140001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1997703003/diff/140001/include/codec/SkCodec.h#newcode375 include/codec/SkCodec.h:375: Result startIncrementalDecode(const SkImageInfo& dstInfo, void* dst, size_t ...
4 years, 7 months ago (2016-05-24 15:11:39 UTC) #16
scroggo
Matt, please take another look. I've added a workaround for BMP in ICO, and fixed ...
4 years, 7 months ago (2016-05-26 16:10:58 UTC) #19
msarett
lgtm https://codereview.chromium.org/1997703003/diff/180001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/180001/src/codec/SkCodec.cpp#newcode286 src/codec/SkCodec.cpp:286: } else if (kUnimplemented == result) { This ...
4 years, 7 months ago (2016-05-26 16:45:22 UTC) #20
scroggo
https://codereview.chromium.org/1997703003/diff/180001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/180001/src/codec/SkCodec.cpp#newcode286 src/codec/SkCodec.cpp:286: } else if (kUnimplemented == result) { On 2016/05/26 ...
4 years, 7 months ago (2016-05-26 19:08:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/220001
4 years, 7 months ago (2016-05-26 19:09:13 UTC) #25
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/8812)
4 years, 7 months ago (2016-05-26 19:15:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/240001
4 years, 7 months ago (2016-05-26 19:26:14 UTC) #30
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/8733)
4 years, 7 months ago (2016-05-26 19:34:59 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/260001
4 years, 7 months ago (2016-05-26 19:59:58 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot/builds/1738)
4 years, 7 months ago (2016-05-26 20:12:20 UTC) #37
scroggo
https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkGifCodec.cpp File src/codec/SkGifCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkGifCodec.cpp#newcode523 src/codec/SkGifCodec.cpp:523: return this->prepareToDecode(dstInfo, inputColorPtr, inputColorCount, opts); https://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8733/steps/test_skia%20on%20Ubuntu/logs/stdio caught an interesting ...
4 years, 7 months ago (2016-05-26 20:25:10 UTC) #38
msarett
https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkGifCodec.cpp File src/codec/SkGifCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkGifCodec.cpp#newcode523 src/codec/SkGifCodec.cpp:523: return this->prepareToDecode(dstInfo, inputColorPtr, inputColorCount, opts); On 2016/05/26 20:25:10, scroggo ...
4 years, 7 months ago (2016-05-26 20:29:13 UTC) #39
scroggo
Matt, PTAL at the latest, which disables SkPngCodec with older versions of libpng https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkPngCodec.cpp File ...
4 years, 7 months ago (2016-05-26 21:53:32 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/280001
4 years, 7 months ago (2016-05-26 21:53:49 UTC) #42
commit-bot: I haz the power
Dry run: 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/8828)
4 years, 7 months ago (2016-05-26 22:04:03 UTC) #44
msarett
lgtm https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/260001/src/codec/SkPngCodec.cpp#newcode792 src/codec/SkPngCodec.cpp:792: png_process_data_pause(fPng_ptr, 1); On 2016/05/26 21:53:32, scroggo wrote: > ...
4 years, 6 months ago (2016-05-27 12:52:31 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/340001
4 years, 6 months ago (2016-05-31 13:14:59 UTC) #48
commit-bot: I haz the power
Committed patchset #18 (id:340001) as https://skia.googlesource.com/skia/+/a4b09a117d4d1ba5dda372e6a2323e653766539e
4 years, 6 months ago (2016-05-31 13:30:19 UTC) #50
scroggo
A revert of this CL (patchset #18 id:340001) has been created in https://codereview.chromium.org/2023103002/ by scroggo@google.com. ...
4 years, 6 months ago (2016-05-31 20:52:30 UTC) #51
scroggo
Matt, please take another look. I've used a different workaround this time, to try to ...
4 years, 6 months ago (2016-06-01 14:03:38 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/460001
4 years, 6 months ago (2016-06-01 14:04:00 UTC) #57
msarett
On 2016/06/01 14:04:00, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 6 months ago (2016-06-01 14:09:41 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/2917)
4 years, 6 months ago (2016-06-01 14:09:47 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/480001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/480001
4 years, 6 months ago (2016-06-01 14:12:16 UTC) #63
commit-bot: I haz the power
Committed patchset #24 (id:480001) as https://skia.googlesource.com/skia/+/30e78c9737ff4861dc4e3fa1e4cd010680ed6965
4 years, 6 months ago (2016-06-01 14:31:33 UTC) #65
scroggo
A revert of this CL (patchset #24 id:480001) has been created in https://codereview.chromium.org/2026383002/ by scroggo@google.com. ...
4 years, 6 months ago (2016-06-01 19:08:06 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1997703003/520001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1997703003/520001
4 years, 6 months ago (2016-06-02 21:03:48 UTC) #70
commit-bot: I haz the power
Committed patchset #26 (id:520001) as https://skia.googlesource.com/skia/+/6fb2391b2cc83ee2160b4e994faa8128975acc1f
4 years, 6 months ago (2016-06-02 21:16:50 UTC) #72
scroggo
A revert of this CL (patchset #26 id:520001) has been created in https://codereview.chromium.org/2044573002/ by scroggo@google.com. ...
4 years, 6 months ago (2016-06-06 17:57:43 UTC) #73
scroggo_chromium
Matt, please take another look. (API unchanged from prior approvals.) I've rebased/integrated your xform changes. ...
4 years, 3 months ago (2016-09-14 00:34:10 UTC) #76
msarett
Sorry, it's been a long time since I looked at this. I probably commented on ...
4 years, 3 months ago (2016-09-14 13:21:06 UTC) #77
scroggo_chromium
PTAL Patchset: 35: Addresses comments (only one change, plus a couple of minor things I ...
4 years, 3 months ago (2016-09-14 14:54:14 UTC) #78
msarett
lgtm https://codereview.chromium.org/1997703003/diff/680001/src/codec/SkSampledCodec.cpp File src/codec/SkSampledCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/680001/src/codec/SkSampledCodec.cpp#newcode223 src/codec/SkSampledCodec.cpp:223: incrementalSubset.fBottom = startY + (dstHeight - 1) * ...
4 years, 3 months ago (2016-09-14 15:39:54 UTC) #79
scroggo
https://codereview.chromium.org/1997703003/diff/680001/src/codec/SkSampledCodec.cpp File src/codec/SkSampledCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/680001/src/codec/SkSampledCodec.cpp#newcode223 src/codec/SkSampledCodec.cpp:223: incrementalSubset.fBottom = startY + (dstHeight - 1) * sampleY ...
4 years, 3 months ago (2016-09-14 17:43:01 UTC) #80
msarett
https://codereview.chromium.org/1997703003/diff/680001/src/codec/SkSampledCodec.cpp File src/codec/SkSampledCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/680001/src/codec/SkSampledCodec.cpp#newcode223 src/codec/SkSampledCodec.cpp:223: incrementalSubset.fBottom = startY + (dstHeight - 1) * sampleY ...
4 years, 3 months ago (2016-09-14 18:16:05 UTC) #81
scroggo_chromium
Matt, PTAL. I've further simplified applyXformRow, and worked around the memory corruption problem, which appears ...
4 years, 3 months ago (2016-09-14 22:01:41 UTC) #82
msarett
lgtm https://codereview.chromium.org/1997703003/diff/810001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/810001/src/codec/SkCodec.cpp#newcode225 src/codec/SkCodec.cpp:225: //fOptions = *options; On 2016/09/14 22:01:41, scroggo_chromium wrote: ...
4 years, 3 months ago (2016-09-14 22:11:56 UTC) #83
msarett
Woohoo! Trybots passed! https://codereview.chromium.org/1997703003/diff/810001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1997703003/diff/810001/src/codec/SkCodec.cpp#newcode225 src/codec/SkCodec.cpp:225: //fOptions = *options; On 2016/09/14 22:11:56, ...
4 years, 3 months ago (2016-09-14 23:20:20 UTC) #84
scroggo_chromium
Matt, PTAL Patchsets: 42: I accidentally wasn't testing complete PNG images in CodecTest. Fix that. ...
4 years, 3 months ago (2016-09-15 22:34:54 UTC) #85
msarett
LGTM Yes everything inside #ifdef GOOGLE3_PNG_HACK is ugly... But I think it's justified - landing ...
4 years, 3 months ago (2016-09-16 12:20:16 UTC) #86
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/1997703003/870001
4 years, 3 months ago (2016-09-16 14:16:12 UTC) #93
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/13886)
4 years, 3 months ago (2016-09-16 14:18:07 UTC) #95
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/1997703003/890001
4 years, 3 months ago (2016-09-16 14:41:04 UTC) #98
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 15:20:42 UTC) #100
Message was sent while issue was closed.
Committed patchset #45 (id:890001) as
https://skia.googlesource.com/skia/+/8e6c7ada5a4c5a950cded765d14d3e6906acdc79

Powered by Google App Engine
This is Rietveld 408576698