Go to file
Mike Klein 1e76464f87 Wrap SkNx types in anonymous namespace again.
This should make each compilation unit's SkNx types distinct from each other's as far as C++ cares.  This keeps us from violating the One Definition Rule with different implementations for the same function.

Here's an example I like.  Sk4i SkNx_cast(Sk4b) has at least 4 different sensible implementations:
     - SSE2:   punpcklbw xmm, zero; punpcklbw xmm, zero
     - SSSE3:  load mask; pshufb xmm, mask
     - SSE4.1: pmovzxbd
     - AVX2:  vpmovzxbd

We really want all these to inline, but if for some reason they don't (Debug build, poor inliner) and they're compiled in SkOpts.cpp, SkOpts_ssse3.cpp, SkOpts_sse41.cpp, SkOpts_hsw.cpp... boom!

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3461

Change-Id: I0088ebfd7640c1b0de989738ed43c81b530dc0d9
Reviewed-on: https://skia-review.googlesource.com/3461
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2016-10-14 21:57:50 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Removed makeLinearGamma() from the public API for SkColorSpace 2016-10-13 10:45:44 -07:00
bin bin/coverage: a GN version of the coverage script 2016-09-26 10:30:39 -07:00
cmake There are no more cmake bots, so clean up their old scripts. 2016-09-30 22:19:20 +00:00
debugger Remove some ancillary users of SkSurface::MakeRenderTargetDirect 2016-08-01 05:53:23 -07:00
dm remove SkError 2016-10-13 19:55:43 +00:00
example simplify composing raster surface into window 2016-09-29 19:58:04 +00:00
experimental experimental: xps_to_png program (windows only) 2016-10-14 13:27:55 +00:00
fuzz Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
gm Slightly generalize GPU hard stop gradient implementation. 2016-10-13 20:30:20 +00:00
gn GN/Win: quieter builds 2016-10-13 18:55:00 +00:00
gyp Move skdiff tool and add to gn build. 2016-10-14 14:02:42 +00:00
include Always use RGBA textures for color font atlases 2016-10-14 16:34:51 +00:00
infra GN/Win: Vulkan support, convert -Vulkan bots. 2016-10-14 20:45:28 +00:00
platform_tools Add mips dsp arch variants to gyp_to_android.py. 2016-09-27 07:37:20 -07:00
resources GM: add test for type1 font 2016-09-20 13:11:01 -07:00
samplecode Removed makeLinearGamma() from the public API for SkColorSpace 2016-10-13 10:45:44 -07:00
site Update CQ_INCLUDE_TRYBOTS examples in docs to actually be "real world" 2016-10-14 14:23:39 +00:00
src Wrap SkNx types in anonymous namespace again. 2016-10-14 21:57:50 +00:00
tests Fix bad test that was asserting on Vulkan Win10 bot 2016-10-14 21:12:04 +00:00
third_party GN/Win: warnings and warn-as-error 2016-10-13 04:17:38 +00:00
tools Explicit control in tools of ANGLE frontend and backend 2016-10-14 08:13:48 -07:00
.gitignore Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Add contributor to Skia AUTHORS file 2016-09-01 07:55:43 -07:00
BUILD.gn GN/Win: Vulkan support, convert -Vulkan bots. 2016-10-14 20:45:28 +00:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08: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 There are no more cmake bots, so clean up their old scripts. 2016-09-30 22:19:20 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Add infra_tests.py, recipe, buildbotless bot 2016-10-14 06:32:09 -07:00
public.bzl Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07: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
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
whitespace.txt Whitespace change to kick build. 2016-10-07 10:30:01 -04:00

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

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