• Home
  • Raw
  • Download

Lines Matching refs:viewMatrix

38                       const SkMatrix& viewMatrix,  in draw_mask()  argument
43 if (!viewMatrix.invert(&inverse)) { in draw_mask()
49 matrix.preConcat(viewMatrix); in draw_mask()
64 const SkMatrix& viewMatrix, in sw_draw_with_mask_filter() argument
89 viewMatrix.mapRect(&devBounds); in sw_draw_with_mask_filter()
93 if (!SkDraw::ComputeMaskBounds(devBounds, &clipBounds, filter, &viewMatrix, in sw_draw_with_mask_filter()
100 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter()
116 devPath.transform(viewMatrix); in sw_draw_with_mask_filter()
119 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter()
127 if (!as_MFB(filter)->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter()
168 return draw_mask(renderTargetContext, clipData, viewMatrix, drawRect, in sw_draw_with_mask_filter()
200 SkMatrix viewMatrix = origViewMatrix; in create_mask_GPU() local
201 viewMatrix.postTranslate(-SkIntToScalar(maskRect.fLeft), -SkIntToScalar(maskRect.fTop)); in create_mask_GPU()
202 rtContext->drawShape(clip, std::move(maskPaint), GrAA::kYes, viewMatrix, shape); in create_mask_GPU()
256 const SkMatrix& viewMatrix, in draw_shape_with_mask_filter() argument
265 SkScalar styleScale = GrStyle::MatrixToScaleFactor(viewMatrix); in draw_shape_with_mask_filter()
282 viewMatrix, in draw_shape_with_mask_filter()
293 viewMatrix, nullptr); in draw_shape_with_mask_filter()
296 if (!get_shape_and_clip_bounds(renderTargetContext, clip, *shape, viewMatrix, in draw_shape_with_mask_filter()
310 bool useCache = !inverseFilled && viewMatrix.preservesAxisAlignment() && in draw_shape_with_mask_filter()
318 viewMatrix, &clippedMaskRect); in draw_shape_with_mask_filter()
320 viewMatrix, &unClippedMaskRect); in draw_shape_with_mask_filter()
347 SkScalar sx = viewMatrix.get(SkMatrix::kMScaleX); in draw_shape_with_mask_filter()
348 SkScalar sy = viewMatrix.get(SkMatrix::kMScaleY); in draw_shape_with_mask_filter()
349 SkScalar kx = viewMatrix.get(SkMatrix::kMSkewX); in draw_shape_with_mask_filter()
350 SkScalar ky = viewMatrix.get(SkMatrix::kMSkewY); in draw_shape_with_mask_filter()
351 SkScalar tx = viewMatrix.get(SkMatrix::kMTransX); in draw_shape_with_mask_filter()
352 SkScalar ty = viewMatrix.get(SkMatrix::kMTransY); in draw_shape_with_mask_filter()
382 viewMatrix, in draw_shape_with_mask_filter()
403 viewMatrix, in draw_shape_with_mask_filter()
409 viewMatrix, in draw_shape_with_mask_filter()
420 if (draw_mask(renderTargetContext, clip, viewMatrix, in draw_shape_with_mask_filter()
429 sw_draw_with_mask_filter(context, renderTargetContext, clip, viewMatrix, *shape, in draw_shape_with_mask_filter()
438 const SkMatrix& viewMatrix, in drawShapeWithMaskFilter() argument
441 viewMatrix, as_MFB(mf), shape); in drawShapeWithMaskFilter()
448 const SkMatrix& viewMatrix, in drawShapeWithMaskFilter() argument
455 if (!SkPaintToGrPaint(context, renderTargetContext->colorSpaceInfo(), paint, viewMatrix, in drawShapeWithMaskFilter()
464 viewMatrix, mf, shape); in drawShapeWithMaskFilter()
467 renderTargetContext->drawShape(clip, std::move(grPaint), aa, viewMatrix, shape); in drawShapeWithMaskFilter()