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

Issue 1874403003: Tweak libpng encoding parameters to increase speed on very large images.

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tweak libpng encoding parameters to increase speed on very large images. Trades off speed for size. If someone's using fast encoding, they probably don't really care about optimizing for size anyway. BUG=none

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Tweaks and improve perf tests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -2 lines) Patch
M content/browser/renderer_host/clipboard_message_filter.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/gfx/BUILD.gn View 1 1 chunk +17 lines, -0 lines 1 comment Download
M ui/gfx/codec/DEPS View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/gfx/codec/png_codec.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/gfx/codec/png_codec.cc View 1 2 2 chunks +10 lines, -0 lines 1 comment Download
A ui/gfx/codec/png_codec_perftest.cc View 1 2 1 chunk +113 lines, -0 lines 0 comments Download
M ui/gfx/codec/png_codec_unittest.cc View 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
dcheng
Initial patch for comments. +kinuko for //content +erg for //ui/gfx/codec +danakj for new dependency on ...
4 years, 8 months ago (2016-04-22 01:14:01 UTC) #3
kinuko
//content change lgtm (but if others are happy with the actual PNG encoding change)
4 years, 8 months ago (2016-04-22 01:38:19 UTC) #4
danakj
https://codereview.chromium.org/1874403003/diff/40001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/1874403003/diff/40001/ui/gfx/BUILD.gn#newcode702 ui/gfx/BUILD.gn:702: "//cc", Hmmm, I wish that LapTimer was in cc:test_support, ...
4 years, 8 months ago (2016-04-22 20:29:46 UTC) #5
Elliot Glaysher
4 years, 8 months ago (2016-04-25 19:06:16 UTC) #6
I'd be a bit surprised if this is a net win. I wonder how *other* apps that
aren't chrome deal with large, uncompressed PNGs, and if there are any latent
bugs there.

Powered by Google App Engine
This is Rietveld 408576698