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:
parent
d4780e2eb8
commit
79841fe3cb
@ -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() ||
|
||||
|
Loading…
Reference in New Issue
Block a user