Lines Matching refs:paint
15 bool isPaintOpaque(const SkPaint* paint, in isPaintOpaque() argument
20 if (!paint) { in isPaintOpaque()
25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){ in isPaintOpaque()
34 if (paint->getAlpha() != 255) { in isPaintOpaque()
41 } else if (paint->getShader() && !paint->getShader()->isOpaque()) { in isPaintOpaque()
44 if (paint->getColorFilter() && in isPaintOpaque()
45 ((paint->getColorFilter()->getFlags() & in isPaintOpaque()
51 if (paint->getAlpha() != 0) { in isPaintOpaque()
54 if (paint->getColorFilter() && in isPaintOpaque()
55 ((paint->getColorFilter()->getFlags() & in isPaintOpaque()
61 if (paint->getColor() != 0) { // all components must be 0 in isPaintOpaque()
64 if (bmpReplacesShader || paint->getShader()) { in isPaintOpaque()
67 if (paint->getColorFilter() && ( in isPaintOpaque()
68 (paint->getColorFilter()->getFlags() & in isPaintOpaque()