diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-11-15 21:12:30 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-11-15 21:12:30 +0000 |
commit | 79841fe3cbb994c027b98dc402a1cf1b4b94e34a (patch) | |
tree | 40668516a068a3be9e3518dc21c2bd9b37bff7aa /src/core | |
parent | d4780e2eb8750a15ef8a43dd36b60fa348baac69 (diff) |
disable reduced checks if we're not enabling fast shadermask
git-svn-id: http://skia.googlecode.com/svn/trunk@2692 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkDevice.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index a696def721..e309097acf 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -373,6 +373,11 @@ bool SkDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) { } if (SkBitmap::kARGB_8888_Config != fBitmap.config() || +#ifndef SK_ENABLE_FAST_SHADERMASK + paint.getShader() || + paint.getMaskFilter() || + paint.getColorFilter() || +#endif !isSrcOver(paint.getXfermode()) || paint.getRasterizer() || paint.getPathEffect() || |