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:
91cab83
)
On Android, skip tiling for all giantbitmap variants.
author
mtklein
<mtklein@chromium.org>
Wed, 3 Sep 2014 20:22:46 +0000
(13:22 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 3 Sep 2014 20:22:46 +0000
(13:22 -0700)
BUG=skia:
R=djsollen@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/
537693002
gm/giantbitmap.cpp
patch
|
blob
|
history
diff --git
a/gm/giantbitmap.cpp
b/gm/giantbitmap.cpp
index
1a78fcf
..
de908fe
100644
(file)
--- a/
gm/giantbitmap.cpp
+++ b/
gm/giantbitmap.cpp
@@
-72,10
+72,14
@@
public:
protected:
virtual uint32_t onGetFlags() const SK_OVERRIDE {
+#ifdef SK_BUILD_FOR_ANDROID
+ return kSkipTiled_Flag;
+#else
if (fDoFilter && fDoRotate && fMode != SkShader::kClamp_TileMode) {
return kSkipTiled_Flag;
}
return 0;
+#endif
}
virtual SkString onShortName() {