diff options
author | 2016-12-14 21:07:01 -0500 | |
---|---|---|
committer | 2016-12-15 14:40:59 +0000 | |
commit | fc527d27641bb693a0a7703ba9d35100f7500fd7 (patch) | |
tree | 5cb9eb7c5fd6304ca7f98cfe9301b4c36f2fa5f6 /src/gpu/batches/GrRegionOp.h | |
parent | ebccb82680fc13cc92d9051e8520de6b460df074 (diff) |
Even more batch->op and sk_sp'ification.
Change-Id: I9930381465ebad690206e2251171004f9579fbcd
Reviewed-on: https://skia-review.googlesource.com/6100
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/batches/GrRegionOp.h')
-rw-r--r-- | src/gpu/batches/GrRegionOp.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gpu/batches/GrRegionOp.h b/src/gpu/batches/GrRegionOp.h new file mode 100644 index 0000000000..24230604ba --- /dev/null +++ b/src/gpu/batches/GrRegionOp.h @@ -0,0 +1,22 @@ +/* + * 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 GrRegionOp_DEFINED +#define GrRegionOp_DEFINED + +#include "GrColor.h" +#include "SkRefCnt.h" + +class GrDrawOp; +class SkMatrix; +class SkRegion; + +namespace GrRegionOp { +sk_sp<GrDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, const SkRegion& region); +} + +#endif |