skia2/include/core
digit@google.com 47ebbcc7ab Use the NDK's cpu-features library when building skia for Chromium/Android.
This patch ensures that when Skia is built for Chromium, it will
always use the Android NDK's cpu-features helper library to detect
NEON at runtime.

This is needed because sandboxed Chromium renderer processes cannot
access /proc, and the probing performed in SkUtilsArm.cpp will never
work. As such, the NEON code paths will never be used even when the
device supports them.

Chromium has special code that ensures that the browser process
passes the CPU features flags to every renderer process, but
Skia needs to use android_getCpuFeatures() to get them.

See http://crbug.com/164154 for full details.
Review URL: https://codereview.appspot.com/7102045

git-svn-id: http://skia.googlecode.com/svn/trunk@7149 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-14 14:58:22 +00:00
..
Sk64.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkAdvancedTypefaceMetrics.h Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
SkAnnotation.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkBitmap.h comment-only fix 2012-12-07 15:27:27 +00:00
SkBlitRow.h Punctuation cleanup to satisfy idiosyncracies of OpenBSD gcc 4.2.1. 2012-06-01 13:15:47 +00:00
SkBounder.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkCanvas.h Update documentation around picture playback. 2013-01-02 16:59:19 +00:00
SkChecksum.h comment-only: add "this may change" warning to SkChecksum.h 2012-10-30 17:33:09 +00:00
SkChunkAlloc.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkClipStack.h Adding quickContains API method to SkClipStack 2012-12-12 17:58:15 +00:00
SkColor.h Defining new color constat for transparent color 2012-12-06 21:47:40 +00:00
SkColorFilter.h Make all colorfilter methods const, in preparation for declaring them 2012-12-17 20:21:44 +00:00
SkColorPriv.h When creating gray from lcd, use luminance instead of coverage. 2012-08-28 16:02:42 +00:00
SkColorShader.h Use asNewCustomStage instead of asABitmap in SkGpuDevice, also removed now-unecessary twoPointRadialParams parameter from asABitmap. 2012-07-25 17:18:31 +00:00
SkColorTable.h Implement multi-threaded picture playback via cloning. 2012-08-29 18:52:07 +00:00
SkComposeShader.h reland 6798 w/ fix for bitmap-as-mask pixel-locking 2012-12-13 22:16:30 +00:00
SkData.h update dox 2012-11-28 21:28:57 +00:00
SkDataSet.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkDeque.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkDevice.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-10-11 02:01:14 +00:00
SkDither.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkDraw.h change SkMaskFilter methods to const, in preparation for making the class as 2012-12-18 19:18:39 +00:00
SkDrawFilter.h change SkDrawFilter::filter to return a bool, where false means don't-draw 2012-11-26 20:26:54 +00:00
SkDrawLooper.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkEmptyShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkEndian.h Open type table definitions. 2012-02-02 19:15:21 +00:00
SkFixed.h first cut at making iOS work 2012-09-20 15:45:41 +00:00
SkFlate.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkFlattenable.h Make flattenables no longer depend on global static initializers. 2012-09-21 17:54:46 +00:00
SkFlattenableBuffers.h Add the ability to provide function pointers to SkPicture serialization 2012-10-04 21:46:08 +00:00
SkFloatBits.h remove SK_CAN_USE_FLOAT (deprecated) 2012-06-11 21:21:26 +00:00
SkFloatingPoint.h Enable warnings-as-errors on Windows. 2013-01-08 20:31:53 +00:00
SkFontHost.h Fonts with cubic outlines are rendered without ClearType by GDI. 2012-10-12 18:48:35 +00:00
SkGeometry.h Add perspective support to the gpu aa hairline renderer. 2011-09-12 14:59:34 +00:00
SkGraphics.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkImage.h remove unused (and undefined) SkColorSpace parameter. 2012-11-15 02:37:45 +00:00
SkImageFilter.h Rename onFilterImageGPU to filterImageGPU(), to match skia convention. No change in functionality. 2013-01-10 19:55:18 +00:00
SkInstCnt.h "fix" chrome build 2012-09-25 00:39:51 +00:00
SkLineClipper.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkMallocPixelRef.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkMask.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkMaskFilter.h change SkMaskFilter methods to const, in preparation for making the class as 2012-12-18 19:18:39 +00:00
SkMath.h first cut at making iOS work 2012-09-20 15:45:41 +00:00
SkMatrix.h Some improvements to reduce the number of pixels touched in generating alpha clip masks 2012-11-07 16:17:24 +00:00
SkMetaData.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkMMapStream.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkOSFile.h Add option to gm: write out images into a hierarchy, rather than a flat set of files 2012-10-29 16:42:11 +00:00
SkPackBits.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkPaint.h re-apply 5508, but with the new compile-flag disabled for now 2012-09-12 21:08:33 +00:00
SkPath.h Add RRect GM 2012-12-17 21:48:19 +00:00
SkPathEffect.h change all patheffect methods to const, in preparation for marking its 2012-12-18 16:12:09 +00:00
SkPathMeasure.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkPicture.h revert 6766, thereby re-landing 6762-6763 now that the bots are ready 2012-12-12 20:48:18 +00:00
SkPixelRef.h add per-draw checks for lockcounts 2012-12-14 13:13:55 +00:00
SkPoint.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkPostConfig.h Fix warnings about unused function on Mac. 2013-01-02 20:33:18 +00:00
SkPreConfig.h Use the NDK's cpu-features library when building skia for Chromium/Android. 2013-01-14 14:58:22 +00:00
SkRandom.h Make the clip stack reduction test generate inverse filled paths. 2012-11-27 15:43:57 +00:00
SkRasterizer.h change all interfaces for SkRasterizer to const, in preparation for marking it 2012-12-18 16:57:03 +00:00
SkReader32.h revert 6766, thereby re-landing 6762-6763 now that the bots are ready 2012-12-12 20:48:18 +00:00
SkRect.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-11-09 02:01:24 +00:00
SkRefCnt.h re-add SkRefPtr to SkRefCnt.h until all uses of it have been removed from Chrome 2013-01-07 00:58:00 +00:00
SkRegion.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkRRect.h add SkRRect::inset(), which mimics stroking 2012-12-23 23:11:21 +00:00
SkScalar.h Enable warnings-as-errors on Windows. 2013-01-08 20:31:53 +00:00
SkScalarCompare.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkSerializationHelpers.h Add the ability to provide function pointers to SkPicture serialization 2012-10-04 21:46:08 +00:00
SkShader.h Fix r6808 fix & some compiler warnings 2012-12-14 13:55:06 +00:00
SkSize.h must always include another skia header (unless you're SkTypes.h). In this case, 2012-11-26 20:18:00 +00:00
SkStream.h Ensure that SkMemoryStream does not crash dereferencing fData. 2013-01-09 22:02:58 +00:00
SkString.h Add option to gm: write out images into a hierarchy, rather than a flat set of files 2012-10-29 16:42:11 +00:00
SkStrokeRec.h Follow up on the previous patch : 2012-12-17 21:16:45 +00:00
SkSurface.h remove unused (and undefined) SkColorSpace parameter. 2012-11-15 02:37:45 +00:00
SkTArray.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkTDArray.h Remove GrTDArray. 2013-01-07 17:23:00 +00:00
SkTDict.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTDStack.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTemplates.h GDI fonthost to serialize using correct font name. 2012-10-31 20:53:49 +00:00
SkThread_platform.h Add a skia method to perform an atomic add. 2012-07-16 16:51:28 +00:00
SkThread.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkTileGridPicture.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-14 02:02:06 +00:00
SkTime.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTInternalLList.h Fix compiler error in SkTInternalList.h 2012-12-03 23:34:32 +00:00
SkTLazy.h Modifications to GrPatherRenderer(Chain) interfaces to support clip mask manager. 2012-12-10 19:10:17 +00:00
SkTrace.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTRegistry.h Update files to use SK_BUILD_FOR_ANDROID. 2011-11-08 19:00:26 +00:00
SkTScopedPtr.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTSearch.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkTypeface.h Fonts with cubic outlines are rendered without ClearType by GDI. 2012-10-12 18:48:35 +00:00
SkTypes.h fix warings. add SkTAbs() 2013-01-08 13:23:32 +00:00
SkUnitMapper.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkUnPreMultiply.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
SkUtils.h Add ARM optimizations to the build. 2012-01-09 14:38:25 +00:00
SkWeakRefCnt.h more SkInstCnt plumbing 2012-06-26 17:55:30 +00:00
SkWriter32.h fix compiler warnings: 2012-12-24 13:56:17 +00:00
SkXfermode.h Mark all methods on SkXfermode as const, in preparation for declaring all 2012-12-17 19:55:24 +00:00