skia2/include
mtklein e974c6244c Whitelist intentionally racy TRACE_EVENT reads and writes.
Chrome's tracing framework appears to be intentionally racy on its
quick-reject checks, trading some data loss for better performance
when disabled.  People will never notice the data loss, but TSAN does.
Let's assuage TSAN with some annotations.

The 'volatile' val in SK_ANNOTATE_UNPROTECTED_WRITE was making this
not compile, but that volatile doesn't really make sense there: the value we're
writing is not what we care about, it's the destination.

CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-TSAN-Trybot

No API changes.
TBR=reed

BUG=skia:

Review URL: https://codereview.chromium.org/702883002
2014-11-05 08:03:27 -08:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c Quick and dirty test to call the C interface from GO. 2014-10-31 07:11:19 -07:00
config Add SkBarriers to ports. 2014-05-29 18:24:54 +00:00
core Whitelist intentionally racy TRACE_EVENT reads and writes. 2014-11-05 08:03:27 -08:00
device/xps Revert of Revert of Fix SkTextBlob offset semantics. (patchset #1 id:1 of https://codereview.chromium.org/609223003/) 2014-09-29 06:29:53 -07:00
effects Fix bounds computation of all 0-input filters. 2014-10-29 12:36:32 -07:00
gpu Rename and clarify semantics of GrContext::resolveRenderTarget. 2014-11-03 14:28:32 -08:00
images Remove SkImageRef and related functionality. 2014-06-04 14:38:48 -04:00
pathops add pathops tight bounds; conform path ops' gyp to unit tests 2014-06-24 07:55:12 -07:00
pdf Fix image filters for PDF backend. 2014-10-20 14:03:13 -07:00
pipe "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
ports Update fontMgr to take list of bcp47 language tags. 2014-10-23 07:08:06 -07:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils Revert of Override SkCanvas::drawImage() in SkDeferredCanvas and SkGPipe (patchset #8 id:140001 of https://codereview.chromium.org/613673005/) 2014-11-04 13:21:41 -08:00
views move SkTextBox into utils 2014-11-03 14:55:40 -08:00
xml Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00