aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrRegionBatch.h
blob: d928d0a9cdd9f3c0ce983096dcb00f0b95384037 (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
/*
 * 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 GrRegionBatch_DEFINED
#define GrRegionBatch_DEFINED

#include "GrColor.h"

class GrDrawBatch;
class SkMatrix;
class SkRegion;

namespace GrRegionBatch {

GrDrawBatch* Create(GrColor color,
                    const SkMatrix& viewMatrix,
                    const SkRegion& region);

};

#endif