• 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 ShadowRRectOp_DEFINED
9 #define ShadowRRectOp_DEFINED
10 
11 #include <memory>
12 #include "src/gpu/ganesh/GrColor.h"
13 #include "src/gpu/ganesh/ops/GrOp.h"
14 
15 class GrRecordingContext;
16 
17 class SkMatrix;
18 class SkRRect;
19 
20 namespace skgpu::v1::ShadowRRectOp {
21 
22 GrOp::Owner Make(GrRecordingContext*,
23                  GrColor,
24                  const SkMatrix& viewMatrix,
25                  const SkRRect&,
26                  SkScalar blurWidth,
27                  SkScalar insetWidth);
28 
29 } // namespace skgpu::v1::ShadowRRectOp
30 
31 #endif // ShadowRRectOp_DEFINED
32