skia2/gyp
commit-bot@chromium.org 64f6d15451 Use SkAtomics_sync on Android
Every doc I've found about using Android's atomics says, "stop".

"* A handful of basic atomic operations.  The appropriate pthread
 * functions should be used instead of these whenever possible."

"... we recommend stopping from using these functions entirely. Very fortunately, GCC provides handy intrinsics functions that work with very reasonable performance and always provide a full barrier."

As far as I can tell, there's no code generation change here: both the __sync atomics and the android_ atomics use full memory barriers.  (And now with this all unified, it'll be easier to get the real wins by switching everything to __atomic atomics, which are like __sync atomics but allow control over memory barriers.)

BUG=skia:
R=bungeman@google.com, djsollen@google.com, mtklein@google.com, reed@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/305593002

git-svn-id: http://skia.googlecode.com/svn/trunk@14896 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-27 15:55:35 +00:00
..
android_deps.gyp Reland "Gyp file changes for the android framework." 2014-02-05 16:35:12 +00:00
android_framework_lib.gyp Updates to gyp files for building Android.mk 2014-02-28 16:07:39 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Revert of Roll ANGLE. (https://codereview.chromium.org/237173002/) 2014-05-01 20:20:50 +00:00
animator.gyp rename SkPaintParts.* to SkPaintPart.* 2014-04-18 15:14:25 +00:00
apptype_console.gypi Generate tests/Android.mk from gyp 2014-04-28 16:00:30 +00:00
bench.gyp Generate bench/Android.mk from gyp. 2014-05-16 13:15:41 +00:00
bench.gypi Add Memcpy32 bench. 2014-05-20 14:54:04 +00:00
chromeos_deps.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
common_conditions.gypi Use SkAtomics_sync on Android 2014-05-27 15:55:35 +00:00
common_variables.gypi Disable poppler on Windows since it no longer compiles in VS2013 2014-05-16 16:35:48 +00:00
common.gypi Deprecate SaveFlags use in the public SkCanvas API. 2014-04-24 21:51:58 +00:00
core.gyp Use SkAtomics_sync on Android 2014-05-27 15:55:35 +00:00
core.gypi Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
debugger.gyp Small tweaks to be able to build everything target: 2014-01-08 21:16:14 +00:00
dm.gyp Generate Android.mk for DM. 2014-05-16 18:11:51 +00:00
effects.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
effects.gypi remove reference to (deleted) SkKernel33MaskFilter 2014-05-14 17:42:42 +00:00
etc1.gyp Simple PKM image decoder. 2014-05-22 18:40:29 +00:00
everything.gyp First pass at a web app that lets you run Skia code and see the results. 2014-03-11 22:57:50 +00:00
experimental.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
FileReaderApp.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
flags.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
freetype.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
freetype.gypi Sanitizing source files in Housekeeper-Nightly 2013-08-21 07:01:29 +00:00
giflib.gyp Sanitizing source files in Housekeeper-Nightly 2014-02-25 03:05:18 +00:00
gm.gyp Since we're only using it on Linux now, just require poppler as a system dependency. 2014-05-20 15:07:53 +00:00
gmslides.gypi Simple PKM image decoder. 2014-05-22 18:40:29 +00:00
gpu.gyp Enable use of distance fields via SkPaint flag. 2014-03-11 17:07:15 +00:00
gpu.gypi Add Dashing gpu effect for simple dashed lines 2014-05-19 14:32:49 +00:00
gputest.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
images.gyp Move SkDecodingImageGenerator.h to include/ 2014-05-27 14:59:47 +00:00
jsoncpp.gyp Generate bench/Android.mk from gyp. 2014-05-16 13:15:41 +00:00
libjpeg.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
libpng.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
libwebp.gyp Fix warnings on Ubuntu13 2014-02-21 20:11:42 +00:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
most.gyp remove bit rotted gyp from most 2014-05-22 20:09:05 +00:00
nacl.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
opts.gyp Revert "Temporarily disable NEON on Android framework builds." 2014-05-22 13:42:34 +00:00
pathops_unittest.gyp When solving the cubic line intersection directly fails, use binary search as a fallback. 2014-05-07 15:31:40 +00:00
pathops_unittest.gypi path ops work in progress 2013-10-02 14:49:34 +00:00
pathops.gypi path ops work in progress 2013-09-16 15:55:01 +00:00
pdf.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
pdf.gypi Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
pdfviewer_lib.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
pdfviewer.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
pixman_test.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
poppler.gyp Since we're only using it on Linux now, just require poppler as a system dependency. 2014-05-20 15:07:53 +00:00
ports.gyp Use SkAtomics_sync on Android 2014-05-27 15:55:35 +00:00
public_headers.gypi Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
record.gyp Start using type traits in src/record instead of macros. 2014-04-28 16:19:45 +00:00
record.gypi Add a .gypi to insulate Chrome from refactorings in src/record. 2014-04-21 17:08:19 +00:00
SampleApp.gyp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
sfnt.gyp Add missing sfnt header files to gyp. 2014-05-09 14:08:28 +00:00
shapeops_demo.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
shapeops_edge.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
shapeops_tool.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SimpleCocoaApp.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SimpleiOSApp.gyp get iOS building again 2014-04-05 01:13:43 +00:00
skflate.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
skia_for_chromium_defines.gypi remove SK_SUPPORT_LEGACY_BUILDMIPMAP 2014-05-27 00:23:36 +00:00
skia_lib.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
svg.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
tests.gyp Generate tests/Android.mk from gyp 2014-04-28 16:00:30 +00:00
tests.gypi Add pattern matchers for SkRecord 2014-05-05 21:59:52 +00:00
tools.gyp Factor out DumpRecord method from dump_record tool for later use 2014-05-15 16:10:37 +00:00
utils.gyp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
v8.gyp Factor out a BaseContext from JsContext. 2014-03-04 20:44:32 +00:00
views_animated.gyp Remove dependency of views on angle 2014-04-29 00:38:39 +00:00
views.gyp Remove dependency of views on angle 2014-04-29 00:38:39 +00:00
webtry.gyp Add pathops and capture stderr so we can get SkDebugf output. 2014-04-28 14:56:32 +00:00
xml.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
xps.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
zlib.gyp Fix valgrind bot errors introduced in f84722e477. 2014-02-25 18:01:37 +00:00