diff options
author | 2015-08-06 08:17:16 -0700 | |
---|---|---|
committer | 2015-08-06 08:17:16 -0700 | |
commit | b6394746ff546a9c60d68e3be162cb38feffa803 (patch) | |
tree | 0f9be15fea6e6280df426e6e09d201e16459a0e5 /src/opts/SkOpts_neon.cpp | |
parent | d0cf9d831f7f4c98d48f52e6850db4ade1dd9422 (diff) |
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
Diffstat (limited to 'src/opts/SkOpts_neon.cpp')
-rw-r--r-- | src/opts/SkOpts_neon.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opts/SkOpts_neon.cpp b/src/opts/SkOpts_neon.cpp index f75dc7c55c..bc3ca3e641 100644 --- a/src/opts/SkOpts_neon.cpp +++ b/src/opts/SkOpts_neon.cpp @@ -11,6 +11,7 @@ #include "SkBlurImageFilter_opts.h" #include "SkFloatingPoint_opts.h" #include "SkMorphologyImageFilter_opts.h" +#include "SkTextureCompressor_opts.h" #include "SkUtils_opts.h" #include "SkXfermode_opts.h" @@ -29,5 +30,8 @@ namespace SkOpts { dilate_y = neon::dilate_y; erode_x = neon::erode_x; erode_y = neon::erode_y; + + texture_compressor = neon::texture_compressor; + fill_block_dimensions = neon::fill_block_dimensions; } } |