Lines Matching refs:clip
47 const GrClip* clip,
65 sdc->fillPixelsWithLocalMatrix(clip, std::move(paint), maskBounds, inverse);
156 // the current clip (and identity matrix) and GrPaint settings
233 // setup new clip
234 GrFixedClip clip(sdc->dimensions(), SkIRect::MakeWH(maskRect.width(), maskRect.height()));
240 sdc->drawShape(&clip, std::move(maskPaint), GrAA::kYes, viewMatrix, GrStyledShape(shape));
252 // Even though these are "unclipped" bounds we still clip to the int32_t range.
269 // Gets the shape bounds, the clip bounds, and the intersection (if any). Returns false if there
272 const GrClip* clip,
277 // compute bounds as intersection of rt size, clip, and path
278 *devClipBounds = clip ? clip->getConservativeBounds()
289 // The key and clip-bounds are computed together because the caching decision can impact the
290 // clip-bound - since we only cache un-clipped masks the clip can be removed entirely.
330 // Make the clip not affect the mask
495 const GrClip* clip,
521 if (!canUseSDFBlur && maskFilter->directFilterMaskGPU(rContext, sdc, std::move(paint), clip,
542 if (!get_shape_and_clip_bounds(sdc, clip, *shape, canUseSDFBlur ? matrixScale : viewMatrix,
573 draw_mask(sdc, clip, viewMatrix, maskRect, std::move(paint), std::move(filteredMaskView))) {
578 SDFBlur::drawMaskSDFBlur(rContext, sdc, clip, viewMatrix, maskRect, std::move(paint),
599 if (draw_mask(sdc, clip, viewMatrix, maskRect, std::move(paint), std::move(filteredMaskView))) {
608 const GrClip* clip,
613 draw_shape_with_mask_filter(rContext, sdc, clip, std::move(paint),
619 const GrClip* clip,
636 draw_shape_with_mask_filter(rContext, sdc, clip, std::move(grPaint), viewMatrix, mf, shape);
638 sdc->drawShape(clip, std::move(grPaint), sdc->chooseAA(paint), viewMatrix,