diff options
author | 2014-11-20 10:44:58 -0800 | |
---|---|---|
committer | 2014-11-20 10:44:58 -0800 | |
commit | 2d97bc139a7de5813468bd3dbfd0037351ae5606 (patch) | |
tree | afc63f2cb5cfaf55d4b2588963fc3b91673c5786 /src/gpu/SkGpuDevice.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 'src/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index ef31276d49..bb6cb487b0 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h @@ -202,6 +202,10 @@ private: bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); + bool filterTexture(GrContext*, GrTexture*, const SkImageFilter*, + const SkImageFilter::Context&, + SkBitmap* result, SkIPoint* offset); + static SkPicture::AccelData::Key ComputeAccelDataKey(); typedef SkBaseDevice INHERITED; |