• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
11 #include "include/private/gpu/ganesh/GrTypesPriv.h"
12 #include "src/gpu/ganesh/ops/GrOp.h"
13 
14 class GrPaint;
15 class GrRecordingContext;
16 struct GrUserStencilSettings;
17 class SkMatrix;
18 class SkRegion;
19 
20 namespace skgpu::v1::RegionOp {
21 
22 /** GrAAType must be kNone or kMSAA. */
23 GrOp::Owner Make(GrRecordingContext*,
24                  GrPaint&&,
25                  const SkMatrix& viewMatrix,
26                  const SkRegion&,
27                  GrAAType,
28                  const GrUserStencilSettings* stencilSettings = nullptr);
29 
30 } // namespace skgpu::v1::RegionOp
31 
32 #endif // RegionOp_DEFINED
33