aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImageFilter.h
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2014-11-20 10:44:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-20 10:44:58 -0800
commit2d97bc139a7de5813468bd3dbfd0037351ae5606 (patch)
treeafc63f2cb5cfaf55d4b2588963fc3b91673c5786 /include/core/SkImageFilter.h
parentd6ab2a8e45f6c473c076a828aa401919d7519d05 (diff)
Disable LCD text explicitly in SkPictureImageFilter::onFilterImage()
As an intermediate fix for https://code.google.com/p/skia/issues/detail?id=3142, we can use a non-public SkCanvas constructor and force-disable LCD text. BUG=skia:3142 R=reed@google.com,senorblanco@google.com Review URL: https://codereview.chromium.org/725243004
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r--include/core/SkImageFilter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 9f17f814d5..23456d31f9 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -16,6 +16,7 @@
class SkBitmap;
class SkColorFilter;
class SkBaseDevice;
+class SkSurfaceProps;
struct SkIPoint;
class GrFragmentProcessor;
class GrTexture;
@@ -87,6 +88,7 @@ public:
virtual bool filterImage(const SkImageFilter*, const SkBitmap& src,
const Context&,
SkBitmap* result, SkIPoint* offset) = 0;
+ virtual const SkSurfaceProps* surfaceProps() const = 0;
};
/**