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
11#include <memory>
12#include "src/gpu/GrColor.h"
13
14class GrDrawOp;
15class GrRecordingContext;
16
17class SkMatrix;
18class SkRRect;
19
20namespace GrShadowRRectOp {
21
22std::unique_ptr<GrDrawOp> Make(GrRecordingContext*,
23 GrColor,
24 const SkMatrix& viewMatrix,
25 const SkRRect&,
26 SkScalar blurWidth,
27 SkScalar insetWidth);
28} // namespace GrShadowRRectOp
29
30#endif
31