From 9d7321c9d0412779a29c4b09962e7ce12936bbc4 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 16 Jul 2014 14:19:54 -0400 Subject: Skip tiling on bitmapscroll: - off by exactly one pixel when using DirectWrite - also at least one pixel off on ChromeOS BUG=skia: R=bungeman@google.com Review URL: https://codereview.chromium.org/394243002 --- gm/bitmapscroll.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gm') diff --git a/gm/bitmapscroll.cpp b/gm/bitmapscroll.cpp index 426000f470..d38cbbe435 100644 --- a/gm/bitmapscroll.cpp +++ b/gm/bitmapscroll.cpp @@ -63,6 +63,10 @@ protected: return SkString("bitmapscroll"); } + virtual uint32_t onGetFlags() const SK_OVERRIDE { + return kSkipTiled_Flag; + } + virtual SkISize onISize() { return SkISize::Make(800, 600); } -- cgit v1.2.3