aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-12 11:59:41 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-12 11:59:41 +0000
commit7abfa49390bac6c07161435324ba5f2d3b270635 (patch)
tree5bfe9537f724e5907682d7e05c4f6f38a090958b /include/core
parent4674676438051c31a991fdab72efea3c7d0ca5a3 (diff)
turn on pathops unit test
This temporarily disables SK_ENABLE_INST_COUNT ( skbug.com/1219 ) This fixes a linktime error on VS2012 in PathTest.cpp; -SK_ScalarInfinity should be SK_ScalarNegativeInfinity instead. This adds pathops and pathops unit tests to the main unit tests. Should this change destabilize anything, it should be sufficient to comment out the pathops gypi includes. at test.gyp:18,21. Review URL: https://codereview.chromium.org/14137010 git-svn-id: http://skia.googlecode.com/svn/trunk@8644 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPostConfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index c75356155b..86393ed446 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -115,7 +115,8 @@
// SK_ENABLE_INST_COUNT defaults to 1 in DEBUG and 0 in RELEASE
#ifndef SK_ENABLE_INST_COUNT
#ifdef SK_DEBUG
- #define SK_ENABLE_INST_COUNT 1
+ // FIXME: fails if multiple threads run at once (see skbug.com/1219 )
+ #define SK_ENABLE_INST_COUNT 0
#else
#define SK_ENABLE_INST_COUNT 0
#endif