xref: /aosp_15_r20/external/skia/src/gpu/ganesh/ops/FillRRectOp.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 /*
2  * Copyright 2018 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 FillRRectOp_DEFINED
9 #define FillRRectOp_DEFINED
10 
11 #include "src/gpu/ganesh/ops/GrOp.h"
12 
13 class GrPaint;
14 class GrRecordingContext;
15 class SkArenaAlloc;
16 class SkMatrix;
17 class SkRRect;
18 enum class GrAA : bool;
19 struct SkRect;
20 
21 namespace skgpu::ganesh::FillRRectOp {
22 
23 GrOp::Owner Make(GrRecordingContext*,
24                  SkArenaAlloc*,
25                  GrPaint&&,
26                  const SkMatrix& viewMatrix,
27                  const SkRRect&,
28                  const SkRect& localRect,
29                  GrAA);
30 
31 GrOp::Owner Make(GrRecordingContext*,
32                  SkArenaAlloc*,
33                  GrPaint&&,
34                  const SkMatrix& viewMatrix,
35                  const SkRRect&,
36                  const SkMatrix& localMatrix,
37                  GrAA);
38 
39 }  // namespace skgpu::ganesh::FillRRectOp
40 
41 #endif // FillRRectOp_DEFINED
42