Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
skgpu::ganesh::RegionOp Namespace Reference

Functions

GrOp::Owner Make (GrRecordingContext *context, GrPaint &&paint, const SkMatrix &viewMatrix, const SkRegion &region, GrAAType aaType, const GrUserStencilSettings *stencilSettings)
 

Function Documentation

◆ Make()

GrOp::Owner skgpu::ganesh::RegionOp::Make ( GrRecordingContext ,
GrPaint &&  ,
const SkMatrix viewMatrix,
const SkRegion ,
GrAAType  ,
const GrUserStencilSettings stencilSettings = nullptr 
)

GrAAType must be kNone or kMSAA.

Definition at line 204 of file RegionOp.cpp.

209 {
210 if (aaType != GrAAType::kNone && aaType != GrAAType::kMSAA) {
211 return nullptr;
212 }
213 return RegionOpImpl::Make(context, std::move(paint), viewMatrix, region, aaType,
214 stencilSettings);
215}
const Paint & paint