Flutter Engine
The Flutter Engine
RegionOp.h
Go to the documentation of this file.
1/*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef RegionOp_DEFINED
9#define RegionOp_DEFINED
10
13
14class GrPaint;
17class SkMatrix;
18class SkRegion;
19
21
22/** GrAAType must be kNone or kMSAA. */
24 GrPaint&&,
25 const SkMatrix& viewMatrix,
26 const SkRegion&,
28 const GrUserStencilSettings* stencilSettings = nullptr);
29
30} // namespace skgpu::ganesh::RegionOp
31
32#endif // RegionOp_DEFINED
GrAAType
Definition: GrTypesPriv.h:200
std::unique_ptr< GrOp > Owner
Definition: GrOp.h:72
GrOp::Owner Make(GrRecordingContext *context, GrPaint &&paint, const SkMatrix &viewMatrix, const SkRegion &region, GrAAType aaType, const GrUserStencilSettings *stencilSettings)
Definition: RegionOp.cpp:204