From: krajcevski Date: Tue, 12 Aug 2014 19:48:18 +0000 (-0700) Subject: Turn off pedantic blit rect X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~6340 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d211c547cbe49d824e4923933e8a4955e6c65e37;p=platform%2Fupstream%2FlibSkiaSharp.git Turn off pedantic blit rect R=robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/460253003 --- 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