blob: 24230604ba74236c4b4af3aa485934789f22dac5 [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 GrRegionOp_DEFINED
9#define GrRegionOp_DEFINED
10
11#include "GrColor.h"
12#include "SkRefCnt.h"
13
14class GrDrawOp;
15class SkMatrix;
16class SkRegion;
17
18namespace GrRegionOp {
19sk_sp<GrDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, const SkRegion& region);
20}
21
22#endif