skia2/gyp
mtklein c9adb05b64 Refactor Sk2x<T> + Sk4x<T> into SkNf<N,T> and SkNi<N,T>
The primary feature this delivers is SkNf and SkNd for arbitrary power-of-two N.  Non-specialized types or types larger than 128 bits should now Just Work (and we can drop in a specialization to make them faster).  Sk4s is now just a typedef for SkNf<4, SkScalar>; Sk4d is SkNf<4, double>, Sk2f SkNf<2, float>, etc.

This also makes implementing new specializations easier and more encapsulated.  We're now using template specialization, which means the specialized versions don't have to leak out so much from SkNx_sse.h  and SkNx_neon.h.

This design leaves us room to grow up, e.g to SkNf<8, SkScalar> == Sk8s, and to grown down too, to things like SkNi<8, uint16_t> == Sk8h.

To simplify things, I've stripped away most APIs (swizzles, casts, reinterpret_casts) that no one's using yet.  I will happily add them back if they seem useful.

You shouldn't feel bad about using any of the typedef Sk4s, Sk4f, Sk4d, Sk2s, Sk2f, Sk2d, Sk4i, etc.  Here's how you should feel:
  - Sk4f, Sk4s, Sk2d: feel awesome
  - Sk2f, Sk2s, Sk4d: feel pretty good

No public API changes.
TBR=reed@google.com

BUG=skia:3592

Review URL: https://codereview.chromium.org/1048593002
2015-03-30 10:50:27 -07:00
..
android_deps.gyp WIP: Added support for giflib, updated jpeg and png 2015-03-30 07:52:52 -07:00
android_framework_lib.gyp Make android framework depend on SkCodec. 2015-03-20 11:20:03 -07:00
android_output.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
android_system.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
angle.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
animator.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
apptype_console.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
bench.gyp Android HWUI backend Nanobench 2015-03-26 11:28:06 -07:00
bench.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
canvas_state_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
codec.gyp SkCodec: add wbmp class 2015-03-27 12:16:53 -07:00
common_conditions.gypi Use a wrapper for SkDebugf in SkCodec. 2015-03-26 07:15:55 -07:00
common_variables.gypi WIP: Added support for giflib, updated jpeg and png 2015-03-30 07:52:52 -07:00
common.gypi flip stroke to chrome compatible define 2015-02-24 06:02:06 -08:00
core.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
core.gypi cumulative pathops patch 2015-03-26 07:52:43 -07:00
debugger.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
dm.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
dm.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
effects.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
effects.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
etc1.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
everything.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
example.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
experimental.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
FileReaderApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
flags.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
freetype.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
freetype.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
giflib.gyp WIP: Added support for giflib, updated jpeg and png 2015-03-30 07:52:52 -07:00
gmslides.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
gpu.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
gpu.gypi Add support for using alternative backends (like DirectX) when creating a GrGpu. 2015-03-26 09:09:41 -07:00
gputest.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
images.gyp WIP: Added support for giflib, updated jpeg and png 2015-03-30 07:52:52 -07:00
iOSShell.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
jsoncpp.gyp Roll jsoncpp, drop dependency on Chromium overrides. 2014-08-19 07:21:00 -07:00
ktx.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
libjpeg.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
libpng.gyp Add SkCodec, including PNG implementation. 2015-03-03 08:59:20 -08:00
libwebp.gyp Build in C++11 mode on Macs. 2015-02-03 13:24:36 -08:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
most.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
nacl.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
nanomsg.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
opts.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
opts.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pathops_skpclip.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pathops_unittest.gyp cumulative pathops patch 2015-03-26 07:52:43 -07:00
pathops_unittest.gypi cumulative pathops patch 2015-03-26 07:52:43 -07:00
pdf.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pdf.gypi SkPDF SkPDFObject::addResources signature simplified 2015-03-25 13:23:13 -07:00
pdfviewer_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
pdfviewer.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
ports.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
SampleApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
sfnt.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
SimpleCocoaApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
SimpleiOSApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skflate.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_for_android_framework_defines.gypi remove unneeded flags 2015-03-16 13:55:48 -07:00
skia_for_chromium_defines.gypi Option for SkCodec to treat dst as all zeroes. 2015-03-17 05:02:17 -07:00
skia_launcher.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
svg.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
tests.gypi Refactor Sk2x<T> + Sk4x<T> into SkNf<N,T> and SkNi<N,T> 2015-03-30 10:50:27 -07:00
tools.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
utils.gyp Move HWUI boilerplate into utils/android 2015-03-27 12:22:01 -07:00
utils.gypi Add a paint filter utility canvas (SkPaintFilterCanvas) 2015-03-26 07:24:48 -07:00
v8.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views_animated.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xml.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xps.gyp Remove sfnt dependency from xps gyp tartget. 2015-03-25 14:48:05 -07:00
zlib.gyp Revert of For consistency, use our homebrew zlib everywhere possible. (patchset #6 id:100001 of https://codereview.chromium.org/971673005/) 2015-03-07 07:47:51 -08:00