projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720c66b
)
Skip tiling on bitmapscroll:
author
Mike Klein
<mtklein@google.com>
Wed, 16 Jul 2014 18:19:54 +0000
(14:19 -0400)
committer
Mike Klein
<mtklein@google.com>
Wed, 16 Jul 2014 18:19:54 +0000
(14:19 -0400)
- 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
patch
|
blob
|
history
diff --git
a/gm/bitmapscroll.cpp
b/gm/bitmapscroll.cpp
index
426000f
..
d38cbbe
100644
(file)
--- 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);
}