From 34dc9a2dae8e9a5c4d3366a6957724e7289391e3 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 27 Sep 2012 15:46:45 +0000 Subject: 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 --- include/config/SkUserConfig.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/config') 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 -- cgit v1.2.3