aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrRegionOp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrRegionOp.h')
-rw-r--r--src/gpu/ops/GrRegionOp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gpu/ops/GrRegionOp.h b/src/gpu/ops/GrRegionOp.h
new file mode 100644
index 0000000000..24230604ba
--- /dev/null
+++ b/src/gpu/ops/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