diff options
author | Mike Klein <mtklein@google.com> | 2014-07-16 14:19:54 -0400 |
---|---|---|
committer | Mike Klein <mtklein@google.com> | 2014-07-16 14:19:54 -0400 |
commit | 9d7321c9d0412779a29c4b09962e7ce12936bbc4 (patch) | |
tree | 1281fea427a0f3770e7e753a5980721f6bb942c4 /gm | |
parent | 720c66b81835ff45717d2437065733cc42f1d131 (diff) |
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
Diffstat (limited to 'gm')
-rw-r--r-- | gm/bitmapscroll.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |