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
This commit is contained in:
reed@google.com 2011-11-15 21:12:30 +00:00
parent d4780e2eb8
commit 79841fe3cb

View File

@ -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() ||