diff options
author | 2014-11-20 10:44:58 -0800 | |
---|---|---|
committer | 2014-11-20 10:44:58 -0800 | |
commit | 2d97bc139a7de5813468bd3dbfd0037351ae5606 (patch) | |
tree | afc63f2cb5cfaf55d4b2588963fc3b91673c5786 /include/core/SkImageFilter.h | |
parent | d6ab2a8e45f6c473c076a828aa401919d7519d05 (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.h | 2 |
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; }; /** |