Go to file
Mike Klein 30ec0b3735 Simplify SkCpu.cpp preprocessor guards.
We have a couple ways to detect CPU features on ARM:
  - on ARMv8, getauxval(AT_HWCAP)
  - on ARMv7, getauxval(AT_HWCAP) and cpu-features.h

This guards each of these methods with preprocessor guards to match
exactly when we can use them.  Today they're sort of a mix of that and
higher level expectations about particular build and operating systems.

I'm looking into doing this directly by reading CPU registers,
much like we do for x86 further up the file.

None of this is super important right now, so as long as we don't decide
that we have these features when we don't, things will be fine.  It's no
big deal for now if we fail to detect them.

Change-Id: I3b7768483086d0f3f4f6516b754c3ea5ec2d03e5
Reviewed-on: https://skia-review.googlesource.com/8182
Reviewed-by: Chinmay Garde <chinmaygarde@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-02-08 20:25:45 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove double free in GM and Bench. 2017-02-08 17:14:39 +00:00
bin Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
experimental Use SkArenaAlloc in the SkAutoBlitterChoose code. 2017-02-07 20:01:20 +00:00
fuzz Remove SkColorCubeFilter. It is unused. 2017-01-21 15:09:31 +00:00
gm Remove double free in GM and Bench. 2017-02-08 17:14:39 +00:00
gn SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
include Remove exec bit from source files. 2017-02-08 20:21:18 +00:00
infra Reland "Respect canvas size and frame offset in webp decoder" 2017-02-07 22:40:13 +00:00
platform_tools Set IOS_BUNDLE_ID in recipes. 2017-02-06 20:56:36 +00:00
resources Reland "Respect canvas size and frame offset in webp decoder" 2017-02-07 22:40:13 +00:00
samplecode Tweak shadow sample for demos. 2017-02-08 19:37:01 +00:00
site Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
src Simplify SkCpu.cpp preprocessor guards. 2017-02-08 20:25:45 +00:00
tests Revert "Revert "Disallow readPixels() conversions from untagged srcs to tagged dsts"" 2017-02-08 14:49:00 +00:00
third_party harfbuzz 1.3.0 → 1.4.2 2017-02-07 16:01:57 +00:00
tools Update valgrind suppressions 2017-02-08 18:44:35 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix typo in GrGLCaps 2016-11-18 23:20:51 +00:00
BUILD.gn Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +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 harfbuzz 1.3.0 → 1.4.2 2017-02-07 16:01:57 +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 root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
public.bzl Omit new test from Bazel ASAN. 2017-01-30 04:05:13 +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 Fix whitespace.txt 2017-02-08 16:50:40 +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.