• Home
  • Raw
  • Download

Lines Matching refs:sdc

45 static bool draw_mask(skgpu::v1::SurfaceDrawContext* sdc,  in draw_mask()  argument
64 sdc->fillPixelsWithLocalMatrix(clip, std::move(paint), maskBounds, inverse); in draw_mask()
208 auto sdc = skgpu::v1::SurfaceDrawContext::MakeWithFallback(rContext, in create_mask_GPU() local
218 if (!sdc) { in create_mask_GPU()
222 sdc->clear(SK_PMColor4fTRANSPARENT); in create_mask_GPU()
228 GrFixedClip clip(sdc->dimensions(), SkIRect::MakeWH(maskRect.width(), maskRect.height())); in create_mask_GPU()
234 sdc->drawShape(&clip, std::move(maskPaint), GrAA::kYes, viewMatrix, GrStyledShape(shape)); in create_mask_GPU()
235 return sdc; in create_mask_GPU()
265 static bool get_shape_and_clip_bounds(skgpu::v1::SurfaceDrawContext* sdc, in get_shape_and_clip_bounds() argument
273 : SkIRect::MakeWH(sdc->width(), sdc->height()); in get_shape_and_clip_bounds()
371 skgpu::v1::SurfaceDrawContext* sdc, in hw_create_filtered_mask() argument
424 sdc->numSamples())); in hw_create_filtered_mask()
465 skgpu::v1::SurfaceDrawContext* sdc, in draw_shape_with_mask_filter() argument
490 if (maskFilter->directFilterMaskGPU(rContext, sdc, std::move(paint), clip, in draw_shape_with_mask_filter()
503 if (!get_shape_and_clip_bounds(sdc, clip, *shape, viewMatrix, in draw_shape_with_mask_filter()
514 sdc->caps(), in draw_shape_with_mask_filter()
526 filteredMaskView = hw_create_filtered_mask(dContext, sdc, in draw_shape_with_mask_filter()
531 if (draw_mask(sdc, clip, viewMatrix, maskRect, std::move(paint), in draw_shape_with_mask_filter()
546 if (draw_mask(sdc, clip, viewMatrix, maskRect, std::move(paint), in draw_shape_with_mask_filter()
555 skgpu::v1::SurfaceDrawContext* sdc, in drawShapeWithMaskFilter() argument
561 draw_shape_with_mask_filter(rContext, sdc, clip, std::move(paint), in drawShapeWithMaskFilter()
566 skgpu::v1::SurfaceDrawContext* sdc, in drawShapeWithMaskFilter() argument
576 if (!SkPaintToGrPaint(rContext, sdc->colorInfo(), paint, matrixProvider, &grPaint)) { in drawShapeWithMaskFilter()
584 draw_shape_with_mask_filter(rContext, sdc, clip, std::move(grPaint), viewMatrix, mf, shape); in drawShapeWithMaskFilter()
586 sdc->drawShape(clip, std::move(grPaint), sdc->chooseAA(paint), viewMatrix, in drawShapeWithMaskFilter()