Go to file
mtklein 86821b5670 SkTRacy<T> -> SkAtomic<T>
Like SkTRacy<T>, TSAN will not complain about these.  Unlike SkTRacy<T>, TSAN
should not complain about these: SkAtomic<T> are threadsafe.

This should fix the races now suppressed in TSAN.  As written, the memory
barriers we're using in SkPixelRef will be dumb but safe (really, dumbest
possible but safest possible).  If we see a perf hit, we can follow up by
putting Ben and I in a room for a while, thinking about it really hard, and
using the minimum-strength safe memory barriers.

A refactor that steals a bit from the genID would also still be possible with
this approach.

BUG=chromium:437511

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

Review URL: https://codereview.chromium.org/955803002
2015-02-24 14:38:12 -08:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Notify resource caches when pixelref genID goes stale 2015-02-24 13:54:23 -08:00
bin Add a script to fetch the latest SKPs. 2015-01-28 09:39:10 -08:00
debugger Remove SkPictureFlat.h include from SkDrawCommands.h 2015-02-13 11:13:00 -08:00
dm Add HWUI Sink to DM on Android Framework builds 2015-02-23 12:18:05 -08:00
docs Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
example move HelloWorld to be a peer of SampleApp 2015-02-02 12:55:14 -08:00
experimental zlib/pdf: remove HaveFlate(), depend on preprocessor defines 2015-02-17 14:43:06 -08:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm GM: showmiplevels handles bitmap memory in a nicer way. 2015-02-24 09:25:09 -08:00
gyp flip stroke to chrome compatible define 2015-02-24 06:02:06 -08:00
include SkTRacy<T> -> SkAtomic<T> 2015-02-24 14:38:12 -08:00
platform_tools Ensure that skia's test resources are properly packaged on Android 2015-02-23 12:37:32 -08:00
resources Fix append_fallback_font_families_for_locale. 2015-02-11 07:18:51 -08:00
samplecode flip stroke to chrome compatible define 2015-02-24 06:02:06 -08:00
site managing chromes use section of docs 2015-02-18 12:56:40 -08:00
src SkTRacy<T> -> SkAtomic<T> 2015-02-24 14:38:12 -08:00
tests Notify resource caches when pixelref genID goes stale 2015-02-24 13:54:23 -08:00
third_party DM warning-free on win64 2014-12-12 16:41:46 -08:00
tools Add tools/nanobench_flags.py. 2015-02-24 11:45:11 -08:00
.gitignore git: add skps to .gitignore 2015-02-13 18:57:33 -08:00
AUTHORS Fix GIF transparency. 2015-02-04 21:31:23 -08:00
codereview.settings Add Project to skia 2014-06-20 09:39:15 -07:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS add new Skia team member to committers list 2015-02-03 11:10:57 -08:00
DEPS Roll ANGLE 2015-02-23 06:57:54 -08:00
Doxyfile Fix links to skia-buildbot code in preparation for deletion 2014-10-14 04:44:44 -07:00
gyp_skia allow caller to override the default output directory for gyp 2014-09-29 11:42:25 -07: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 Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
Makefile Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py PRESUBMIT should only check owners for the top level include directory 2014-08-26 14:00:55 -07:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2015-02-22 01:11:28 -08:00
whitespace.txt whitespace 2015-02-05 13:55:34 -08:00

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

See full details, and build instructions, at https://skia.org.