From d211c547cbe49d824e4923933e8a4955e6c65e37 Mon Sep 17 00:00:00 2001 From: krajcevski Date: Tue, 12 Aug 2014 12:48:18 -0700 Subject: [PATCH] Turn off pedantic blit rect R=robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/460253003 --- src/utils/SkTextureCompressor_Blitter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/SkTextureCompressor_Blitter.h b/src/utils/SkTextureCompressor_Blitter.h index 3bf1049..beffbfc 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 -- 2.7.4