Port SkTextureCompression opts to SkOpts
authormtklein <mtklein@chromium.org>
Thu, 6 Aug 2015 15:17:16 +0000 (08:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Aug 2015 15:17:16 +0000 (08:17 -0700)
commitb6394746ff546a9c60d68e3be162cb38feffa803
tree0f9be15fea6e6280df426e6e09d201e16459a0e5
parentd0cf9d831f7f4c98d48f52e6850db4ade1dd9422
Port SkTextureCompression opts to SkOpts

Pretty vanilla translation.  I cleaned up who calls whom a little.
Used to be utils -> opts -> utils, now it's just utils -> opts.

I may follow up with a pass over the NEON code for readability
and to clean up dead code.

This turns on NEON A8->R11EAC conversion for ARMv8.
Unit tests which now hit the NEON code still pass.
I can't find any related bench.

BUG=skia:4117

Review URL: https://codereview.chromium.org/1273103002
13 files changed:
gyp/opts.gyp
gyp/opts.gypi
src/core/SkOpts.cpp
src/core/SkOpts.h
src/opts/SkOpts_neon.cpp
src/opts/SkTextureCompression_opts.h [deleted file]
src/opts/SkTextureCompression_opts_arm.cpp [deleted file]
src/opts/SkTextureCompression_opts_neon.cpp [deleted file]
src/opts/SkTextureCompression_opts_neon.h [deleted file]
src/opts/SkTextureCompression_opts_none.cpp [deleted file]
src/opts/SkTextureCompressor_opts.h [new file with mode: 0644]
src/utils/SkTextureCompressor.cpp
src/utils/SkTextureCompressor.h