Go to file
mtklein 0b544ae222 Add SkRacy
SkRacy<T> is a zero-overhead wrapper for a T, except it also
silences race warnings when TSAN is running.

Here we apply in several classes.  In SkMatrix and SkPathRef,
we use it to opportunistically cache some idempotent work.

In SkPixelRef, we wrap the genIDs.  We think the worst that
can happen here is we'll increment the global next-genID a
few times instead of once when we go to get another ID.

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/d5e3e6ae1b3434ad1158f441902ff65f1eeaa3a7

CQ_EXTRA_TRYBOTS=tryserver.skia:Canary-Chrome-Ubuntu13.10-Ninja-x86_64-ToT-Trybot,Canary-Chrome-Win7-Ninja-x86-SharedLib_ToT-Trybot,Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-TSAN-Trybot
R=reed@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/371363004
2014-07-08 19:37:47 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench gpu and cpu flags for gm and bench. 2014-07-07 10:46:59 -07:00
debugger Fixed up SkTimedPicturePlayback 2014-07-08 13:07:57 -07:00
dm Turn on threaded DMQuiltTask drawing for old-format SkPictures too. 2014-07-07 16:17:36 -07:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations manual bench rebase after d3f3e58, adjusted with a26bbb95a6 2014-07-08 16:05:39 -07:00
experimental bench rebase tool: add ability to specify a second CL for fluctuating data adjustment. 2014-07-08 14:36:56 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Goodbye GrEffectRef. 2014-07-08 09:56:11 -07:00
gyp Add SkRacy 2014-07-08 19:37:47 -07:00
include Add SkRacy 2014-07-08 19:37:47 -07:00
platform_tools Add missing / in android_gdbserver 2014-07-08 12:29:54 -07:00
resources Adding resource files 2014-06-02 15:18:27 -04:00
samplecode Cleanup usage of GetResourcePath() after commit bcbc1788b4. 2014-07-01 12:35:49 -07:00
src Add SkRacy 2014-07-08 19:37:47 -07:00
tests Cleanup: Rename UnitTestTest.cpp to RTConfRegistryTest.cpp 2014-07-08 10:33:28 -07:00
third_party hide SkBitmap::Config entirely (behind a flag) 2014-06-17 08:38:31 -07:00
tools Add SkRacy 2014-07-08 19:37:47 -07: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 Add common/ to .gitignore 2014-06-20 07:47:36 -07:00
AUTHORS MIPS: modified gypi files to support build 2014-06-06 14:09:12 -07:00
codereview.settings Add Project to skia 2014-06-20 09:39:15 -07:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Add sugoi@ to CQ_COMMITTERS. 2014-06-16 08:54:57 -07:00
DEPS Use new common tools in Python scripts 2014-06-25 11:13:27 -04:00
Doxyfile delete no-longer-used update-doxygen.sh 2014-05-15 14:41:00 +00:00
gyp_skia Fix Windows bots 2014-06-16 13:41: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 Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
make.py Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04: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 Use new common tools in Python scripts 2014-06-25 11:13:27 -04: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
SKP_VERSION Update SKP version to 45 2014-07-07 23:36:25 -07:00
whitespace.txt Whitespace change to test CQ 2014-06-30 06:46:58 -07: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