8#ifndef SoftwarePathRenderer_DEFINED
9#define SoftwarePathRenderer_DEFINED
24 const char*
name()
const override {
return "SW"; }
27 : fProxyProvider(proxyProvider)
28 , fAllowCaching(allowCaching) {
35 SkIRect* unclippedDevShapeBounds,
64 const SkIPoint& textureOriginInDeviceSpace,
65 const SkIRect& deviceSpaceRectToDraw);
71 CanDrawPath onCanDrawPath(
const CanDrawPathArgs&)
const override;
73 bool onDrawPath(
const DrawPathArgs&)
override;
@ kNoSupport_StencilSupport
const char * name() const override
SoftwarePathRenderer(GrProxyProvider *proxyProvider, bool allowCaching)
static bool GetShapeAndClipBounds(SurfaceDrawContext *, const GrClip *, const GrStyledShape &, const SkMatrix &viewMatrix, SkIRect *unclippedDevShapeBounds, SkIRect *clippedDevShapeBounds, SkIRect *devClipBounds)
sk_sp< SkBlender > blender SkRect rect