blob: be5557c3fa182c8adc3ae6e43ec62c5d4f72f027 [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
8#ifndef GrShadowRRectOp_DEFINED
9#define GrShadowRRectOp_DEFINED
10
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
Brian Salomon05969092017-07-13 11:20:51 -040015class GrDrawOp;
Robert Phillipsb97da532019-02-12 15:24:12 -050016class GrRecordingContext;
17
Brian Salomonfc527d22016-12-14 21:07:01 -050018class SkMatrix;
19class SkRRect;
Brian Salomonfc527d22016-12-14 21:07:01 -050020
21namespace GrShadowRRectOp {
22
Herb Derbyc76d4092020-10-07 16:46:15 -040023GrOp::Owner Make(GrRecordingContext*,
24 GrColor,
25 const SkMatrix& viewMatrix,
26 const SkRRect&,
27 SkScalar blurWidth,
28 SkScalar insetWidth);
John Stilesa6841be2020-08-06 14:11:56 -040029} // namespace GrShadowRRectOp
Brian Salomonfc527d22016-12-14 21:07:01 -050030
31#endif