Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Reland "Stack-allocate pipelines for GrMeshDrawOp" 2019-02-26 23:32:54 +00:00
bin tools: bin/sync just alias for git-sync-deps now 2019-02-22 20:05:05 +00:00
dm add gbr --config 2019-02-19 15:23:42 +00:00
docker Build code size treemaps for skottie_tool 2019-02-12 13:54:00 +00:00
docs remove mention of SkPaintDefaults_Flags 2019-02-26 22:54:24 +00:00
example drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
experimental update canvaskit docs to new API 2019-02-27 16:30:29 +00:00
fuzz Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
gm Revert "Add general quad API to SkGpuDevice" 2019-02-27 19:42:31 +00:00
gn gn/core.gni: add headers 2019-02-26 16:39:05 +00:00
include specialize if_then_else(int4,float4,float4) 2019-02-27 20:12:20 +00:00
infra [recipes] Plumb task ID through to DM results 2019-02-27 18:24:00 +00:00
modules Particles: Improvements to SkCurve 2019-02-27 16:46:29 +00:00
platform_tools SkQP: android.support.test -> androidx.test 2019-02-18 17:50:38 +00:00
resources Particles: Improvements to SkCurve 2019-02-27 16:46:29 +00:00
samplecode Remove fuzz samples. 2019-02-25 16:55:26 +00:00
site update canvaskit docs to new API 2019-02-27 16:30:29 +00:00
src Revert "Add general quad API to SkGpuDevice" 2019-02-27 19:42:31 +00:00
tests specialize if_then_else(int4,float4,float4) 2019-02-27 20:12:20 +00:00
third_party Allow system harfbuzz. 2019-02-23 12:14:30 +00:00
tools Particles: Improvements to SkCurve 2019-02-27 16:46:29 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS [Viewer] Set the current slide first before attaching the fBackendType to fWindow. 2019-02-26 14:21:55 +00:00
BUILD.gn Reland "Treat kWEBP encode with quality=100 as lossless" 2019-02-25 18:42:22 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/swiftshader 5edafb5ac109..928dfeed1796 (2 commits) 2019-02-27 18:24:30 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py [presubmit] Remove pylint check 2019-01-14 13:47:51 +00:00
public.bzl SkShaper/public.bzl fix 2019-02-22 20:57:07 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.