aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrShadowRRectOp.h
blob: 50e0102c1a8d27c6e6b27819454d025a65b5efea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef GrShadowRRectOp_DEFINED
#define GrShadowRRectOp_DEFINED

#include "GrColor.h"
#include "SkRefCnt.h"

class GrDrawOp;
class GrShaderCaps;
class SkMatrix;
class SkRRect;
class SkStrokeRec;

namespace GrShadowRRectOp {

std::unique_ptr<GrDrawOp> Make(GrColor, const SkMatrix& viewMatrix, const SkRRect& rrect,
                               const SkScalar blurRadius, const SkStrokeRec& stroke,
                               const GrShaderCaps* shaderCaps);
}

#endif