Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Adds angle to bench expectation configs. 2014-05-23 13:05:33 +00:00
debugger Sanitizing source files in Housekeeper-Nightly 2014-05-20 03:05:34 +00:00
dm Fix windows build. 2014-05-16 18:27:11 +00:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations rebaseline simpleblurroundrect 2014-05-27 15:28:03 +00:00
experimental fix bench rebase tool to cope with wider range of bots. 2014-05-23 15:31:02 +00:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm hide discardable factory from public imagegenerator api 2014-05-27 14:14:22 +00:00
gyp Use SkAtomics_sync on Android 2014-05-27 15:55:35 +00:00
include Use SkAtomics_sync on Android 2014-05-27 15:55:35 +00:00
platform_tools If our gyp does not exist, use chromium's. 2014-05-22 19:30:54 +00:00
resources Add pkm missing from r14852 (Simple PKM image decoder - https://codereview.chromium.org/292663011/) commit 2014-05-22 21:29:20 +00:00
samplecode hide discardable factory from public imagegenerator api 2014-05-27 14:14:22 +00:00
src Use SkAtomics_sync on Android 2014-05-27 15:55:35 +00:00
tests hide discardable factory from public imagegenerator api 2014-05-27 14:14:22 +00:00
third_party Simple PKM image decoder. 2014-05-22 18:40:29 +00:00
tools hide discardable factory from public imagegenerator api 2014-05-27 14:14:22 +00:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore BugChomper: Get the oauth_client_secret from GS 2014-05-13 19:18:55 +00:00
AUTHORS Fixed Skia compilation error with strict clang. 2014-04-07 13:12:47 +00:00
codereview.settings Add BUG_PREFIX to codereview.settings 2014-01-14 21:19:21 +00:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Adds kelvinly@google.com to CQ_COMMITTERS 2014-05-13 17:33:56 +00:00
DEPS Since we're only using it on Linux now, just require poppler as a system dependency. 2014-05-20 15:07:53 +00:00
Doxyfile delete no-longer-used update-doxygen.sh 2014-05-15 14:41:00 +00:00
gyp_skia Add a dry-run option to gyp_skia. 2014-05-09 15:04:18 +00:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Make make.bat and gyp_skia work with VS 2012. 2013-05-07 19:31:20 +00:00
make.py Don't try to remove xcodebuild directory on Windows. 2014-05-22 15:54:05 +00:00
Makefile simplify tools/xsan_build now that make runs ninja 2014-04-24 18:16:13 +00:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Check if the issue owner is in the AUTHORS file in PRESUBMIT.py 2014-02-03 14:18:32 +00:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
whitespace.txt Whitespace change to test skia CQ. 2014-05-06 15:20:53 +00:00

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

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home