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

Issue 1501303002: SkPixelSerializer: support indexed pixels (Closed)

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

Description

SkPixelSerializer: support indexed pixels By taking a SkPixmap, SkPixelSerializer::encode() can now handle colortables. Committed: https://skia.googlesource.com/skia/+/6b28017781b47ebd9c9c3f3a52561f05702d5e8a

Patch Set 1 #

Patch Set 2 : 2015-12-06 (Sunday) 17:21:55 EST #

Total comments: 3

Patch Set 3 : 2015-12-07 (Monday) 10:42:27 EST #

Patch Set 4 : 2015-12-07 (Monday) 10:44:44 EST #

Total comments: 6

Patch Set 5 : 2015-12-07 (Monday) 15:24:44 EST #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -14 lines) Patch
M include/core/SkImage.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkPixelSerializer.h View 1 2 3 4 3 chunks +15 lines, -4 lines 0 comments Download
M src/core/SkWriteBuffer.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 4 2 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1501303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1501303002/1
5 years ago (2015-12-06 21:59:48 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/4620) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
5 years ago (2015-12-06 22:00:37 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1501303002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1501303002/20001
5 years ago (2015-12-06 22:22:28 UTC) #6
hal.canary
PTAL Motivation: I'm using SkPixelSerializer in SkRecord.
5 years ago (2015-12-06 22:24:49 UTC) #8
hal.canary
Adding Leon for codec review.
5 years ago (2015-12-06 22:25:40 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-06 22:35:11 UTC) #12
reed1
Looks like a few things are going on here: - some convenience methods are being ...
5 years ago (2015-12-07 15:01:28 UTC) #13
hal.canary
On 2015/12/07 at 15:01:28, reed wrote: > Looks like a few things are going on ...
5 years ago (2015-12-07 15:15:31 UTC) #14
hal.canary
https://codereview.chromium.org/1501303002/diff/20001/src/images/SkImageEncoder.cpp File src/images/SkImageEncoder.cpp (right): https://codereview.chromium.org/1501303002/diff/20001/src/images/SkImageEncoder.cpp#newcode62 src/images/SkImageEncoder.cpp:62: bm.setImmutable(); On 2015/12/07 at 15:01:28, reed1 wrote: > why ...
5 years ago (2015-12-07 15:15:36 UTC) #15
hal.canary
5 years ago (2015-12-07 15:15:39 UTC) #16
reed1
https://codereview.chromium.org/1501303002/diff/20001/src/images/SkImageEncoder.cpp File src/images/SkImageEncoder.cpp (right): https://codereview.chromium.org/1501303002/diff/20001/src/images/SkImageEncoder.cpp#newcode62 src/images/SkImageEncoder.cpp:62: bm.setImmutable(); On 2015/12/07 15:15:36, Hal Canary wrote: > On ...
5 years ago (2015-12-07 15:28:29 UTC) #17
hal.canary
On 2015/12/07 at 15:28:29, reed wrote: > https://codereview.chromium.org/1501303002/diff/20001/src/images/SkImageEncoder.cpp > File src/images/SkImageEncoder.cpp (right): > > https://codereview.chromium.org/1501303002/diff/20001/src/images/SkImageEncoder.cpp#newcode62 ...
5 years ago (2015-12-07 15:43:04 UTC) #19
hal.canary
On 2015/12/07 at 15:15:31, Hal Canary wrote: > On 2015/12/07 at 15:01:28, reed wrote: > ...
5 years ago (2015-12-07 15:43:40 UTC) #20
scroggo
lgtm https://codereview.chromium.org/1501303002/diff/60001/include/core/SkPixelSerializer.h File include/core/SkPixelSerializer.h (right): https://codereview.chromium.org/1501303002/diff/60001/include/core/SkPixelSerializer.h#newcode35 include/core/SkPixelSerializer.h:35: SkData* encodePixels(const SkImageInfo& info, const void* pixels, size_t ...
5 years ago (2015-12-07 15:57:07 UTC) #21
reed1
api lgtm
5 years ago (2015-12-07 15:57:38 UTC) #22
hal.canary
https://codereview.chromium.org/1501303002/diff/60001/include/core/SkPixelSerializer.h File include/core/SkPixelSerializer.h (right): https://codereview.chromium.org/1501303002/diff/60001/include/core/SkPixelSerializer.h#newcode35 include/core/SkPixelSerializer.h:35: SkData* encodePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes) ...
5 years ago (2015-12-07 20:25:01 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1501303002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1501303002/80001
5 years ago (2015-12-07 20:25:17 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-07 20:37:21 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1501303002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1501303002/80001
5 years ago (2015-12-07 20:41:50 UTC) #31
commit-bot: I haz the power
5 years ago (2015-12-07 20:42:27 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/6b28017781b47ebd9c9c3f3a52561f05702d5e8a

Powered by Google App Engine
This is Rietveld 408576698