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

Issue 1699953002: Make png filter functions compatible with libpng (Closed)

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

Description

Make png filter functions compatible with libpng We hope to upstream these functions to libpng (a C library). Let's make the code that Skia tests on look like the code that we are submitting. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1699953002 Committed: https://skia.googlesource.com/skia/+/c29cd72df2ac355201486be27c90e60b0a946e4b

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add loadX() and storeX() functions #

Total comments: 11

Patch Set 3 : Return to Skia style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -52 lines) Patch
M src/codec/SkPngFilters.cpp View 1 2 7 chunks +117 lines, -52 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
msarett
You can view the patch that I've prepared for libpng here. https://github.com/mattsarett/libpng/commits/libpng16 https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp File src/codec/SkPngFilters.cpp ...
4 years, 10 months ago (2016-02-15 19:50:20 UTC) #3
msarett
You can view the patch that I've prepared for libpng here. https://github.com/mattsarett/libpng/commits/libpng16 If this lands ...
4 years, 10 months ago (2016-02-15 19:52:15 UTC) #4
mtklein
https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp File src/codec/SkPngFilters.cpp (right): https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp#newcode29 src/codec/SkPngFilters.cpp:29: a = d; memcpy(&d, row, 3); Seems worth keeping ...
4 years, 10 months ago (2016-02-15 20:16:32 UTC) #5
mtklein
https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp File src/codec/SkPngFilters.cpp (right): https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp#newcode138 src/codec/SkPngFilters.cpp:138: #if 0 && defined(__SSE4_1__) // Make sure we have ...
4 years, 10 months ago (2016-02-15 20:27:34 UTC) #6
msarett
https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp File src/codec/SkPngFilters.cpp (right): https://codereview.chromium.org/1699953002/diff/1/src/codec/SkPngFilters.cpp#newcode29 src/codec/SkPngFilters.cpp:29: a = d; memcpy(&d, row, 3); On 2016/02/15 20:16:32, ...
4 years, 10 months ago (2016-02-16 13:42:35 UTC) #7
mtklein
I think we might want to just make this C compatible as a first step, ...
4 years, 10 months ago (2016-02-16 14:11:57 UTC) #8
msarett
Newest patch restores the old style. I probably shouldn't have just used a "whitespace fixer" ...
4 years, 10 months ago (2016-02-16 14:48:59 UTC) #11
mtklein
lgtm
4 years, 10 months ago (2016-02-16 15:28:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699953002/80001
4 years, 10 months ago (2016-02-16 15:28:43 UTC) #14
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
4 years, 10 months ago (2016-02-16 16:02:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699953002/80001
4 years, 10 months ago (2016-02-16 16:03:57 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 16:04:37 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://skia.googlesource.com/skia/+/c29cd72df2ac355201486be27c90e60b0a946e4b

Powered by Google App Engine
This is Rietveld 408576698