aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkTextureCompressor_Blitter.h
diff options
context:
space:
mode:
authorGravatar krajcevski <krajcevski@google.com>2014-08-12 12:48:18 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-12 12:48:18 -0700
commitd211c547cbe49d824e4923933e8a4955e6c65e37 (patch)
treefe8fbaac33d8af6eedc5d8b5cdd8cf9415deb08e /src/utils/SkTextureCompressor_Blitter.h
parent9f49cfdbf6493b953775890d7f9c97a1dce0d341 (diff)
Turn off pedantic blit rect
R=robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/460253003
Diffstat (limited to 'src/utils/SkTextureCompressor_Blitter.h')
-rw-r--r--src/utils/SkTextureCompressor_Blitter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/SkTextureCompressor_Blitter.h b/src/utils/SkTextureCompressor_Blitter.h
index 3bf10491b6..beffbfca52 100644
--- a/src/utils/SkTextureCompressor_Blitter.h
+++ b/src/utils/SkTextureCompressor_Blitter.h
@@ -27,7 +27,10 @@ namespace SkTextureCompressor {
// the standard blitAntiH. As a result, we can just call blitAntiH with a faux RLE
// of full alpha values, and then check in our flush() call that we don't run off the
// edge of the buffer. This is why we do not need this flag to be turned on.
-#define PEDANTIC_BLIT_RECT 1
+//
+// NOTE: This code is unfinished, but is inteded as a starting point if an when
+// bugs are introduced from the existing code.
+#define PEDANTIC_BLIT_RECT 0
// This class implements a blitter that blits directly into a buffer that will
// be used as an compressed alpha texture. We compute this buffer by