GN: turn on libpng SSE2 filters
authorMike Klein <mtklein@chromium.org>
Mon, 7 Nov 2016 21:56:53 +0000 (16:56 -0500)
committerMike Klein <mtklein@chromium.org>
Mon, 7 Nov 2016 22:36:42 +0000 (22:36 +0000)
commitd23341bb5e7c231680d0c6ce1a3539a3992ddf5e
tree3037a9774ed90b0f56f3de0febf94166dab7f2d1
parent7d7d7d19462b75f5470492dc4820a02c1eba4af2
GN: turn on libpng SSE2 filters

I was profiling and remembered GN hasn't turned on much CPU-specific code.  I looked at zlib, then libpng, then libjpeg-turbo:

  - zlib was easy but not useful.  No routine we use in decoding changes significantly.
  - libpng was easy and useful, and we were already using NEON filters on ARM.
  - libjpeg-turbo requires yasm and is annoying.

BUG=skia:5875

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4531

Change-Id: Ie072a457da41ee6538eebacb5eb5dbe5a6eb585e
Reviewed-on: https://skia-review.googlesource.com/4531
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Matt Sarett <msarett@google.com>
third_party/libpng/BUILD.gn