Lines Matching defs:paint
102 static bool paintIsDefault(const SkPaint& paint) {
103 return paint.getAlpha() == 255
104 && paint.getColorFilter() == nullptr
105 && paint.getShader() == nullptr;
119 * important to consider all paint attributes used in the draw calls in deciding both a) if an
131 if (!isTextBatch || PaintUtils::hasTextShadow(op->op->paint)) {
169 const SkPaint* newPaint = op->op->paint;
170 const SkPaint* oldPaint = mOps[0]->op->paint;
173 // if paints are equal, then modifiers + paint attribs don't need to be compared
227 // of the same batch/paint could swap order, such as with a non-mergeable
276 SkPaint* paint = allocator.create<SkPaint>();
277 paint->setBlendMode(SkBlendMode::kClear);
279 Matrix4::identity(), nullptr, paint,