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 "GrColor.h" 12 #include "SkRefCnt.h" 13 14 class GrMeshDrawOp; 15 class GrShaderCaps; 16 class SkMatrix; 17 class SkRRect; 18 class SkStrokeRec; 19 20 namespace GrShadowRRectOp { 21 22 std::unique_ptr<GrMeshDrawOp> Make(GrColor, const SkMatrix& viewMatrix, const SkRRect& rrect, 23 const SkScalar blurRadius, const SkStrokeRec& stroke, 24 const GrShaderCaps* shaderCaps); 25 } 26 27 #endif 28