skia2/include
Mike Klein 41b995c4fb specialize if_then_else(int4,float4,float4)
Add SSE, SSE4.1, and NEON specializations.

The if_then_else() unit tests in SkVxTest.cpp should cover this.

I had to give up on my dream of not using Skia headers for now.  There's
really no good way of knowing whether we've got SSE4.1 support in MSVC
except when we explicitly define SK_CPU_SSE_LEVEL=SK_CPU_SSE_LEVEL_SSE41.

This refactor to use SK_CPU_SSE_LEVEL let MSVC point out a slight
ordering problem that would cause an infinite loop calling any of
the specializions like sqrt(float2).  I believe moving them after
the float4 specializations will fix that.

Change-Id: I83639f378a182716d1b37e92b6d725472698f874
Reviewed-on: https://skia-review.googlesource.com/c/195920
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-02-27 20:12:20 +00:00
..
android Allow setting an SkColorSpace on SkAnimatedImage 2019-02-22 18:58:05 +00:00
atlastext pass a font to GlyphRunBuilder 2019-01-02 21:02:33 +00:00
c expand imageinfo in C api, start on colorspace 2018-09-28 17:52:59 +00:00
codec Remove a few semicolons. 2019-02-11 14:40:37 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Revert "Add general quad API to SkGpuDevice" 2019-02-27 19:42:31 +00:00
docs SkPDF: clean up public header 2019-01-02 15:55:33 +00:00
effects Make asFragmentProcessor entry point only take a GrRecordingContext (take 2) 2019-02-16 14:07:50 +00:00
encode Remove a few semicolons. 2019-02-11 14:40:37 +00:00
gpu Pass render target VkImage in GrVkDrawableInfo 2019-02-26 17:07:30 +00:00
pathops fixup winding contours 2018-08-17 14:01:51 +00:00
ports Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +00:00
private specialize if_then_else(int4,float4,float4) 2019-02-27 20:12:20 +00:00
svg [SVGCanvas] Clean up public factories 2019-02-14 19:17:35 +00:00
third_party/vulkan Move vulkan headers from third_party to include/third_party. 2018-12-12 14:16:43 +00:00
utils Revert "Add general quad API to SkGpuDevice" 2019-02-27 19:42:31 +00:00