Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 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 GrShadowRRectOp_DEFINED |
| 9 | #define GrShadowRRectOp_DEFINED |
| 10 | |
Brian Salomon | 0596909 | 2017-07-13 11:20:51 -0400 | [diff] [blame] | 11 | #include <memory> |
Greg Daniel | f91aeb2 | 2019-06-18 09:58:02 -0400 | [diff] [blame] | 12 | #include "src/gpu/GrColor.h" |
Herb Derby | c76d409 | 2020-10-07 16:46:15 -0400 | [diff] [blame^] | 13 | #include "src/gpu/ops/GrOp.h" |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 14 | |
Brian Salomon | 0596909 | 2017-07-13 11:20:51 -0400 | [diff] [blame] | 15 | class GrDrawOp; |
Robert Phillips | b97da53 | 2019-02-12 15:24:12 -0500 | [diff] [blame] | 16 | class GrRecordingContext; |
| 17 | |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 18 | class SkMatrix; |
| 19 | class SkRRect; |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 20 | |
| 21 | namespace GrShadowRRectOp { |
| 22 | |
Herb Derby | c76d409 | 2020-10-07 16:46:15 -0400 | [diff] [blame^] | 23 | GrOp::Owner Make(GrRecordingContext*, |
| 24 | GrColor, |
| 25 | const SkMatrix& viewMatrix, |
| 26 | const SkRRect&, |
| 27 | SkScalar blurWidth, |
| 28 | SkScalar insetWidth); |
John Stiles | a6841be | 2020-08-06 14:11:56 -0400 | [diff] [blame] | 29 | } // namespace GrShadowRRectOp |
Brian Salomon | fc527d2 | 2016-12-14 21:07:01 -0500 | [diff] [blame] | 30 | |
| 31 | #endif |