• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 GrRegionOp_DEFINED
9 #define GrRegionOp_DEFINED
10 
11 #include "GrColor.h"
12 #include "SkRefCnt.h"
13 
14 class GrMeshDrawOp;
15 class SkMatrix;
16 class SkRegion;
17 
18 namespace GrRegionOp {
19 std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix,
20                                    const SkRegion& region);
21 }
22 
23 #endif
24