Lines Matching refs:clip
199 && this->clip == that.clip
223 sk_sp<SkShader> clip) {
282 std::move(clip),
370 if (params.clip) {
371 skvm::Color clip = as_SB(params.clip)->program(p, device, /*local=*/device, paint,
374 SkAssertResult(clip);
375 cov.r *= clip.a; // We use the alpha channel of clip for all four.
376 cov.g *= clip.a;
377 cov.b *= clip.a;
378 cov.a *= clip.a;
466 // Use this builder for shader, clip and blender, so that color objects that pass
480 // Calculate a hash for the clip shader, if one exists.
482 if (params.clip) {
484 clipHash = hash_shader(p, params.clip, &cov);
533 sk_sp<SkShader> clip,
539 , fParams(EffectiveParams(device, sprite, paint, matrices, std::move(clip)))
575 key.clip,
687 void SkVMBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
689 return SkBlitter::blitMask(mask, clip);
720 for (int y = clip.top(); y < clip.bottom(); y++) {
721 int x = clip.left(),
722 w = clip.width();
753 sk_sp<SkShader> clip) {
756 device, paint, /*sprite=*/nullptr, SkIPoint{0,0}, matrices, std::move(clip), &ok);
765 sk_sp<SkShader> clip) {
773 SkSimpleMatrixProvider{SkMatrix{}}, std::move(clip), &ok);