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

Issue 1460073002: Implement SkGifCodec::onSkipScanlines() (Closed)

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

Description

Implement SkGifCodec::onSkipScanlines() This should give a performance improvment because we are able to skip swizzling pixels. This should also fix valgrind failures caused by color table lookups with uninitialized memory. BUG=skia:4270 Committed: https://skia.googlesource.com/skia/+/72261c0afd4f1b0718bda05213a769120baa55c9

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Check fFrameIsSubset inside handleScanlineFrame #

Patch Set 3 : onSkipScanlines() returns a bool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -11 lines) Patch
M src/codec/SkCodec_libgif.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M src/codec/SkCodec_libgif.cpp View 1 2 3 chunks +44 lines, -11 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (7 generated)
msarett
https://codereview.chromium.org/1460073002/diff/20001/src/codec/SkCodec_libgif.cpp File src/codec/SkCodec_libgif.cpp (right): https://codereview.chromium.org/1460073002/diff/20001/src/codec/SkCodec_libgif.cpp#newcode531 src/codec/SkCodec_libgif.cpp:531: this->handleScanlineFrame(count, &rowsBeforeFrame, &rowsInFrame); We could do without the count ...
5 years, 1 month ago (2015-11-19 21:37:23 UTC) #3
scroggo
lgtm https://codereview.chromium.org/1460073002/diff/20001/src/codec/SkCodec_libgif.cpp File src/codec/SkCodec_libgif.cpp (right): https://codereview.chromium.org/1460073002/diff/20001/src/codec/SkCodec_libgif.cpp#newcode509 src/codec/SkCodec_libgif.cpp:509: void SkGifCodec::handleScanlineFrame(int count, int* rowsBeforeFrame, int* rowsInFrame) { ...
5 years, 1 month ago (2015-11-19 22:23:06 UTC) #5
msarett
https://codereview.chromium.org/1460073002/diff/20001/src/codec/SkCodec_libgif.cpp File src/codec/SkCodec_libgif.cpp (right): https://codereview.chromium.org/1460073002/diff/20001/src/codec/SkCodec_libgif.cpp#newcode509 src/codec/SkCodec_libgif.cpp:509: void SkGifCodec::handleScanlineFrame(int count, int* rowsBeforeFrame, int* rowsInFrame) { On ...
5 years, 1 month ago (2015-11-19 22:39:23 UTC) #6
scroggo
LGTM
5 years, 1 month ago (2015-11-19 22:42:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460073002/40001
5 years, 1 month ago (2015-11-19 22:43:26 UTC) #9
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/4430)
5 years, 1 month ago (2015-11-19 22:45:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460073002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460073002/60001
5 years, 1 month ago (2015-11-19 23:13:39 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 23:29:29 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/72261c0afd4f1b0718bda05213a769120baa55c9

Powered by Google App Engine
This is Rietveld 408576698