aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-28 22:19:22 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-28 22:19:22 +0000
commit9d0d195ca4ca2488e9999397670387c7a454d8b8 (patch)
treef68a8a7540b824e58827d436ec064b63379bede1 /include/config
parent16be6b8fdfa625b36964fd8150ab1a6b1e3a56bd (diff)
update dox on bitmap configs
document testing build-flag for large bitmaps git-svn-id: http://skia.googlecode.com/svn/trunk@744 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/config')
-rw-r--r--include/config/SkUserConfig.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index a2df7456e3..c0bbb4be49 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -18,18 +18,18 @@
#define SkUserConfig_DEFINED
/* SkTypes.h, the root of the public header files, does the following trick:
-
+
#include "SkPreConfig.h"
#include "SkUserConfig.h"
#include "SkPostConfig.h"
-
+
SkPreConfig.h runs first, and it is responsible for initializing certain
skia defines.
-
+
SkPostConfig.h runs last, and its job is to just check that the final
defines are consistent (i.e. that we don't have mutually conflicting
defines).
-
+
SkUserConfig.h (this file) runs in the middle. It gets to change or augment
the list of flags initially set in preconfig, and then postconfig checks
that everything still makes sense.
@@ -71,7 +71,7 @@
parameter checking, but sometimes it can be quite intrusive (e.g. check that
each 32bit pixel is in premultiplied form). This code can be very useful
during development, but will slow things down in a shipping product.
-
+
By default, these mutually exclusive flags are defined in SkPreConfig.h,
based on the presence or absence of NDEBUG, but that decision can be changed
here.
@@ -123,6 +123,11 @@
*/
//#define SK_ZLIB_INCLUDE <zlib.h>
+/* Define this to remove dimension checks on bitmaps. Not all blits will be
+ correct yet, so this is mostly for debugging the implementation.
+ */
+//#define SK_ALLOW_OVER_32K_BITMAPS
+
/* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST
which will run additional self-tests at startup. These can take a long time,
so this flag is optional.