Flutter Engine
The Flutter Engine
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
Definition: color_source.cc:38
ClipOpAndAA opAA SkRegion region
Definition: SkRecords.h:238
GrOp::Owner Make(GrRecordingContext *context, GrPaint &&paint, const SkMatrix &viewMatrix, const SkRegion &region, GrAAType aaType, const GrUserStencilSettings *stencilSettings)
Definition: RegionOp.cpp:204