aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-27 15:46:45 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-27 15:46:45 +0000
commit34dc9a2dae8e9a5c4d3366a6957724e7289391e3 (patch)
treee8c9ddd62946d4ea7728195d2dd8c2a5e28cf597 /include/config
parente229e92ea51e9bc7c11033e2099d3ef275621115 (diff)
allow chrome to use old drawBitmapRect beahvior for now, using SK_SUPPORT_INT_SRCRECT_DRAWBITMAPRECT
git-svn-id: http://skia.googlecode.com/svn/trunk@5710 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/config')
-rw-r--r--include/config/SkUserConfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index 353272c8bc..93dda7090d 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -140,6 +140,12 @@
*/
#define SK_ALLOW_OVER_32K_BITMAPS
+/**
+ * To revert to int-only srcrect behavior in drawBitmapRect(ToRect),
+ * define this symbol.
+ */
+//#define SK_SUPPORT_INT_SRCRECT_DRAWBITMAPRECT
+
/* Define this to set the upper limit for text to support LCD. Values that
are very large increase the cost in the font cache and draw slower, without
improving readability. If this is undefined, Skia will use its default