Lines Matching refs:maskRect
738 bool draw_mask(GrContext* context, const SkRect& maskRect, in draw_mask() argument
746 matrix.setTranslate(-maskRect.fLeft, -maskRect.fTop); in draw_mask()
750 context->drawRect(*grp, maskRect); in draw_mask()
794 SkRect maskRect = SkRect::Make(dstM.fBounds); in draw_with_mask_filter() local
796 return draw_mask(context, maskRect, grp, texture); in draw_with_mask_filter()
802 const SkRect& maskRect, in create_mask_GPU() argument
809 desc.fWidth = SkScalarCeilToInt(maskRect.width()); in create_mask_GPU()
810 desc.fHeight = SkScalarCeilToInt(maskRect.height()); in create_mask_GPU()
824 SkRect clipRect = SkRect::MakeWH(maskRect.width(), maskRect.height()); in create_mask_GPU()
847 translate.setTranslate(-maskRect.fLeft, -maskRect.fTop); in create_mask_GPU()
920 SkRect maskRect; in drawPath() local
924 &maskRect)) { in drawPath()
926 maskRect.roundOut(&finalIRect); in drawPath()
938 if (create_mask_GPU(fContext, maskRect, *devPathPtr, stroke, in drawPath()
942 … if (paint.getMaskFilter()->filterMaskGPU(mask.texture(), maskRect, &filtered, true)) { in drawPath()
954 if (draw_mask(fContext, maskRect, &grPaint, filtered)) { in drawPath()