blob: 74a87afa30d96f42a2d0f52b8328a0867e4b79ab [file] [log] [blame]
Brian Salomonfc527d22016-12-14 21:07:01 -05001/*
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
Robert Phillipscadd5db2021-08-30 11:37:18 -04008#ifndef ShadowRRectOp_DEFINED
9#define ShadowRRectOp_DEFINED
Brian Salomonfc527d22016-12-14 21:07:01 -050010
Brian Salomon05969092017-07-13 11:20:51 -040011#include <memory>
Greg Danielf91aeb22019-06-18 09:58:02 -040012#include "src/gpu/GrColor.h"
Herb Derbyc76d4092020-10-07 16:46:15 -040013#include "src/gpu/ops/GrOp.h"
Brian Salomonfc527d22016-12-14 21:07:01 -050014
Robert Phillipsb97da532019-02-12 15:24:12 -050015class GrRecordingContext;
16
Brian Salomonfc527d22016-12-14 21:07:01 -050017class SkMatrix;
18class SkRRect;
Brian Salomonfc527d22016-12-14 21:07:01 -050019
Robert Phillipscadd5db2021-08-30 11:37:18 -040020namespace skgpu::v1::ShadowRRectOp {
Brian Salomonfc527d22016-12-14 21:07:01 -050021
Herb Derbyc76d4092020-10-07 16:46:15 -040022GrOp::Owner Make(GrRecordingContext*,
23 GrColor,
24 const SkMatrix& viewMatrix,
25 const SkRRect&,
26 SkScalar blurWidth,
27 SkScalar insetWidth);
Brian Salomonfc527d22016-12-14 21:07:01 -050028
Robert Phillipscadd5db2021-08-30 11:37:18 -040029} // namespace skgpu::v1::ShadowRRectOp
30
31#endif // ShadowRRectOp_DEFINED