skia2/include
mtklein e72a80db3a Port SkLazyPtr to new SkAtomics.h
No algorithmic changes.  The new APIs let us avoid a few ugly trips through void*,
and I've made the consume/acquire/release decision explicitly conditioned on TSAN.

This should fix the attached bug, which is TSAN seeing us implementing the
sk_consume_load() with a relaxed load, where we used to pass __ATOMIC_CONSUME
to TSAN.  This restores us to the status quo of a couple weeks ago, where we
use relaxed loads (to avoid an extra dmb on ARM) for all setups except TSAN,
who gets the logically correct memory order, consume.

No public API changes.
TBR=reed@google.com

BUG=chromium:455606

Review URL: https://codereview.chromium.org/908943002
2015-02-09 14:47:06 -08:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c add stroke params to c api 2015-01-10 17:59:31 -08:00
config Move sync code to include/, switch from using platform define to a proxy header in core/ 2015-01-21 13:13:31 -08:00
core Port SkLazyPtr to new SkAtomics.h 2015-02-09 14:47:06 -08:00
device/xps Fix up all the easy virtual ... SK_OVERRIDE cases. 2015-01-09 10:06:40 -08:00
effects Port SkRefCnt.h to new SkAtomics.h 2015-02-03 13:38:58 -08:00
gpu Move GrXferProcessor subclasses into cpp files 2015-02-09 07:51:00 -08:00
images Make SkStream *not* ref counted. 2015-01-21 12:09:53 -08:00
pathops add pathops tight bounds; conform path ops' gyp to unit tests 2014-06-24 07:55:12 -07:00
pdf Fix up all the easy virtual ... SK_OVERRIDE cases. 2015-01-09 10:06:40 -08:00
pipe "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
ports SkAtomics: add asserts for valid memory orders. 2015-02-09 14:13:44 -08:00
svg Add SkSVGCanvas 2015-02-06 12:51:10 -08:00
utils Remove SkProxyCanvas. 2015-01-29 11:58:51 -08:00
views First cut at cleaning up Sergio's example code and moving some common code to SkWindow. 2015-01-30 12:37:02 -08:00
xml add length parameter to addText, to match attr values 2015-02-04 18:29:27 -08:00